Answer the question
In order to leave comments, you need to log in
How to make [category] work in {include file="tpl"}?
Hello. Look at the code:
It's in main.tpl
[not-category=3-10][not-available=main]{content}[/not-available][/not-category]
[category=3-10]{include file="catalog.tpl"}[/category]
[category=3]{custom category="3-10" limit="4" order="date"}[/category]
[category=4-10]{content}[/category]
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question