Dropdown element replace with icons

Status
Not open for further replies.

jo-ka

Member
I have a dropdown element with 2 options and values:

0 - > Published
1 - > Unpublished

I was trying to replace Published and Unpublished values with icons.

I followed this thread http://fabrikar.com/forums/index.php?wiki/image-overrides/ and put the icons in media/com_fabrik_images folder.

The problem is that only the first record renders the image. All the other records return the value 0 or 1.

Am i missing something?

I'm using Fabrik 3.1RC2 on Joomla 2.5.17
 
I was misunderstanding the concept.

I need to name the images with the values an not with the labels.

Case closed. :)
 
I'm sorry to get back to the point.

I've managed to get it working by naming the image file to 0.png and 1.png. OK, it's working.
But when i select the option Icon hover text i would like to have the value Label and not the value itself.

This was working if i had the icon file named like Published.png or Unpublished.png (The label, of course) but then the problem is what i've posted firstly in this thread, this is, only the first record renders the image.

Any help?
 
Yes, that's the point. I've set the values to the same that the labels and the problem is solved.

I was just trying to use a small database field, but in these days that's not so sensitive.

BR
 
Status
Not open for further replies.
We are in need of some funding.
More details.

Thank you.

Members online

No members online now.
Back
Top