Welcome, Guest
Username: Password: Remember me

TOPIC: Tables / Data Types ?

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

  • tiagovtg
  • tiagovtg's Avatar
  • Offline
  • New Member
  • Posts: 19
  • Karma: 0
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
The administrator has disabled public write access.

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

  • MorganL
  • MorganL's Avatar
  • Offline
  • Platinum Member
  • Posts: 438
  • Thank you received: 53
  • Karma: 15
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 administrator has disabled public write access.
The following user(s) said Thank You: admin

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

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 987
  • Karma: 140
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 administrator has disabled public write access.
The following user(s) said Thank You: MorganL

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

  • tiagovtg
  • tiagovtg's Avatar
  • Offline
  • New Member
  • Posts: 19
  • Karma: 0
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
The administrator has disabled public write access.
Time to create page: 0.239 seconds

Get Started