Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#1 2006-01-28 22:02:15
- theonlydrew
- Member
- Registered: 2006-01-10
- Posts: 21
properly nest/code custom field data in forms
Okay, well I can’t get rss_thumbpop usearticle to function, and the articlethumb is too hard for my clients to do on there own, since is involves them having to find out what the id is for certain articles.
So I was thinking, that I could just add a customfield called: Gallery, and then a user could put in the name of the image category into that field (which is suppose to be what the usearticle function does in rss_thumbpop, but well like i said, it just doesnt work). And then I could use the if_custom_field conditional so if they did put something into that field then it would trigger thumpop_gallery. My question is, how can I use the data they input into the custom field in the thumbpop tag.
What I need is something like this:
Lets say the user entered “cobhouses” into the Gallery custom field. How would I get that into the thumbpop tag?
{txp:if_custom_field name=“Gallery”}
{txp:rss_thumbpop category=”{txp:custom_field name=“Gallery” /}” mode=“table” /}
{/txp:if_custom_field}
I know this code doesnt work, but what does? Is there php i can place there instead of the “txp:custom_field name= “ so that I can give the rss_thumbpop category= the data stored in the custom field?
Does any of this make since? And has anyone had any luck making the usearticle feature workin rss_thumbpop, because I sure haven’t, it always says no pictures found.
Last edited by theonlydrew (2006-01-28 22:17:30)
Offline