Article Anouncements on the index page

Post custom hacks and enhancements for phpwcms here only. Maybe some of these things will be included in official release later.
Post Reply
TomBoy
Posts: 5
Joined: Fri 7. Jan 2005, 16:31
Location: Moscow

Article Anouncements on the index page

Post by TomBoy »

Did anybody meet with the problem of displaying article announcements on the main index page, when the article belongs to certain category and needs to be displayed in the category page as well?

The structure of the site looks like following:

Home
--> Category1
------ Article1.1
------ Article1.2
--> Category2
------ Article2.1
------ Article2.2

The list of articles in the category pages is already allright. What I need is to display the list of articles from all categories at the first page.

How have you solved it?
frold
Posts: 2151
Joined: Tue 25. Nov 2003, 22:42

Post by frold »

if you give some articles the same keyword you could use this to list related articles based on a given keyword,,, is it that you are looking for?

{RELATED:list_count_:keyword}

http://www.phpwcms-docu.de/77.39.0.0.1.0.phtml
http://www.studmed.dk Portal for doctors and medical students in Denmark
Pappnase

Post by Pappnase »

frold wrote:if you give some articles the same keyword you could use this to list related articles based on a given keyword,,, is it that you are looking for?

{RELATED:list_count_:keyword}

http://www.phpwcms-docu.de/77.39.0.0.1.0.phtml
hello frold

it was my idea! cos i would be the easiest way to have an tag liek

{LIST:ID} wich will deliver all atricle headers in the desired structure.

the related is also an way but you know how easy you forget to add an keyword to an article! ;-)
Post Reply