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

Removing Links

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 09-06-2009, 09:19 AM
 
millennium3 millennium3 is offline
 

Newbie
  
Join Date: Sep 2009
Posts: 3
 

Default 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
__________________
vers 4.1.12
Reply With Quote
  #2  
Old 09-06-2009, 09:25 AM
  cflsystems's Avatar 
cflsystems cflsystems is offline
 

Veteran
  
Join Date: Apr 2007
Posts: 14,201
 

Default 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.
__________________
Steve Stoyanov
CFLSystems.com
Web Development
Reply With Quote

The following user thanks cflsystems for this useful post:
millennium3 (09-12-2009)
  #3  
Old 09-06-2009, 09:26 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: 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.
__________________
xcart 5.1.2
Reply With Quote

The following 2 users thank ARW VISIONS for this useful post:
maplecoat (09-06-2009), millennium3 (09-12-2009)
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 02:48 AM.

   

 
X-Cart forums © 2001-2020