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)
-   -   JS Menu (https://forum.x-cart.com/showthread.php?t=2425)

Anonymous 04-23-2003 07:57 PM

JS Menu
 
Is it possible to integrate a js dropdown menu (mouseover) to the category.tpl such that when a new category is added from the admin, it reflects on the customer frontend's js dropdown menu ?

B00MER 04-23-2003 08:21 PM

possible, yes, takes a bit of tweaking, yes. 8)

Anonymous 04-23-2003 08:42 PM

Boomer, how can I go about it. Was there any previous thread on this issue that I can refer to ? Finally when you mentioned tweaking, I reckon that involves changes to the php coding ? Do guide me along as I am very new to these. Thanks.

funkydunk 04-23-2003 10:31 PM

Wouldn't need to tweaking the php code just the template.

If you look at the code that you would produce for it manually and then look at the categories.tpl file for the {section} loop and put elements in that loop that you want repeating for each actegory.

Just remember that any JS parts that include the { or } should be in {literal} {/literal}tags

hth


All times are GMT -8. The time now is 01:39 PM.

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