Loading...
 
Skip to main content

Features / Usability


Making article appear at top

How do I make an article appear at the top of all listed articles? ("Sticky" tag or whatnot)?

You could do this on the view_articles page but it would take modifying the code by adding a "sticky topic" db request section. An easier way without code changes would be to make a wiki page to display articles using the articles plugin. You can get the effect you want by using the plugin twice. This plugin can be configured to display only articles of a particular topic. The first (top) instance of the plugin one would have a "Sticky topic" parameter, and the second would be "normal" — i.e., no topic set or whatever general news topic you want. The page would look like a single list of articles, but the "sticky" one would always display first.

-- Gary - themes.tw.oQuestion


> You could do this on the view_articles page but it would take modifying the code by adding a "sticky topic" db request section. An easier way without code changes would be to make a wiki page to display articles using the articles plugin. You can get the effect you want by using the plugin twice. This plugin can be configured to display only articles of a particular topic. The first (top) instance of the plugin one would have a "Sticky topic" parameter, and the second would be "normal" — i.e., no topic set or whatever general news topic you want. The page would look like a single list of articles, but the "sticky" one would always display first.

How exactly do I do that? Is there a HOWTO, especially for the first method? (IE can you post a link to modified code?)

Thanks,

Jonathan Hayward
http://JonathansCorner.comQuestion

> > You could do this on the view_articles page but it would take modifying the code by adding a "sticky topic" db request section......
>
> How exactly do I do that? Is there a HOWTO, especially for the first method? (IE can you post a link to modified code?)

I'm not aware of it anywhere; someone would have to do it first.

-- Gary - themes.tw.oQuestion