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

For starters it's just so easy to design an app in a way that I'm used to i.e. database first then views followed by customization. The fork system is pure brilliance from a developer standpoint as I can override things and still add and update my projects with minimal effort! Truly amazing to be able to build components in Joomla using incremental refinement without having to do everything by hand. Thanks for the great tool! I am so much more productive now than ever and I can't imagine building components any other way!!!!
Dave (Forum)

Get Started