| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Create New Page, Not Using Static Page Functions | |||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
![]() Hi,
I would like to create a new page that resides outside of my X-Cart directory and that can includes header, footer, side nav, etc. X-Cart is installed in my root directory, so I would like to set up (x-cart_root/new_directory/new_page.php). I don▓t want to use either of X-Cart▓s static page options; X-cart embedded page; due to the fact that I can not control the directory (e.g. public_html/skin1/pages/US/) Or X-cart Root Level; does not have the header, footer, side nav, etc. I know I have to create a ⌠new_page.php■ and ⌠new_page.tpl■, but I▓m not sure of the code for each page, how to reference each other and where ⌠new_page.tpl■ should reside. Also, I▓m pretty sure I have to reference ⌠new_page.tpl■ on the ⌠home_main.tpl■. Sorry, if this is posted, I looked and found many bits and pieces, but nothing I could follow to do this completely. Can anyone walk me through the steps? TIA
__________________
Well, someone has the answer, go find them! x-cart gold version 4.0.12 apache 1.3.33 linux perl 5.008 linux php 4.3.10 linux mysql 4.0.22-standard |
|||||||
#2
|
|||||||
|
|||||||
![]() have a look at http://forum.x-cart.com/showthread.php?t=28870
|
|||||||
#3
|
|||||||
|
|||||||
![]() Thanks, I read this and tried some things, but I still can't get my head around this!
So, new_page.tpl goes into (/skin1/customer) And new_page.php can reside in (x-cart_root/new_directory/new_page.php) In new_page.php, I need to call; $smarty->assign("location", $location); func_display("customer/new_page.tpl",$smarty); Right? Thanks
__________________
Well, someone has the answer, go find them! x-cart gold version 4.0.12 apache 1.3.33 linux perl 5.008 linux php 4.3.10 linux mysql 4.0.22-standard |
|||||||
|
|||
X-Cart forums © 2001-2020
|