• 0

IBF Portal


Question

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

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

  • 0

Better ask sailgreg it's his code. Doesn't he have a website.

I removed the load of code you posted btw

Link to comment
Share on other sites

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.