1
Can anyone please help in directing me to where I need to put the following code into a xoops website. This is a shopping cart script where you can integrated into xoops through either an iFrame or PHP require_once() method I have chosen the latter and the instructions I have are the following:
Quote:
You can use a PHP require_once() in any of your PHP pages. At the top of the php page (first line) you should put this lines of code.
(); ob_start(); require_once("/home/xxxxxxx/public_html/shop/frontend/load.php"); $content = ob_get_contents(); ob_end_clean(); ?>
Quote:
Edit you .php page and put the code below where you want the shopping cart to appear.
echo $content; ?>
That's about it apart from a couple of css style sheets which I have already put in the 'head' of the theme file.
Many thanks and appreciate your help in this as I am stuck.