Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2006-02-02 18:47:33

bejo
New Member
From: Berlin
Registered: 2006-02-02
Posts: 4

Links per article

I would like to associate links (f.e.: “Get more information on this topic”) to articles by defining link categories that are formed: category= ‘article-ID of article’. I want to call this link categories via the ‘TXP linklist’-Tag.

To do so, I somehow have to pass the ID’s of the articles to the category-value of the ‘TXP linklist’-Tag. In the forum i read, that I can write some php-Code into the ‘TXP linklist’-Tag, like:

<code><txp:linklist category=“article-<txp:php> … </txp:php>”/></code>

As a complete php-novice, I don’t get any further on this question. Can someone please post the right code or give me a hint to a different solution? Thanks a lot in advance.

Last edited by bejo (2006-02-02 19:03:29)

Offline

Board footer

Powered by FluxBB