| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Amember w/ X-cart | |||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
![]() I am using smarty templates in Amember and am able to include php header and footer files. What is the easiest way to just include my header / footer files with xcart and get rid of the x-cart layout ?
__________________
Version 4.1.9 |
|||||||
#2
|
|||||||
|
|||||||
![]() Probably not going to be that easy, as the Smarty variables are most likely different. You'll need to alter the X-Cart header and footer files with your code. Use webmaster mode to determine which template is which, and you can use this as a guide as well:
http://forum.x-cart.com/showthread.php?t=21529
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
#3
|
|||||||
|
|||||||
![]() Ok, I'll take a look, thanks. Is there just a simple command in smarty to include a header.php file from the root folder or something ?
__________________
Version 4.1.9 |
|||||||
#4
|
|||||||
|
|||||||
![]() You don't call php files from the templates, you call templates from the templates. You may want to start by reading this thread, as it sounds like the Smarty you are used to may not be used the same in X-Cart:
http://forum.x-cart.com/showthread.php?t=21529
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
#5
|
|||||||
|
|||||||
![]() Hey Padraic,
Thanks. I have a header/footer that I am using for the whole site. Is their code or a good way to just include these two files ? So that if I update it, it will update the site and the cart? Thanks.
__________________
Version 4.1.9 |
|||||||
#6
|
|||||||
|
|||||||
![]() You need to edit the header and footer templates in X-Cart as referenced in the thread I posed.
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
#7
|
|||||||
|
|||||||
![]() I was hoping to call a php file like
Quote:
I was just wondering if there was a call using smarty like {php} or something to be able to call external files. Thanks !!!
__________________
Version 4.1.9 |
|||||||
![]() |
|
Thread Tools | Search this Thread |
|
|
|
|||
X-Cart forums © 2001-2020
|