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

TOPIC:

Tables / Data Types ? 27 Apr 2015 13:05 #12929

Hello

I am creating a component and do not know how some fields.

How do by, for example:

checkbox

radio button

group buttons and checkboxes

Thank you

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

Tables / Data Types ? 27 Apr 2015 15:09 #12933

Checkbox - This is the BOOLEAN data type and you can have it as various types when you add it to your form (checkbox, radio, select)

Radio List - This is either a FOREIGN KEY or ENUMERATION (or boolean if only two options). When you create your FORM, drag the field onto the brick, click the PROPERTIES button and you have a dropdown which has the options of LIST, COMBO, RADIO. Radio will do a radio list

I dont think there is a field type for checkbox groups / buttons but it is not much effort post coding to convert a radio list into a checkbox group
Morgan Leecy MCSE

Novell / Linux
PHP. MYSQL, Apache, node.js
Coldfusion, JQuery, HTML5
Joomla
The following user(s) said Thank You: admin

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

Tables / Data Types ? 27 Apr 2015 15:22 #12938

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 986
Check box is not proposed yet.

Radio button : you can change the control it in the properties, but the coming release is much improved for that.
This is available only for lists (FK, enums)

checkboxes refers to N:1 or N:M, wait few weeks it is coming soon.

The final rendering of Cook component can be improved for sure.
This is my preoccupation for next upgrades.
Coding is now a piece of cake
The following user(s) said Thank You: MorganL

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

Tables / Data Types ? 27 Apr 2015 16:01 #12947

I'm testing the two fields, Bool and Enumeration.

The Bool has a checkbox option, but the Enumeration has not.

In case I need, is an Enumeration where items are boxes.

But I will wait for your next update.

The J-cook is very good, continue making improvements, I will recommend it to all my friends.

I have 2.2 million followers on face only about joomla.

www.facebook.com/groups/joomlapro/

Will be welcome, but the official language is portuguese

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

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

Awards for the best Joomla app. This product is gonna win an award for this amazing job. Cook Self Service is the the best application from all over the Joomla universe ! It brings Joomla to a professional level really advanced for developers. It is a real fun to develop with it. The ACL part and security checks implementation are just... so much hours saved. I can now concentrate myself more on the design part and the creative works. Thank you so much. Guys I offer you all my congratulation ! Keep up the works because Joomla is needing it to increase the quality of extensions availables on the JED. I also learned a lot because I can see how to code at the proper place and I found all my answers reading the forum.
lack_hanson (JED)
          

Get Started