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.106 seconds
Great UX great performance and definitely a time saver. It only took me 10 minutes of playing around before purchasing a subscription and right now I just want to throw more money at you! I just started a new project and after just 4h I can already tell it probably saved me several days of work. I'm building a wholesale ordering system with sales rep management. I have not looked at the code yet but so far: impressive.
flip (Forum)

Get Started