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

changing location.tpl

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 10-02-2007, 08:47 AM
  ARW VISIONS's Avatar 
ARW VISIONS ARW VISIONS is offline
 

X-Man
  
Join Date: Jan 2007
Location: Pensacola, FL
Posts: 2,536
 

Default changing location.tpl

How do I change the home.php link in the location.tpl. I would like it to point to index.php
__________________
xcart 5.1.2
Reply With Quote
  #2  
Old 10-02-2007, 08:48 AM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default Re: changing location.tpl

Why? Index.php is just a redirect to home.php
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #3  
Old 10-02-2007, 08:58 AM
  ARW VISIONS's Avatar 
ARW VISIONS ARW VISIONS is offline
 

X-Man
  
Join Date: Jan 2007
Location: Pensacola, FL
Posts: 2,536
 

Default Re: changing location.tpl

I have it customized so that it's not. I have a custome index.tpl.
__________________
xcart 5.1.2
Reply With Quote
  #4  
Old 10-02-2007, 07:03 PM
  ARW VISIONS's Avatar 
ARW VISIONS ARW VISIONS is offline
 

X-Man
  
Join Date: Jan 2007
Location: Pensacola, FL
Posts: 2,536
 

Default Re: changing location.tpl

Does anyone know how to do this? Thought this would be an easy one.
__________________
xcart 5.1.2
Reply With Quote
  #5  
Old 10-07-2007, 12:16 PM
 
raveworx raveworx is offline
 

Advanced Member
  
Join Date: Dec 2005
Posts: 31
 

Default Re: changing location.tpl

Ashley, try making the change below to location. tpl:

Code:
{* $Id: location.tpl,v 1.14 2005/11/17 06:55:36 max Exp $ *} {if $location} <font class="NavigationPath"> {strip} {section name=position loop=$location} {if $location[position].1 ne "" } {*** Override first position with index.php ***} {if %position.first%} <a href="/index.php" class="NavigationPath"> {else} <a href="{$location[position].1|amp}" class="NavigationPath"> {/if} {/if} {*** End override ***} {$location[position].0} {if $location[position].1 ne "" }</a>{/if} {if not %position.last%}&nbsp;/&nbsp;{/if} {/section} {/strip} </font> <br /><br /> {/if}
__________________
  • RaveWorx - The All Night Party Site!
  • Glowsticks, Party Gear, Rave and Club Toys
  • X-Cart Gold 4.4.3
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 01:37 PM.

   

 
X-Cart forums © 2001-2020