Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
#1 2009-03-09 21:50:46
- antonhor
- New Member
- Registered: 2009-03-05
- Posts: 7
wet_for_each_image
Hy!
Im using the plugin on a site and what i’m trying to achieve is to have a page on which an article is displayed that has the custom field 1 defining the category of the images to display.( i limit it to one image) and on the right of the image i have some txt links displaying numers that would have to link to the same page where the main image changes. iu managed to display the big image and the links but i dont know how to link them.
Main page display article code:
<txp:wet_for_each_image limit=“1” image_id=“215” category=”<txp:rei_show_custom customid=“1”/>” />
(displays the big image)
<txp:wet_for_each_image wraptag=“ul” break=“li” form=“wethumbs” category=”<txp:rei_show_custom customid=“1”/>” />
(displays the numbers that would have to change the main picture ( the numbers are written as the caption of the image)
im using the form wethumbs:
<txp:permlink ><txp:upm_image image_id=”{id}”><txp:upm_img_caption /></txp:upm_image></txp:permlink>
but nothing happens, the page refrehes and the image remains the same. I know that permalink isnt the right way maybe but i don’t know any other. Any ideas how to do that?
Thanx
Offline
Re: wet_for_each_image
Try to use single ‘quotes’ for parsing tags-in-tags
Last edited by the_ghost (2009-03-09 22:01:04)
Providing help in hacking ATM! Come to courses and don’t forget to bring us notebook and hammer! What for notebook? What a kind of hacker you are without notebok?
Offline
Pages: 1