Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie
Hi all! We have been experiencing an issue on site where threads have been missing the latest postings. The platform host Vanilla are working on this issue. A workaround that has been used by some is to navigate back a page or two to re-sync the thread and this will then show latest posts. Thanks, Mike.

suggestions need for adding news to a website

  • 21-02-2008 12:44pm
    #1
    Registered Users, Registered Users 2 Posts: 5,356 ✭✭✭


    Hi all,

    let me explain what i've been doing, If you look here
    http://www.avi.ie

    the way they wanted the news is as follows

    Headlines of the news appears on the Left, as you can see.
    there is the news page http://www.avi.ie/news.php

    where there is a bigger headline with more info,

    Then there are the full news pages http://www.avi.ie/bdplx70.php heres just 1 of them

    Now i have to make all those pages 1 by 1 and every part... takes a while..

    what i wanted to try make is a page like this

    http://www.davidstokes.com/work/news1.html

    I want to just file in these 3 areas hit the send news button and the news posts up in the places i want lol..

    I want to try this myself. Any pointers would be great?


Comments

  • Registered Users, Registered Users 2 Posts: 597 ✭✭✭yeraulone


    You'll need to write your news stories to a database or file system (like .txt files) using a scripting language like php/asp.net.

    heres a tutorial that shows you how to create a basic news system using php and .txt files.


  • Registered Users, Registered Users 2 Posts: 5,356 ✭✭✭NeVeR


    i will give that a try. Looks nice.

    It might not work as i need the new to appear in 3 places, But i might be able to adapt it.

    Thanks.


  • Registered Users, Registered Users 2 Posts: 4,479 ✭✭✭wheres me jumpa


    Well once the news is in the DB you can output the info to as many places as you like.


  • Registered Users, Registered Users 2 Posts: 5,517 ✭✭✭axer


    Id say you would be better off using a database to store the news than files.

    A quick search in sourceforge brings up these:
    http://sourceforge.net/search/?type_of_search=soft&type_of_search=soft&words=news+php
    hotscripts:
    http://www.hotscripts.com/search?q=news+mysql&cat=PHP&imageField.x=0&imageField.y=0
    You are bound to find one that suits amongst all of those - at least one that can be customised easier than the txt solution.


  • Registered Users, Registered Users 2 Posts: 68,317 ✭✭✭✭seamus


    I built a simple news system for a website.

    Basically provided the user with an input box using FCKEditor. Then they can specify a title for the news items as well as start date and end dates.

    Then when showing the news, you just pull all news items from the database that have NOW() BETWEEN start_date AND end_date

    I've attached a shot of what it looks like. Tis very basic, for a very basic user :)

    The "Link to" allows them to add a link to part of their site at the bottom of the article. That funky calendar bit is this datechooser:
    http://www.xaprb.com/blog/2005/09/29/javascript-date-chooser/

    Although there are nicer similar scripts out there.


  • Advertisement
Advertisement