Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

Change Home page dialog.tpl

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 02-09-2011, 10:14 AM
  lewaff's Avatar 
lewaff lewaff is offline
 

eXpert
  
Join Date: Jun 2007
Location: Nuneaton-England
Posts: 225
 

Default Change Home page dialog.tpl

I would like to have a differant
customer/dialog_message.tpl show on home page only
ie. customer/dialog_message_home.tpl
I have created a new file dialog_message_home.tpl
to show only on home page not quite sure how to make it home page only

and then customer/dialog_message.tpl
on the rest of the pages as normal
this is on my www.mobile-phone-batteries.co.uk
Xcart site V4.3.2 with smart templates
__________________
Thank's
Lewis Afford
www.mobile-phone-batteries.eu X-cart v4.4.5 gold
www.mobile-phone-batteries.co.ukv4.4.5 gold
www.qualitechnic.co.uk v4.4.5 gold
Add-on: X-AOM (Advanced Order Management)
Reply With Quote
  #2  
Old 02-09-2011, 07:33 PM
  cflsystems's Avatar 
cflsystems cflsystems is offline
 

Veteran
  
Join Date: Apr 2007
Posts: 14,201
 

Default Re: Change Home page dialog.tpl

{if $main eq "catalog" && $current_category.category eq ""}
{include file="customer/dialog_message_home.tpl"}
{else}
{include file="customer/dialog_message.tpl"}
{/if}
__________________
Steve Stoyanov
CFLSystems.com
Web Development
Reply With Quote

The following user thanks cflsystems for this useful post:
lewaff (02-10-2011)
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 08:41 AM.

   

 
X-Cart forums © 2001-2020