![]() |
Amember w/ X-cart
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 ?
|
Re: Amember w/ X-cart
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 |
Re: Amember w/ X-cart
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 ?
|
Re: Amember w/ X-cart
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 |
Re: Amember w/ X-cart
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. |
Re: Amember w/ X-cart
You need to edit the header and footer templates in X-Cart as referenced in the thread I posed.
|
Re: Amember w/ X-cart
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 !!! |
All times are GMT -8. The time now is 10:56 PM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.