Jump to content


Photo

accessing component ACL asset outside component


  • Please log in to reply
No replies to this topic

#1 Ortix

Ortix

    Advanced Member

  • Members
  • PipPipPip
  • 38 posts

Posted 15 August 2014 - 04:08 PM

I have created a component with ACL which works perfectly fine. However I want to access the component ACL in the quickicon module to hide specific icons from specific usergroups.

 

Example:

JFactory::getUser()->authorise('partner.create.order', 'com_partner_portal')

 

This doesn't seem to work in the mod_quickicon module. Any ideas how I can get this to work? I tried joomla forums, stackoverflow and the IRC channel with no success. This is kind of my last resort other than hard coding the usergroup id's in the module






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

Cheap Linux VPS from $5
SSD Storage, 30 day Guarantee
1 TB of BW, 100% Network Uptime

AlphaBit.com