Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2016-09-30 05:51:36

Bongo-man
Member
Registered: 2009-03-18
Posts: 243

HowTo call links in articles by means of their parent-category names

I need to have same links displayed in two different groups of articles.
Such articles share same categories (grouped in some parent categories).
The article parent-categories names match the names of the link categories.
So I would need to call such groups of links by means of the parent-categories of the articles in which the links should be displayed.

This is the expression I usually profit to have my links displayed:

<txp:linklist category=’<txp:section />’ limit=“2” form=“link-format1” />

—-Now I would need something like this:

<txp:linklist category=’<txp:parent_category />’ limit=“2” form=“link-format1” />

Is there any way to call parent-category names?

Last edited by Bongo-man (2016-09-30 06:33:20)

Offline

#2 2016-09-30 08:26:43

Bongo-man
Member
Registered: 2009-03-18
Posts: 243

Re: HowTo call links in articles by means of their parent-category names

TNX I’ve solved this issue in a different manner.

Last edited by Bongo-man (2016-09-30 08:27:37)

Offline

Board footer

Powered by FluxBB