![]() |
categories gone?
Hello everyone
I made a new PHP page for the first time and I used the code below everthing showed up on the new page except the categories list it is just gone the table is still there but everthing inside is gone? you can see what I mean here: http://www.omagruene.com/xcart/login.php does anyone know why or what I can do? 1. Create 'new_page.php' file in the '<xcart_root_dir>' with the following content : --------------------------------------- <?php require "./auth.php"; # Assign Smarty variables and show template $smarty->assign("main","new_page"); func_display("customer/home.tpl", $smarty); ?> --------------------------------------- 2. Open '<xcart_root_dir>/skin1/customer/home_main.tpl' template and add following code : --------------------------------------- {elseif $main eq "new_page"} {include file="new_page.tpl"} --------------------------------------- after the following fragment: --------------------------------------- {elseif $smarty.get.mode eq "unsubscribed"} {include file="main/unsubscribe_confirmation.tpl"} --------------------------------------- 3. Then create 'request_catalog.tpl' template in the '<xcart_root_dir>/skin1/' folder with the following content: --------------------------------------- {$lng.lbl_new_page} --------------------------------------- |
Code:
require $xcart_dir."/include/categories.php"; add that under the include for auth.php |
Thanks
Thanks that worked Great :lol:
|
All times are GMT -8. The time now is 01:20 PM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.