PDA

View Full Version : CuteNews



.-richie-.
29-10-2006, 02:53 PM
Hey. I'm having a few problems with cutenews. I have a website www.habbo-plasto.com (http://www.habbo-plasto.com) and I need help with getting cutenews in the template boxes. I'm not sure how to have separate content because when I put it onto my site it comes up with the same content for every page. Dose anyone know how I would get cutenews to have separate content for different pages.. Would I need to have loads of cutenewses?

Please help Tyvm ;]

Mentor
29-10-2006, 02:55 PM
What is it that makes it impossible for cutenews users to read the readme file? Since the Readme file exsplains this in GREAT detail, thats pretty much idiot proof? The content theres better than your gona get on this forum on how to do it "/

.-richie-.
29-10-2006, 03:14 PM
The read me file is on http://www.habbo-plasto.com/CuteNews/cutenews/README.htm and I do not get one bit of it.. These codes make no sence to me can you please help?

Tyvm

D351royer
29-10-2006, 03:16 PM
<?PHP
include("path/to/show_news.php");
?>


Showing with Different Template

<?PHP
$template = "YOUR_TEMPLATE_NAME";
include("path/to/show_news.php");
?>

Showing Archives

<?PHP
include("path/to/show_archives.php");
?>

Showing 5 Latest News

<?PHP
$number = "5";
include("path/to/show_news.php");
?>

Showing 5 News from Category with ID 2

<?PHP
$number = "5";
$category = "2";
include("path/to/show_news.php");
?>

Showing All Headlines And The 1 Latest News Article On One Page

<?PHP
$static = TRUE;
$template = "Headlines";
include("path/to/show_news.php");

$number = "1";
include("path/to/show_news.php");
?>


Enter any of those onto the page you want to do it and put it into the code that was taken from cutenews readme.

.-richie-.
29-10-2006, 03:19 PM
Yea I have staff on my website and i want them to put content onto cutenews and it to appear on the correct page say they were wanting to add news to the news page how could they get it onto the news page because right now everything is on the one page how do you separate it?

uber
29-10-2006, 03:24 PM
Use the code to show news from catagories.

God if you can't work that out you need a doctor

Want to hide these adverts? Register an account for free!