Forum for discussing general topics related to Couch.
3 posts Page 1 of 1
Hello,

I have a news section on my site for which I have configured templates for list view and page view, and also want to show latest news from each folder on the index.php too (home page). The desired appearance of news is just like in the attached file, on 2 columns, grouped by folders, top 3 news from each folder. It is possible to achieve this by setting up one instance of this and Couch do the rest depending on existing folders, or I should set up each instance for each folder and let then Couch handle the rest?

Attachments

Hi,

I think it would be simpler to use four discrete cms:pages loops. For example -
Code: Select all
<cms:pages masterpage="news.php" folder="first_folder" limit="3">
   ...
</cms:pages>
<cms:pages masterpage="news.php" folder="second_folder" limit="3">
   ...
</cms:pages>

etc..
Thank you, KK. I'll give it a try. It seems very uncomplicated, like everything in Couch.
3 posts Page 1 of 1