Share » Forums » Setup & design » Help ... Highlight the article

Help ... Highlight the article

Help ... Highlight the article

Thursday 06 May 2004 3:56:30 am - 5 replies

Author Message

Bjørn Kaarstein

Thursday 06 May 2004 3:58:19 am

If you sort by priority, you can choose which article to display first.

Regards Bjørn

Muhammad Khalid Majeed

Thursday 06 May 2004 4:02:23 am

Is there any other way regardless priority?

Muhammad Khalid
Software Engineer
www.webgurru.net

Bjørn Kaarstein

Tuesday 11 May 2004 6:44:40 am

Well, you could do it the nasty way, and fetch the article you wan't directly by its node...

Regards Bjørn

Vivek Chopra

Tuesday 11 May 2004 9:42:12 am

I haven't tried this but just an idea.

How about modifying the article clas and adding a checkbox for displaying this article on top. So if the checkbox is checked that article will be displayed on the top.

Just like how the sticky messages in the forum work. You can check the code in the forum template files.
let me know if this works.

Vivek

Mark Gilbert

Tuesday 11 May 2004 11:47:43 am

You would still have to edit the template to fetch those articles that have the box checked. Either way you are writing fetch code into the template used to display the list of articles. The check box method would be easier from a maintance perspective. Plus you could filter out the checked items when you display the rest of the articles.

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu