I wanted to disable "Recommend to a friend" link in frontend and I just couldn't find the option to do it because it was enabled and hidden in the backend. This should be used with caution.
All fields are disabled
Only fields that are manually disabled are actually disabled and but all are hidden. This is bad from UX perspective.
Joomla 3.6
It would be great to extend this feature with following options:
onEnable
- default
/ value='1'
(change all values to 1
or some other value)onDisable
- default
/ value='0'
(change all values to 0
or some other value)<field
name="bar"
type="text"
showon="foo:1"
onEnable="value:1"
onDisable="default"
/>
Labels |
Added:
?
|
IMO this is a bug.
Either the showon shouldn't be there or the frontend is rendering the link when it shouldn't (since Show icons is disabled).
The showon
shouldn't be there because the parameter "Show Icons" doesn't disable the links below, it just decides if the links should be shown as text or icons.
My bad pr i think. I'll do a fix
Status | New | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2016-07-21 17:15:06 |
Closed_By | ⇒ | brianteeman |
Or to simplify even more
onEnable
oronDisable
are not presentonEnable="1"
and when button is turned on, all values of all options will be changed to1
onDisable
- same asonEnable
but when main button is turned off.