Page 2 of 2

Re: How to link to different detailpages in {news}

Posted: Mon Oct 15, 2007 7:57 am
by Jacob B
That I know, but the question is how to sort the items when they separate in categories automatically, because I'm calling the news module two times now. Currently I use this use this:

{news number='3' category="1" detailpage="1news"}
{news number='3' category="2" detailpage="2news" }

Resulting in:

item1 - category1 - date_new
item2 - category1 - date_older
item3 - category1 - date_oldest
item4 - category2 - date_new
item5 - category2 - date_older
item6 - category2 - date_oldest

But I want this, while I need to keep the possibility of having different detailpages for the two categories:

item1 - category1 - date_new
item4 - category2 - date_new
item2 - category1 - date_older
item5 - category2 - date_older
item3 - category1 - date_oldest
item6 - category2 - date_oldest

Re: How to link to different detailpages in {news}

Posted: Mon Oct 15, 2007 2:36 pm
by calguy1000
There isn't much you can do here IMHO without a code modification.  There is currently no way of assigning extra attributes to a category, such as 'which detailpage' to use.