| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
categories gone? | |||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
![]() 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} ---------------------------------------
__________________
Christmas x-cart 4.1.6 |
|||||||
#2
|
|||||||||
|
|||||||||
![]() Code:
add that under the include for auth.php
__________________
Looking for a reliable X-cart host ? You wont go wrong with either of these. ![]() ![]() |
|||||||||
#3
|
|||||||
|
|||||||
![]() Thanks that worked Great
![]()
__________________
Christmas x-cart 4.1.6 |
|||||||
![]() |
|
Thread Tools | Search this Thread |
|
|
|
|||
X-Cart forums © 2001-2020
|