Loading...
 
Development

Development


Top_type Plugin articles suggestion

posts: 8320 Israel

As suggestion,

We can imagine an article plugin parameter (i.e: istoptype) working in conjuction with a particular option in the article type parameters - i.e: Type is : "istoptype".

On a wiki page using the plugin article.

With this parameter set to ONLY,
The plugin Articles display only article type "istoptype" alone.

With this parameter set to OFF,
The plugin Aticles display all articles types BUT "istoptype".

With this parameter set to ON,
The plugin Aticles display all articles types" but the last "istoptype" alway stay on top.

With this parameter set to MIXT (or default),
The plugin Articles display all articles.


With this, articles are shown on a page keeping a admin (webmaster) important annoncement always on top of it. (great for website general monthly information OR a warning about something).

Neat ! :-)

Yoni

posts: 2881 United Kingdom

Hi

I have a site that basically have 3x Article Topics News, Left and Right. Then on my wiki page I use:

{ARTICLES(topic=>News,max=>1)/}
{SPLIT()}
{ARTICLES(topic=>Left,max=>5)/}
---
{ARTICLES(topic=>Right,max=>5)/}
{SPLIT}


and I get one "webmaster news" article show on the top and a two column underneath of stories.

Damian