Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#1 2007-12-22 11:49:16
- FireFusion
- Member
- Registered: 2005-05-10
- Posts: 698
Articles with a custom field
<txp:article_custom custom_1=“DVD” />
Last edited by FireFusion (2007-12-22 12:44:01)
Offline
Re: Articles with a custom field
Do you mean using “customfield_1” as an attribute name instead of using the label set for the custom1 field in the preferences?
Offline
#3 2007-12-22 12:43:50
- FireFusion
- Member
- Registered: 2005-05-10
- Posts: 698
Re: Articles with a custom field
I mean display only a list of articles which contain the text “DVD” in custom field 1. So the ability to display list of articles based on the content of their custom fields.
Offline
Re: Articles with a custom field
doesn’t it already have this?
http://textbook.textpattern.net/wiki/index.php?search=article_custom
customfieldname=“value” Restrict to articles with specified value for specified custom field name. Replace “customfieldname” with the name of the custom field. Default is unset.
Offline
Re: Articles with a custom field
It does. Instead of “customfield_1” use the label that you’ve gave that custom field in the TXP preferences.
Offline