Loading...
 
Features / Usability

Features / Usability


This kind of Articles must stay on top !

posts: 8633 Israel

Hi,

I use Articles Plugin on my wiki home page.

Great !

This particular month i have an articles that covers all the month and should stay on top.

But as articles are added (1/2 each day), this Article will desappear very soon.

Is there a way to prevent this ?

A way to set that a particular type (or subject) to stay on top ?

A way to add another Articles_plugin on the same page that will shown THIS specified article ?


Thanks
Yoni

posts: 1092

ONe solution in 1.9 is to use a wiki page with 2 calls to the articles plugin.
THe first one with a param topic = the topic of your global article.
The second with the topic of the other articles (you have to set a topic to each article)
(this will not affect the default home-articles so the menu must change to link to the wiki pages)

posts: 8633 Israel

As suggestion,

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

On a wiki page using the plugin article.

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

With this parameter set to OFF,
The plugin Aticles display all "article type" BUT admininfo.

With this parameter set to ON,
The plugin Aticles display all "article type" but last admininfo alway stay on top.

With this parameter set to MIXT (or not set),
The plugin Aticles 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: 113 Ireland

I tried to add two references to the article plugin in a wiki page (with MODULE wrapped around them):

(module=articles,title=Status,type=Admin)
(module=articles,title=Latest,type=Article)

but I got two copies of the Admin articles. If I switch the order of the lines, I get two copies of the Article. So I know the syntax is correct, but for some reason, the parameters of the second are not read. This is with 1.9RC3

Ideas?

posts: 2881 United Kingdom

try this:

Copy to clipboard
{ARTICLES(topic=>Status, max=>1)/} {ARTICLES(topic=>News, max=>3)/}


This requires you to have 2x topics not types! setup in Admin->Topics

Then when you have a status article, choose the Status Topic, otherwise just choose the News topic. Of course you can change the names of the topics as you need.

Damian


Upcoming Events

1)  18 Apr 2024 14:00 GMT-0000
Tiki Roundtable Meeting
2)  16 May 2024 14:00 GMT-0000
Tiki Roundtable Meeting
3)  20 Jun 2024 14:00 GMT-0000
Tiki Roundtable Meeting
4)  18 Jul 2024 14:00 GMT-0000
Tiki Roundtable Meeting
5)  15 Aug 2024 14:00 GMT-0000
Tiki Roundtable Meeting
6)  19 Sep 2024 14:00 GMT-0000
Tiki Roundtable Meeting
7) 
Tiki birthday
8)  17 Oct 2024 14:00 GMT-0000
Tiki Roundtable Meeting
9)  21 Nov 2024 14:00 GMT-0000
Tiki Roundtable Meeting
10)  19 Dec 2024 14:00 GMT-0000
Tiki Roundtable Meeting