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.080 seconds

I jumped and started to work on a demo component... but 2 days later this demo component became the real component. I just showed today the end result to my customer and he turned to me and said... "this is more than I expected"... All of this is because Cook did cut about 70% of my work and provided me more ways to improve the usability of the component. The end result was 17 tables all related between than to generate a full dashboard for the travel agents. Thanks for Cook developers for such great tool. This component would not be possible to be done at short time with all the features in it
Griiettner (Forum)  

Get Started