Welcome, Guest
Username: Password: Remember me

TOPIC: Class not working on a link

Class not working on a link 25 Sep 2018 19:40 #15614

  • dyvel
  • dyvel's Avatar
  • Offline
  • Elite Member
  • Posts: 200
  • Thank you received: 11
  • Karma: 10

I added a class to a item view link.

The code for the link looks like this:
<?php echo JDom::_('html.fly', array(
						'dataKey' => 'company_name',
						'dataObject' => $row,
						'domClass' => 'uk-button',
						'route' => array('view' => 'token','layout' => 'token','cid[]' => $row->id),
						'target' => '_self'

However, no class is added to the link.

Did I do something wrong, or is this a bug?
The administrator has disabled public write access.
Time to create page: 0.082 seconds

Get Started