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

fancy categories questions

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 10-08-2010, 06:20 PM
 
upupcreative upupcreative is offline
 

Advanced Member
  
Join Date: Aug 2010
Posts: 66
 

Question 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
__________________
Version 4.4.2
Reply With Quote
  #2  
Old 11-03-2011, 11:41 AM
  CottonAge.com's Avatar 
CottonAge.com CottonAge.com is offline
 

eXpert
  
Join Date: Jan 2008
Location: Orange County, California
Posts: 244
 

Default Re: fancy categories questions

did you find your answer?
__________________
CottonAge.com - v4.4.4 - Gold
Mirko.com - v4.1.12 - Gold

We sell Bathrobes, Slippers, Towels & more at wholesale prices...
Reply With Quote
  #3  
Old 11-12-2011, 05:33 PM
  XCart4Life's Avatar 
XCart4Life XCart4Life is offline
 

Advanced Member
  
Join Date: Feb 2010
Posts: 62
 

Default 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.
__________________
X-Cart Pro v4.2.2 [Win]
X-Cart Pro v4.2.3 [Win]
X-Cart Pro v4.4.4 [Win]
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 09:33 PM.

   

 
X-Cart forums © 2001-2020