Welcome, Guest
Username: Password: Remember me

TOPIC: How to customize toggable bool

How to customize toggable bool 25 Jan 2018 10:05 #15496

  • Marvinn
  • Marvinn's Avatar
  • Offline
  • Junior Member
  • Posts: 24
  • Karma: 0
Hy,
How to customize toggable bool type?
I configure big button, editable button title and button class?

Yes/no type button class: btn btn-micro active hasTooltip and button title JES or NO or text.
The administrator has disabled public write access.

How to customize toggable bool 28 Jan 2018 09:43 #15497

  • VeCrea
  • VeCrea's Avatar
  • Offline
  • Platinum Member
  • Absolute JCook fan
  • Posts: 473
  • Thank you received: 100
  • Karma: 30
Please elaborate on what you want. Do you need to change the text or the looks of the button ?
The administrator has disabled public write access.

How to customize toggable bool 28 Jan 2018 15:09 #15499

  • Marvinn
  • Marvinn's Avatar
  • Offline
  • Junior Member
  • Posts: 24
  • Karma: 0
I change button text in toggle bool type. Not yes or no text in button, any text button: submit this button or anything. I change button class, btn or anything.

Edit:
<?php echo JDom::_('html.fly.bool', array(
	'dataKey' => 'working',
	'dataObject' => $row,
	'togglable' => true,
	'viewType' => 'both',
	'namespace' => 'any_class_name'
));?>

namespace = clanssname
Last Edit: 29 Jan 2018 09:22 by Marvinn.
The administrator has disabled public write access.

How to customize toggable bool 30 Jan 2018 11:02 #15500

  • VeCrea
  • VeCrea's Avatar
  • Offline
  • Platinum Member
  • Absolute JCook fan
  • Posts: 473
  • Thank you received: 100
  • Karma: 30
Still don't get it. Is it for all toggable ? What do you want to get ? What kind of result ?
A button with some text in it that would change if you click on it ?
Last Edit: 30 Jan 2018 11:10 by VeCrea.
The administrator has disabled public write access.
Time to create page: 0.143 seconds

Get Started