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)
-   -   Need to repeat special character in menu.tpl (https://forum.x-cart.com/showthread.php?t=16794)

ripnoel 09-22-2005 08:23 AM

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.

balinor 09-22-2005 08:39 AM

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!

ripnoel 09-22-2005 08:57 AM

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

shan 09-22-2005 09:03 AM

you must add the code between the

{section}

{/section}

tags as this is where the loop happens

ripnoel 09-22-2005 09:18 AM

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

ripnoel 09-22-2005 09:48 AM

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

shan 09-22-2005 09:54 AM

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

you can serach the forums too


All times are GMT -8. The time now is 11:34 AM.

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