| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Overhead pages - different template/without left nav | |||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
![]() Hello,
I would like to have overhead pages such as the contact page, or even the registration page, load into a different template, particularly without the left nav bar, or table cell. Any advice?
__________________
JW - Xcart Version: several dragged one cart's database kicking and screaming from 4.0.16 to 4.4.1. |
|||||||
#2
|
|||||||
|
|||||||
![]() Look at skin1/customer/home_main.tpl and skin1/common_templates.tpl to see how x-cart decides which template to include within skin1/customer/home.tpl. Then you can do one of two things.
In skin1/customer/home.tpl you can use {if} {/if} smarty tags to exclude the left column in certain areas of the site. For example, I turn off the left column on my site in checkout using this right before the <td> tage that starts the left column: Code:
Or if your changes are more extensive you can use an {if} right at the beginning of home.tpl with something like this at the end. Code:
__________________
Manuka Bay Company X-Cart Version 4.0.19 [Linux] UGG Boots and other fine sheepskin products http://www.snowriver.com |
|||||||
#3
|
|||||||
|
|||||||
![]() I ended up changing the path in register.php from customer/home.tpl to a new template I created called registration.tpl. Copied home.tpl to registration.tpl, then customized it.
Here's another question for you guys: If a person selects "register" (i.e...doesn't register as a result of checking out, but just to register in order to receive catalogs, etc.) they are directed to the registration page, but after filling out all of their details and submitting registration, the resulting page is just the same page, which is kind of confusing. How can I have them redirected back into the site, or to some other page?
__________________
JW - Xcart Version: several dragged one cart's database kicking and screaming from 4.0.16 to 4.4.1. |
|||||||
|
|||
X-Cart forums © 2001-2020
|