Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC:

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

  • Marvinn
  • Marvinn's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 24
  • Thank you received: 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.

Please Log in or Create an account to join the conversation.

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

  • VeCrea
  • VeCrea's Avatar
  • Offline
  • Platinum Member
  • Platinum Member
  • Absolute JCook fan
  • Posts: 473
  • Thank you received: 100
Please elaborate on what you want. Do you need to change the text or the looks of the button ?

Please Log in or Create an account to join the conversation.

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

  • Marvinn
  • Marvinn's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 24
  • Thank you received: 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

Please Log in or Create an account to join the conversation.

Last edit: by Marvinn.

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

  • VeCrea
  • VeCrea's Avatar
  • Offline
  • Platinum Member
  • Platinum Member
  • Absolute JCook fan
  • Posts: 473
  • Thank you received: 100
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 ?

Please Log in or Create an account to join the conversation.

Last edit: by VeCrea.
  • Page:
  • 1
Time to create page: 0.121 seconds

Les générateurs de code je les connais presque tous pour les avoir essorés en long en large et en travers ... mais celui ci c'est vraiment un outil formidable de simplicité et d'efficacité !
Marc. (liubov - Forum)

Get Started