Vous n'êtes pas identifié(e).
13 février 2024 Sortie de Dotclear 2.29
Pages : 1
Hello,
I have few categories following this formula:
News
Reviews
Articles
Interviews
Next category 1
Next category 2
...
By default, Dotclear shows on main site all entries from all categories.
I woluld like to show entries from "News" category only. Is it possible?
I guess, I must edit "home.html" page in my template. I am using Chestnut template.
Any help appreciated.
Dernière modification par jarekb (2014-09-12 06:06:57)
Hors ligne
Hello,
This theme has a particular structure, but in general when a category is filtered through the home, it does so :
<tpl:Entries category="News"> in place off <tpl:Entries>.
You can read the documentation.
Hors ligne
Hello Jean-Michel,
Thank you for advice! I've changed the first line od categories-home.html to:
<tpl:Entries category="News">
and now it works like a charm :)
Hors ligne
Pages : 1
Vous n'êtes pas identifié(e).