How do I change the way an article is displayed in a list?

Get help with installation and running phpwcms here. Please do not post bug reports or feature requests here.
Post Reply
tacka
Posts: 13
Joined: Mon 19. Sep 2005, 00:32

How do I change the way an article is displayed in a list?

Post by tacka »

I understand that i may need to change or create another *.tmpl file, but I need to understand what TAG i need to use and how it works (or can be changed for other categories).

Thanks in advance!
User avatar
Oliver Georgi
Site Admin
Posts: 9916
Joined: Fri 3. Oct 2003, 22:22
Contact:

Post by Oliver Georgi »

There is a value "topcount" for a structure level - so check this and you will understand.

Swicth between "-1" and a number larger "0".

All structure levels having more than 1 article will be rendered as article list. If topcount value is "-1" the first is taken and rendered completely.

To change the way an article listing entry looks in the frontend you have to set a special article listing template for such article.

Oliver
Oliver Georgi | phpwcms Developer | GitHub | LinkedIn | Систрон
Post Reply