Hi there,
Im working on a small widget to place thumbs with information below an image
My idea was to create a custom field “thumbindex” and using the value of this field in the Widget I would refer to the right photo, text, etc…
For example:
{{{~Sectionthumb fieldindex=“1” spanclass=“span3”}}}
{{{~Sectionthumb fieldindex=“2” spanclass=“span3”}}}
{{{~Sectionthumb fieldindex=“3” spanclass=“span3”}}}
CUSTOM FIELDS VALUES:
text_1, img_1
text_2, img_2
text_3, img_3
etc…
GET VALUE FROM CUSTOM FIELDS:
cb.getCustomField(‘text_#fieldindex#’,0)
cb.getCustomField(‘img_#fieldindex#’,0)
etc…
With this I was expecting to get three different boxes with different content, using the fieldindex. But I got three exact same boxes all with fieldindex _1
so, my question is: Can I call the same Widget more than once and get different results in every call?
Thanks in advance
xerrano