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

TOPIC:

enumeration radio does not work 05 Dec 2016 03:14 #14814

In the components I have already done, if you upgrade, the radio does not work anymore,
Error location
/libraries/jdom/html/form/input/select/radio.php on line 76

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

Last edit: by jeisonsan.

enumeration radio does not work 07 Dec 2016 00:45 #14816

When the input is of type enumeration and format radio does not display anything.
I need to update some components and finish but without this working will harm me.

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

Last edit: by jeisonsan.

enumeration radio does not work 07 Dec 2016 12:30 #14819

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 986
Ah... ok.
With enumeration, I didn't tried. That's why.

When you precise the context (PTL), it is always more easy for me to find out the bugs.
Hold on. I am fixing that.
Coding is now a piece of cake

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

enumeration radio does not work 07 Dec 2016 13:14 #14822

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 986
Fixed.

Also, when you use Bootstrap radio buttons, you can specify the color and Icon in your enumeration list (manual, but simple)
return array(
	'my_value' => array(
		'value' => 'my_value',
		'text' => 'MY_LANG_STRING_FOR_THE_TEXT',

// ICON
		'icon' => 'cog',

// BOOTSTRAP COLOR
		'color' => 'danger',
	),

	...
Coding is now a piece of cake

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

enumeration radio does not work 07 Dec 2016 13:23 #14823

Thank you

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

enumeration radio does not work 17 Dec 2016 20:31 #14855

Now it is no longer displayed as a radio, but as select

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

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

Although I found this tool some time ago I just started learning experimenting and building this first component on Monday and now on Thursday afternoon it's already online. Although I already had a working version done with another tool this is much easier to build and at the end you have the freedom to own your own component. Once you know how to use Cook you will boost your productivity as the learning curve is really moderate compared to many other tools.
Giori (Forum)

Get Started