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)
-   -   Location modification? (https://forum.x-cart.com/showthread.php?t=9534)

RichieRich 09-24-2004 05:39 AM

Location modification?
 
On the product page it lists the category location as follows;

Root Level :: Sub Category :: Product Name

and then just below it lists the Product name again in the dialog box, I would rather not have the product name appear twice within 2 lines on a page.

Is it possible to remove the first instance of the product name in the location area? so as to just display Root Level :: Sub Category and keep the product name in the dialog box which stands out more.

shan 09-24-2004 08:58 AM

look at location.tpl

RichieRich 09-24-2004 10:20 AM

dont know what to edit in this file to remove the product name only.

shan 09-24-2004 02:13 PM

try this


Code:

{* $Id: location.tpl,v 1.13 2004/05/29 14:21:41 svowl Exp $ *}
{if $location}
<FONT class="NavigationPath">
{strip}
{section name=position loop=$location}

{if not %position.last%}

{if $location[position].1 ne "" }<A href="{$location[position].1}" class="NavigationPath">{/if}
{$location[position].0}
{if $location[position].1 ne "" }</A>{/if}
{if not %position.last%}::{/if}

{/if}

{/section}
{/strip}
</FONT>



{/if}


RichieRich 10-14-2004 02:29 PM

ver 4.05
 
this mod on ver 4.05 is making the

appear on the home.tpl which is causing a gap at the top of the page, if I remove the product pages will have no gap between the category :: sub category, this wasnt an issue in 4.04... any suggestions?


All times are GMT -8. The time now is 06:52 AM.

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