Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
[SOLVED] Section article image(s)
Evening all
Probably being a complete dunce but can’t see how best to do this.
I have a section which I want only to ever show a single article.
I want that article to have one or more images associated with it.
Now, I have a unique page for that section but how do I then pull images that have been specifically associated with that article (through the Article image field) into the section page?
Cheers in advance
</txp:numpty>
Cole
Last edited by coleh (2008-10-29 00:30:52)
Jack of all trades, Doctor of one
Offline
Re: [SOLVED] Section article image(s)
I am a dolt.
Just realised that to output the article images these have to be parsed as part of the/an article form rather than as part of the page code.
For example, in the section page I use the tag:
<txp:article_custom form="default_fixed" limit="1" />
and in the form ‘default_fixed’ I would use the following tags:
<h1><txp:title /></h1>
<txp:body />
<txp:article_image />
Sorry folks but hope this is of use to someone out there
Jack of all trades, Doctor of one
Offline
Pages: 1