2010-02-19, 10:01:18
I cant seemto get this to work
1) create a folder name "feeds" at GetSimple root
2) creat a blank "index.xml" in "feeds"
3) set the above two to 777
4) made a new page "news" in admin panel with some text "blah blah blah"
5) add
in default theme "template.php" right after comments before html
6) create a folder "plugins" in theme and place "buildrss.php" there
7) Create functions.php in your theme folder and put this in it
GRRRRR
1) create a folder name "feeds" at GetSimple root
2) creat a blank "index.xml" in "feeds"
3) set the above two to 777
4) made a new page "news" in admin panel with some text "blah blah blah"
5) add
Code:
$generatRSS = $_GET['rss'];
if ($generatRSS==1) {
buildrssfile('news',5,256);
}
in default theme "template.php" right after comments before html
Code:
<?php
/****************************************************
*
* @File: template.php
* @Package: GetSimple
* @Action: Default theme for the GetSimple CMS
*
*****************************************************/
$generatRSS = $_GET['rss'];
if ($generatRSS==1) {
buildrssfile('news',5,256);
}
?>
6) create a folder "plugins" in theme and place "buildrss.php" there
7) Create functions.php in your theme folder and put this in it
Code:
<?php
require_once('plugins/buildrss.php');
?>
GRRRRR