Forums / Cotonti / Support / How to show all categories and its sub categories in the list?

Macik
#39228 2014-02-27 22:26

First of all — I forget to add 

global $structure;

in the beginning of function.

Than you can use CAT tpl variable like:

CAT.path
CAT.tpath   
CAT.rpath   
CAT.id   
CAT.tpl  
CAT.title  
CAT.desc    
CAT.icon    
CAT.locked    
CAT.count      
CAT.onindex    
CAT.image    

 

 

https://github.com/macik
правильный хостинг — https://goo.gl/fjCa1F