Making article appear at top Posted by Jonathan Hayward 23 Mar 2006 22:19 UTC How do I make an article appear at the top of all listed articles? ("Sticky" tag or whatnot)?
Posted by Gary Cunningham-Lee 24 Mar 2006 01:39 UTC 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.o
Posted by Jonathan Hayward 24 Mar 2006 14:56 UTC > 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.com
Posted by Gary Cunningham-Lee 25 Mar 2006 09:19 UTC > > 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.o