I am wondering how i can use Sailgreg's "Rip's R Us Portal" to view subpages using site.php?act=News / site.php?act=Products etc.
At the moment i use separate pages for this (site.php products.php order.php and about.php) but i know it is possible to use use just one page using arrays, i just dont know how to.
Here is the code of site.php at the moment
<?
//rootpath ends with an "/" , please make sure
$root_path="";
//-----------------------------------------------
// NO USER EDITABLE SECTIONS BELOW
//-----------------------------------------------
Its the function_do_news thats needs editing, i think.
the other pages are the same bar that - instead of saying
Question
-Dave-
I am wondering how i can use Sailgreg's "Rip's R Us Portal" to view subpages using site.php?act=News / site.php?act=Products etc.
At the moment i use separate pages for this (site.php products.php order.php and about.php) but i know it is possible to use use just one page using arrays, i just dont know how to.
Here is the code of site.php at the moment
Its the function_do_news thats needs editing, i think.
the other pages are the same bar that - instead of saying
vars['portal_
they say
vars['productportal_
and
vars['orderportal_
thanks 4 your help guys!
Link to comment
Share on other sites
2 answers to this question
Recommended Posts