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)
-   -   Removing Links (https://forum.x-cart.com/showthread.php?t=49565)

millennium3 09-06-2009 09:19 AM

Removing Links
 
Hi, Sorry about this newbie question...but it may keep me from asking ton of others. (searched, but couldn't find answer)
How do I remove a link such as this one cicled in yellow? http://millennium3media.com/xcart/
[aslo - is there a way, much like Webmaster mode where I can hover or click and find what/where something is labeled or in what template it resides?}

Thanks! Am loving X-Cart,
Crutch

cflsystems 09-06-2009 09:25 AM

Re: Removing Links
 
This link is the location - where you are on the website - and to remove it open skin1/customer/home.tpl, find
Code:

{if $usertype eq "C"}
{if !%position.first%}
<div id="locationbar">
{include file="location.tpl"}
</div>
{/if}
{/if}

and comment it out (surround the code with {* code here *}. Your code may look a little different but you get the idea
As for the Webmaster mode that is the one. You can use Firebug in Firefox and is very helpful but won't tell you which template as it look at the site and not the code.

ARW VISIONS 09-06-2009 09:26 AM

Re: Removing Links
 
That link is part of the bread crumbs, which allows customers a step by step nav thru your site.

it's located in skin1/customer/home.tpl

If you want to remove it entirely from your site just remove the location.tpl from the home.tpl.
if you want to remove it from the home page only wrap it in a smarty if statement.

{if $main ne"catalog" and $current_category.category ne ""}
{include file="location.tpl"}
{/if}

webmaster mode is the best way to find elements in the template structure.


All times are GMT -8. The time now is 10:23 AM.

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