Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC:

Image in button, radio button with bootstrap 06 Jul 2013 21:15 #7897

  • VeCrea
  • VeCrea's Avatar Topic Author
  • Offline
  • Platinum Member
  • Platinum Member
  • Absolute JCook fan
  • Posts: 473
  • Thank you received: 100
I have a fk displaying it's data with RADIO as control.
Boostrap takes it and transforms it in a button group : nice, it works. But what if the field pointed by the fk is an image ? Could i display the image instead of the name of the image in thebutton ?
Thanks for any help.

Please Log in or Create an account to join the conversation.

Image in button, radio button with bootstrap 07 Jul 2013 12:54 #7902

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 986
I never tried that.
You can try to create a new JDom class for that, using the bootstrap buttons.
Of course, you will need to call html.fly.image inside in order to get the right image url.
It should not be difficult.
Coding is now a piece of cake

Please Log in or Create an account to join the conversation.

  • Page:
  • 1
Time to create page: 0.074 seconds

First of all... I have to congratulate you guys for the awesome tool... I came here only to see what this thing was up to and I have to tell that I'm very impressed with what this tool can do. French guys are making a revolution on Joomla... first with Seblod and now Cook...
Griiettner (forum)

Get Started