T
T
TimurSM2020-12-31 16:46:36
DLE
TimurSM, 2020-12-31 16:46:36

How to make different attachment.tpl for categories?

DLE 12.1. Different site categories require different attachment.tpl. The [category=X] tag inside attachment.tpl doesn't work. [news=x] for each article inside attachment.tpl is not an option at all. Has anyone encountered such a problem?
Possible solutions, but I'm not a programmer:
- animate [category=x] for attachment.tpl
- make different attachment.tpl for different categories
If there is a solution, I'm willing to pay.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question