CuteNews

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> [FAQ] Using CuteNews as TagBoard/GuestBook
Rating 5 V
Flexer
post Jul 3 2004, 08:45 AM
Post #1


Administrator
***

Group: Members
Posts: 640
Joined: 2-July 04
From: London, UK
Member No.: 1



Hare is a cool way of using CuteNews as TagBoard.
  • Make new category named "TagBoard"
  • Create new template called "TagBoard"
  • Add new article with title "TagBoard"
  • Now browse to show_news.php and click on the comments link of the article "TagBoard". In the URL there should be something like "id=1062847312" youmust remember this number
  • Now Edit the template "TagBoard" and delete the active news template and full story template.
  • Now to include your new tagboard you should use this code:
    CODE
    <?PHP
    $id = ID_NUMBER_THAT_YOU_REMEMBERED;
    if($subaction == ""){ $subaction = $_POST['subaction']; }
    if(!isset($subaction)){ $subaction = "showcomments"; }
    $template = "tagboard";
    include("show_news.php");
    ?>
in the same way you can use and CuteNews as GuestBook smile.gif


--------------------
Squeeze every drop of cuteness out of your news!
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic

 



RSS Lo-Fi Version Time is now: 24th May 2013 - 07:34 AM