X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   Page title and breadcrum? (https://forum.x-cart.com/showthread.php?t=45049)

Vetrivel 01-24-2009 08:38 AM

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 ?

ARW VISIONS 01-24-2009 01:42 PM

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}

Vetrivel 01-30-2009 12:07 AM

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}


ARW VISIONS 01-30-2009 02:54 AM

Re: Page title and breadcrum?
 
There are title options in the config file? I didn't even know that.

JWait 01-31-2009 05:53 AM

Re: Page title and breadcrum?
 
http://forum.x-cart.com/showthread.php?t=20303 post #10


All times are GMT -8. The time now is 03:57 AM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.