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.059 seconds

Let me first state that this is an amazing and fascinating product exactly what I was looking for. In just a few hours (listening to the very well made and clearly understandable videos learning doing) I completed and installed my first component. I am now in the second refining phase. I will make a recommenation in JED. Thanks for the effort in creating such a great product. Incidentally some of the best Joomla extension I use are of French origin !
Giori (Forum)

Get Started