Loading...
 
Features / Usability

Features / Usability


Content templates and Articles

posts: 46 Portugal

Hi there,
I'm building a content template in order to make my wikipages in a certain section with the same layout. For each Wiki page (i.e. each subject) there is an topic (in the articles section) associated. My question is: is there any easy way to, at the top of each page present the title of the last 5 articles of a given topic. For example in a box something like this:
{BOX(title=>Latest News on subject aaaa,align=>right)}
{ARTICLES(id=>1, max=>5)}{ARTICLES}
{BOX}

Thanks very much for your help in advance.

Luis Pedro

posts: 1092

there is an additional paramter to the wiki plugin ARTICLES
ARTICLES(max=>3,topic=>topicId)}{ARTICLES}

Nerver try it, but it is in the code


posts: 46 Portugal

Hi,
Thanks very much for your help. Just a small correction.
Actually it works but like this:
{ARTICLES(max=>3,topic=>TopicName)}{ARTICLES}

The only diference is that, instead of topic=>TopicId, it should be used topic=>TopicName

In any case, this will get the full article, and what I really need is to get only the title of the last 3 articles in a given topic... Any other hint?

see you

Luis Pedro


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