Welcome, Guest
Username: Password: Remember me

TOPIC: Unable to set the css class for the files

Unable to set the css class for the files 04 Nov 2014 15:33 #12744

  • vivek
  • vivek's Avatar
  • Offline
  • Premium Member
  • Posts: 123
  • Thank you received: 2
  • Karma: 2
Hi,
Unable to set the css class for the html fly file images.I tried the domclass option like below but not working.

<?php echo JDom::_('html.fly.file', array(
'attrs' => array('fit','format:png'),
'dataKey' => 'image',
'dataObject' => $row,
'height' => 24,
'indirect' => true,
'root' => '[DIR_MAKERS_IMAGE]',
'route' => array('view' => 'maker','layout' => 'maker','cid[]' => $row->id),
'target' => '_parent',
'width' => 24,
'domClass' => 'thumbnail'
));?>

Regards
Vivek
The administrator has disabled public write access.
Time to create page: 0.055 seconds

Get Started