feature articles from one catagory in another.

Use GitHub to post feature requests for phpwcms.
Locked
abruzzi
Posts: 4
Joined: Fri 8. Jul 2005, 00:33

feature articles from one catagory in another.

Post by abruzzi »

{FEATURE:cat_ID:number:sortfield:asc|desc}

This RT would feature (number) articles from a particular catagory (cat_ID). The (sortfield) could be date entered, date live, or date closed. and could be chosen ascending or descending. The output would be the standard summary output for the article including picture if available.

This could have lots of uses. It could simulate hot news items by sorting the date entered decending. It could simulate upcoming events by sorting closing date ascending.

thanks,

Geof
erich_k4
Posts: 160
Joined: Thu 31. Mar 2005, 10:29
Location: Austria

Post by erich_k4 »

Hi Geof!

I'm currently working on a RT called TEASER_EX.

Syntax:

{TEASER_EX:category_alias|count[;category_aliasx|countx]:articles_per_page:sortfield|sortdir:show_cat_name:pagelink_text}

I will upload the files to hacks & enhancements later this week.

Erich
abruzzi
Posts: 4
Joined: Fri 8. Jul 2005, 00:33

Post by abruzzi »

erich_k4 wrote:
{TEASER_EX:category_alias|count[;category_aliasx|countx]:articles_per_page:sortfield|sortdir:show_cat_name:pagelink_text}

I will upload the files to hacks & enhancements later this week.

Erich
Cool! I'll look forward to it. Will it do the full summary view?

thanks,

Geof
erich_k4
Posts: 160
Joined: Thu 31. Mar 2005, 10:29
Location: Austria

Post by erich_k4 »

Hello!

The new version is available...

http://www.phpwcms.de/forum/viewtopic.php?t=7503

Erich
Locked