Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#1 2010-01-03 07:06:00
- Bongo-man
- Member
- Registered: 2009-03-18
- Posts: 243
Linklist on the basis of some keywords at the top of page keyword list
I would like to list some specific links from a certain category, in a specific page by means of a very generic istruction.
I’m wondering if could be possible to have for example 5 links listed in only some pages on the basis of the first keywords I placed in the default keywords’ custom-field, or better on the basis of the keywords that are in the permalink, or on the basis of the keywords in the page title.
For axample we could an ipotetic flow-chart like this:
<txp_if_custom_field name=“x”>
<txp:linklist sort=“random(), url_keywords” limit=“5” form=“links” wraptag=“ul” break=“br”>
</txp:linklist>
</txp:if_custom_field>
How can I can take advantage of the existing tag attributes to get something like above?
Is it the attribute ‘url’ intended as ‘permalink’?
….in other case i would use the description!
… any advice about it?
Is this possible?
Last edited by Bongo-man (2010-01-04 14:02:29)
Offline