Page 1 of 1

feature articles from one catagory in another.

Posted: Mon 11. Jul 2005, 16:48
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

Posted: Mon 11. Jul 2005, 19:48
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

Posted: Mon 11. Jul 2005, 20:09
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

Posted: Wed 13. Jul 2005, 11:03
by erich_k4
Hello!

The new version is available...

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

Erich