Team Thanked: 181 раз
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