Sackgesicht VIP
Total posts: 1,636
18 Nov 2012 19:29

I believe something went wrong with the last update.

The radio field (and maybe other "select" fields as well) does not support additional output templates.

Last Modified: 02 Mar 2014


Sackgesicht VIP
Total posts: 1,636
18 Nov 2012 19:39

Addition ... the "default" template should be tailored/optimized towards the radio button and not just be a copy of the checkbox field.

The radio button should also include a display parameter similar to the resources field like "Values per row".


Sergey
Total posts: 13,748
18 Nov 2012 20:36

I have fixed it. or immediate fix open file com_cobalt/library/php/fields/cobaltselectable.php line 250 and change.

return $this->_display_output($this->type, $client, $record, $type, $section);

to

return $this->_display_output($client, $record, $type, $section);

Sackgesicht VIP
Total posts: 1,636
18 Nov 2012 20:51

ok .. working now ... :)


Sackgesicht VIP
Total posts: 1,636
19 Nov 2012 03:12

What do you think about this parameter, i mentioned above:

The radio button should also include a display parameter similar to the resources field like "Values per row".

it is not difficult to add this into a diferent template, but if the parameter would be in the field parameters, it would avoid the creation of several additional templates, depending on the number of desired values per row.

It can have the default 1, then it is like now ... :)


Sergey
Total posts: 13,748
20 Nov 2012 02:37

I think to add to Cobalt 8.

Powered by Cobalt