View Single Post
  #2  
Old 06-09-2009, 02:00 AM
  ElegantXMods.com's Avatar 
ElegantXMods.com ElegantXMods.com is offline
 

Advanced Member
  
Join Date: Apr 2009
Location: Stirling, UK
Posts: 94
 

Default Re: Customizing content on home page

Hi there,

The file you're looking to modify is skin1/customer/home.tpl (make a backup of this file before proceeding!)

It should be reasonably simple to re-order the content boxes, just cut and paste the relevant sections.

To create new boxes filled with static content, save the following code to a new file (lets say its called static_content.tpl) and place it in your skin1/customer/ folder.

Code:
{capture name=static_content} ... PLACE YOUR CUSTOM HTML HERE {/capture} {include file="customer/menu_dialog.tpl" title="ENTER TITLE OF BOX HERE" content=$smarty.capture.static_content}

Now add the following line in home.tpl where you would like to place the box:

Code:
{include file="customer/static_content.tpl" }
__________________
John
ElegantXMods.com

QuickOrder AJAX-based search and ordering system now available
giving you complete control over how customers browse and search for your products. Click here for details.
PriceSlider - easily filter categories by price range - only $9.99 - details here

X-Cart 4.1, X-Cart 4.2 on Windows/IIS and Linux/Apache.
Reply With Quote