![]() |
Howto create a new module
Hi everyone,
I want to create a custom module in the default template Light & Lucid (2-column), on the left side of the front-end and it should just contain 1 image - an image of a credit card vendor. All I know is that I must create my own .tpl file and include it in the home.tpl file. My issues here are: 1. Where should my MYCUSTOM.TPL file be placed? 2. There are several home.tpl files in this template, so which one do I add my custom .tpl file to? 3. How can I create language labels for this module (English and one native language)? My only reference is this post: http://forum.x-cart.com/showthread.php?t=1480&highlight=create+a+new+modul e+box so can anyone please specify the steps in details on how to accomplish this please? Thanks in advance! |
Re: Howto create a new module
skin/%your_skin%/ - contains skin specific files / templates.
skin/common_files/ - contains files and templates used in all skins until they appear in the %your_skin% skin directory. In other words to customize some common template you should copy it to the skin/%your_skin%/ directory preserving sub-folders structure. To customize the home page of 2-columns skin copy -> skin/common_files/customer/home.tpl to -> skin/2-columns/customer/home.tpl and make the necessary changes to skin/2-columns/customer/home.tpl X-Cart:Storefront Design and Layout X-Cart:Customizing storefront X-Cart:Editing Skin Files |
All times are GMT -8. The time now is 11:27 PM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.