+ Reply to Thread
Results 1 to 2 of 2

Thread: templates and cutenews

  1. #1
    swirly's Avatar
    swirly is offline x10 Elder swirly is an unknown quantity at this point
    Join Date
    Jul 2005
    Location
    NC
    Posts
    965

    templates and cutenews

    i think that i can use my own template i already have in cute news..but i cant figure it out...


    PHP Code:
    <?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?
    Don't go to bed angry, stay awake and plot revenge.

  2. #2
    randomize's Avatar
    randomize is offline x10 Lieutenant randomize is an unknown quantity at this point
    Join Date
    Mar 2006
    Posts
    337

    Re: templates and cutenews

    PHP Code:
    <?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!


    Click the animation above to go to the site where they are created!

    \ /
    (.) (.)
    /_
    \_____/
    The Evil Guy will take over all Signatures. Please help him to do this by copying and pasting him into your Signature.
    Thank you For Helping Evil!

+ Reply to Thread

Similar Threads

  1. Formatting Cutenews, HELP
    By SEŅOR in forum Scripts & 3rd Party Apps
    Replies: 3
    Last Post: 03-01-2006, 08:07 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
x10hosting free hosting for the masses
dedicated servers