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

Change in Location?

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 01-06-2004, 09:32 AM
  Owl's Avatar 
Owl Owl is offline
 

Advanced Member
  
Join Date: Mar 2003
Location: Sweden
Posts: 92
 

Default Change in Location?

ok as it is now the location where a customer is looks like this, for example on my site

sitename.com :: Speakers :: Fuses :: excess-current cut-outs :: Overload circuit breakers

and i would want it like this

sitename.com
:: Speakers
:: Fuses
:: excess-current cut-outs
:: Overload circuit breakers
Your browsing: {productname}

i tried editing in location.tpl but the things i came up with dun't make it the way i want it, if anyone could help me with this i would be glad
Reply With Quote
  #2  
Old 01-06-2004, 11:31 AM
  leon's Avatar 
leon leon is offline
 

X-Wizard
  
Join Date: Mar 2003
Location: Costa Rica
Posts: 1,213
 

Default

Thats in the location.tpl file, just add
tags when it loops thru the category and product display.
__________________
It doesn\'t matter what is done... it is how it is done.
=============================
XCart Version: 3.5.3 -> Dmcigars.com
XCart Version: 4.1.3....
Reply With Quote
  #3  
Old 01-06-2004, 07:58 PM
  Owl's Avatar 
Owl Owl is offline
 

Advanced Member
  
Join Date: Mar 2003
Location: Sweden
Posts: 92
 

Default

That is what i tried, but it does not work as i want it to...

This is what my code looks atm...

Code:
{strip} <font color="#FF6600">Note:</font> You can press the navigation bar to quickly be able to move between related categories, last one in list is the one you are currently browsing. <a href="home.php"> <font class=NavigationPath>{$config.Company.company_name}</font> </a> {if $last_location ne ""} :: {if $last_url ne ""} <a href="{$last_url}"> {/if} <font class=NavigationPath>{$last_location}</font> {if $last_url ne ""} </a> {/if} {/if} {if $location} <font color="#FF6600">::</font> {section name=position loop=$location} {if $location[position].1 ne "" }<a href="{$location[position].1}">{/if} <font class=NavigationPath>{$location[position].0|escape}</font> {if $location[position].1 ne "" }</a>{/if} {if %position.last% ne "true"}<font color="#FF6600">::</font> {/if} {/section} {/if} {/strip}

dunno really in wich way i should set the breakings, i tested everywhere i think
__________________
-----------------------------------
4.2 rox...

http://www.fivestar.nu | www.nystil.se | www.hidealite.se
Reply With Quote
  #4  
Old 01-06-2004, 09:49 PM
  Owl's Avatar 
Owl Owl is offline
 

Advanced Member
  
Join Date: Mar 2003
Location: Sweden
Posts: 92
 

Default

and while im asking, where can i edit how the layout of my featured products should look like
__________________
-----------------------------------
4.2 rox...

http://www.fivestar.nu | www.nystil.se | www.hidealite.se
Reply With Quote
  #5  
Old 01-06-2004, 11:04 PM
  leon's Avatar 
leon leon is offline
 

X-Wizard
  
Join Date: Mar 2003
Location: Costa Rica
Posts: 1,213
 

Default

Quote:
Originally Posted by Owl
dunno really in wich way i should set the breakings, i tested everywhere i think

This is done in the section loop, try this:

{section name=position loop=$location}
{if $location[position].1 ne "" }<a href="{$location[position].1}">{/if}
<font class=NavigationPath>{$location[position].0}</font>
{if $location[position].1 ne "" }</a>{/if}
{if %position.last% ne "true"}::
{/if}


{/section}

Good luck, cause I havent tried it myself, but the logic seams to be that way, let me know if it was successful.
__________________
It doesn\'t matter what is done... it is how it is done.
=============================
XCart Version: 3.5.3 -> Dmcigars.com
XCart Version: 4.1.3....
Reply With Quote
  #6  
Old 01-06-2004, 11:14 PM
  leon's Avatar 
leon leon is offline
 

X-Wizard
  
Join Date: Mar 2003
Location: Costa Rica
Posts: 1,213
 

Default

Quote:
Originally Posted by Owl
and while im asking, where can i edit how the layout of my featured products should look like

Not sure what you are really asking here, but if it is related to design over elements, that is done in the Cascading Style Sheet file, called skin1.css in your template folder.

Now if you want to shift things around, then go to "products_t.tpl" located in skin1/customer/main directory, that is where the location of product elements are located, remember that it is only a list of products MARKED as featured, so if you change things around for featured it will do the same to the normal list of products... in theory that is.

I have not tested this either...
__________________
It doesn\'t matter what is done... it is how it is done.
=============================
XCart Version: 3.5.3 -> Dmcigars.com
XCart Version: 4.1.3....
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 11:10 AM.

   

 
X-Cart forums © 2001-2020