PDA

View Full Version : categories_block.tpl



Mousa Lotfi
December 13, 2016, 12:41 PM
I made the homepage of my site tab and I want set categories list in one of the tabs. Please help me how can used categories_block.tpl code for show categories and count of listing per categories.
1992

Viktor
December 14, 2016, 04:25 AM
Hello Mousa,

You can include this block where you need it.

{include file='blocks'|cat:$smarty.const.RL_DS|cat:'categor ies_block.tpl'}

Mousa Lotfi
December 14, 2016, 09:39 AM
Thanks Viktor
I used this code but only show "There are no categories added yet."