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)
-   -   fancy categories questions (https://forum.x-cart.com/showthread.php?t=55927)

upupcreative 10-08-2010 06:20 PM

fancy categories questions
 
a few questions re: the flyout / tree-like expanding categories and all the fancy-categories templates.

1 - i see in the changelog for the 4.4.0 to 4.4.1 upgrade that the cache problem (if you select cache the menu, your menu disappears) says it was fixed but i've upgraded and mine's not fixed. anyone else?

2 - can anyone just give me a quick explanation of how all the fancy-cat template files work together? i'd like to make some changes to the behavior of my menu but i can't completely figure out what each of the templates is intended to do (and why there are so many DIFFERENT template files in the first place) -- it looks like there are these three in the common files directory and then there are also categories.tpl files in both the common files dir. and in my chosen skin directory?

fancy_categories.tpl fancy_subcategories.tpl fancy_subcategories_exp.tpl


3 - the flyout menus module does this by default:

CAT
CAT
CAT

and then when you click on a CAT, there are two different possible behaviors:

IF THERE ARE SUBCATS, you get a menu that ONLY displays those subcats:

SUB CAT
SUB CAT

IF THERE ARE NO SUBCATS, you get the same menu from your home page

CAT
CAT
CAT

Which template file governs that if-there-are-subcats do this and if-there-are-not do this behavior?

THANKS!
Julie

CottonAge.com 11-03-2011 11:41 AM

Re: fancy categories questions
 
did you find your answer?

XCart4Life 11-12-2011 05:33 PM

Re: fancy categories questions
 
It's because you're looking in the wrong files. Usually the templates are for editing the design aspect of your site. Most of the functions will be connected to an external file. Instead find this file:

/modules/Flyout_Menus/func.php


As far as the part that 'governs the if-there-are-subcats do this and if-there-are-not do this behavior'....look around line #300. I just took a quick glance.


All times are GMT -8. The time now is 06:11 PM.

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