phpwcms style news

Get help with installation and running phpwcms here. Please do not post bug reports or feature requests here.
Post Reply
theplinth
Posts: 16
Joined: Sun 7. Mar 2004, 10:47

phpwcms style news

Post by theplinth »

Hi,

SURELY this must be a frequently asked question, but I think its too short for the search feature in the forum. Anyway... I reallly want a news section EXACTLY the same as the phpwcms one. http://phpwcms.de/index.php?news

Can that be done using the latest version of phpwcms? All I want is a summary of the latest article at the top, and a list of other articles just bellow. I can do it no worries using two different content parts, but I really want it all to be done on the fly, so all you have to do, is add a new article to the appropriate catigory and it updates the summary and article list. Am I missing something?

If you could just point me in the right direction that would be great!

Cheers,

Tim
spirelli
Posts: 996
Joined: Tue 27. Jul 2004, 13:37
Location: London

Post by spirelli »

that shouldn't be a problem if you set the 'top article count:' of the page you have your articles on to "1", and "ordering of assigned articles:" to creation date. As soon as you have more than one article on the page it will show a list of articles. Because you set the article count to 1 it will display the article at the top with summary (as it is layouted in the phpwcms_template\inc_cntpart\articlesummary\list file) and the others just with the title.
Last edited by spirelli on Wed 17. Nov 2004, 04:30, edited 2 times in total.
theplinth
Posts: 16
Joined: Sun 7. Mar 2004, 10:47

Post by theplinth »

That is PERFECT! Thanks so much! That worked just the way I wanted!

Cheers,
Tim :D
Post Reply