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

Page title and breadcrum?

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 01-24-2009, 08:38 AM
  Vetrivel's Avatar 
Vetrivel Vetrivel is offline
 

eXpert
  
Join Date: Apr 2008
Posts: 398
 

Default Page title and breadcrum?

Hi,I need the different wording for page title and breadcrumb for home link(lbl_site_title).
Ie
IN breadcrumb HOMEPAGE:something:something
Where us
IN page title COMPANYNAME-something-something.

When i change the language variable (lbl_site_title) in auth.php it will chnage both the value.
How to differentiate this two ?
Reply With Quote
  #2  
Old 01-24-2009, 01:42 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: Page title and breadcrum?

think this is what you want...
change location.tpl to this.

{* $Id: location.tpl,v 1.14.2.2 2007/06/18 11:42:03 max Exp $ *}
{if $location}
<font class="NavigationPath">
{strip}
{section name=position loop=$location}
{if $location[position].1 ne "" }<a href="{$location[position].1|amp}" class="NavigationPath">{/if}
{if %position.first%}
Home
{else}
{$location[position].0}
{/if}
{if $location[position].1 ne "" }</a>{/if}
{if not %position.last%}&nbsp;-&nbsp;{/if}
{/section}
{/strip}
</font>
{/if}
__________________
xcart 5.1.2
Reply With Quote
  #3  
Old 01-30-2009, 12:07 AM
  Vetrivel's Avatar 
Vetrivel Vetrivel is offline
 

eXpert
  
Join Date: Apr 2008
Posts: 398
 

Default Re: Page title and breadcrum?

Thanks Ashley this works like a gem.
And one more thing that Where can i find the code for adding the page title.
I like to change the page title format .(I will add few more options in config for page title.) Right now there is only two option.
So what i need is to find the php code where they use this config value .I searched in Auth.php But i cant able to figure out.
HAve you ever tried this?
Where they generate the page title?
Do you people have any idea?



Quote:
Originally Posted by Ashley
think this is what you want...
change location.tpl to this.

{* $Id: location.tpl,v 1.14.2.2 2007/06/18 11:42:03 max Exp $ *}
{if $location}
<font class="NavigationPath">
{strip}
{section name=position loop=$location}
{if $location[position].1 ne "" }<a href="{$location[position].1|amp}" class="NavigationPath">{/if}
{if %position.first%}
Home
{else}
{$location[position].0}
{/if}
{if $location[position].1 ne "" }</a>{/if}
{if not %position.last%}&nbsp;-&nbsp;{/if}
{/section}
{/strip}
</font>
{/if}
Reply With Quote
  #4  
Old 01-30-2009, 02:54 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: Page title and breadcrum?

There are title options in the config file? I didn't even know that.
__________________
xcart 5.1.2
Reply With Quote
  #5  
Old 01-31-2009, 05:53 AM
  JWait's Avatar 
JWait JWait is offline
 

X-Man
  
Join Date: Nov 2005
Location: California
Posts: 2,440
 

Default Re: Page title and breadcrum?

http://forum.x-cart.com/showthread.php?t=20303 post #10
__________________
Two Separate X-Cart Stores
Version 4.4.4 Gold - X-AOM - Vivid Dreams Aquamarine (modified) - Linux
Mods - Newest Products - View All -, and a few others. Numerous upgrades from 4.0.x series.
Integrated with Stone Edge Order Manager + POS

Version 4.1.12 Gold (fresh install) - X-AOM - Linux
Mods - XCSEO free
Reply With Quote
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 03:59 AM.

   

 
X-Cart forums © 2001-2020