templates and cutenews

swirly

Active Member
Messages
1,930
Reaction score
0
Points
36
i think that i can use my own template i already have in cute news..but i cant figure it out...


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

it gives me that code...so how do i do it exactly?do i just change the code to fit the paths od my template etc?
 

randomize

New Member
Messages
674
Reaction score
0
Points
0
PHP:
<?PHP
$template = "my_test_template";
include("path/to/show_news.php");
?>


In this you just change the include to the path of the show_news.php file,

for example, if i was running it on my website I would do,

gdsn.x10hosting.com/cutenews/show_news.php

WARNING: That is only an example, yours may be in a different directory

You have to use and absolute reference!

Enjoy!
 
Top