| ||||||||||
| Shopping cart software Solutions for online shops and malls | ||||||||||
|
|
||||||||||
| X-Cart Home |
Adding extra buttons and linking them to pages | |||
![]() |
|
||
|
|
Thread Tools | Search this Thread |
|
#1
|
|||||||
|
|||||||
|
Hi all, I want to add buttons underneath the banner at the top of the page, mainly for info, Which file would I modify and how can I keep the session Id??
Cheers John |
|||||||
|
#2
|
|||||||||
|
|||||||||
|
Quote:
|
|||||||||
|
#3
|
|||||||
|
|||||||
|
Hi thanks for that, you put
Then add selector which will diplay your About Us template in the center of the cart: {if $smarty.get.mode eq "subscribed"} {include file="main/subscribe_confirmation.tpl"} {elseif $smarty.get.mode eq "about_us"} {include file="main/about_us.tpl"} {elseif $smarty.get.mode eq "unsubscribed"} {include file="main/unsubscribe_confirmation.tpl"} 2. Then create About Us template that will be displayed in the center, create file skin1/main/about_us.tpl and put the following lines there: { include file="location.tpl" last_location="About Us"} {capture name=dialog} Put your about us text here... {/capture} { include file="dialog.tpl" title="Information about our company" content=$smarty.capture.dialog extra="width=1 00%"} WHERE ABOUTS DOES THIS SELECTOR BIT GO, AND ON WHAT PAGE?? Cheers John |
|||||||
|
#4
|
|||||||
|
|||||||
|
/customer/home_main.tpl
|
|||||||
|
#5
|
|||||||
|
|||||||
|
excellent
|
|||||||
![]() |
|
| Thread Tools | Search this Thread |
|
|
|
|
|||
|
X-Cart forums © 2001-2020
|
|||