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

Need to repeat special character in menu.tpl

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 09-22-2005, 08:23 AM
 
ripnoel ripnoel is offline
 

Member
  
Join Date: Sep 2005
Location: USA
Posts: 20
 

Default Need to repeat special character in menu.tpl

Greetings:

I added the following code into the menu.tpl file and am only getting my special character in front of the first entry. Could someone please show me how to code this so I get the special character in front of each menu entry?

Thanks,

Rip

Code in between dotted lines:
----------------
<TD><span class="rtArrowStem">_</span><span class="rtArrow">&gt;</span>{$menu_content}
</TD></
----------------

PS I have laready added the class files for the span tages to the CSS style sheet.
__________________
X-Cart Version Number 4.0.15 Pro Version

Running on a LAMP server. PHP v 4.3.11

\"People, Light is Life!\"
Reply With Quote
  #2  
Old 09-22-2005, 08:39 AM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default

In that case you would need to edit each individual template. Your original post made it sound like you wanted to add a character to the menu template itself. Edit categories.tpl, special.tpl, help.tpl, etc to get that to appear next to each actual link.

Also, in the future, please keep the discussion of a topic in one thread, there is no need to post a new thread. The forum is already cluttered enough as it is. Thanks!
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #3  
Old 09-22-2005, 08:57 AM
 
ripnoel ripnoel is offline
 

Member
  
Join Date: Sep 2005
Location: USA
Posts: 20
 

Default I'm still not making my needs clear...

I am getting my special character to show up in all the menus but only on the first entry in each.

How can I get it to repeat in front of each additional item in the menu list IE... with ">" representing my special character...

> Books
> Cd - Computer - Video
> Electronics

what I am getting now is:

> Books
Cd - Computer - Video
Electronics

Sorry, I will make sure to stay in related posts from here on out.
Thanks for your help.

Rip
__________________
X-Cart Version Number 4.0.15 Pro Version

Running on a LAMP server. PHP v 4.3.11

\"People, Light is Life!\"
Reply With Quote
  #4  
Old 09-22-2005, 09:03 AM
  shan's Avatar 
shan shan is offline
 

X-Guru
  
Join Date: Sep 2002
Location: Birmingham, UK
Posts: 6,163
 

Default

you must add the code between the

{section}

{/section}

tags as this is where the loop happens
__________________
Looking for a reliable X-cart host ?
You wont go wrong with either of these.

EWD Hosting
Hands On Hosting
Reply With Quote
  #5  
Old 09-22-2005, 09:18 AM
 
ripnoel ripnoel is offline
 

Member
  
Join Date: Sep 2005
Location: USA
Posts: 20
 

Default Thanks was exactly the information I needed!

Placing the code between the {section} tags was exactly where I needed to place the code to get my special character to properly repeat in front of each entry.

Thanks for GREAT support!

Best,

Rip
__________________
X-Cart Version Number 4.0.15 Pro Version

Running on a LAMP server. PHP v 4.3.11

\"People, Light is Life!\"
Reply With Quote
  #6  
Old 09-22-2005, 09:48 AM
 
ripnoel ripnoel is offline
 

Member
  
Join Date: Sep 2005
Location: USA
Posts: 20
 

Default Having trouble locating where the "Your Cart" menu

Can someone please tell me where to find where the "Your Cart" menu is built so I can add in my special characters there.

Thanks,

Rip
__________________
X-Cart Version Number 4.0.15 Pro Version

Running on a LAMP server. PHP v 4.3.11

\"People, Light is Life!\"
Reply With Quote
  #7  
Old 09-22-2005, 09:54 AM
  shan's Avatar 
shan shan is offline
 

X-Guru
  
Join Date: Sep 2002
Location: Birmingham, UK
Posts: 6,163
 

Default

use the debug console and webmaster mode and youll find the answers to these things.

you can serach the forums too
__________________
Looking for a reliable X-cart host ?
You wont go wrong with either of these.

EWD Hosting
Hands On Hosting
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 06:55 AM.

   

 
X-Cart forums © 2001-2020