Problem with custom admin roles

Hello,
 
I have a problem with the slideshow with a custom admin role.
 
When I try to access slideshow admin panel, it loads endlessly and nothing happens but the loader turning.
 
I tried to add :
    protected function _isAllowed() {
        return Mage::getSingleton(‘adminhtml’)->isAllowed(‘jmslideshow/adminhtml_index/listImages’);
    
    }
in app/design/adminhtml/default/default/template/jmslideshow/head.phtml.
 
The page loads now but I do not have all the admin otpions.
 
I really need some help here as my client can not edit slideshow.
 
Best regards,
David

6 answers

Profile photo of Mall Staff 184060.00 $tone April 27, 2016
Public

Hi David Porré,
Yes, i see the issue as you said. Did you install update the latest version of JM Slideshow for this site?
Also, i need to check further current settings of your site. Let’s provide me the super admin credentials.
Regards,
Mall.

#3
Profile photo of Mall Staff 184060.00 $tone April 27, 2016
Public

Hi David Porré,

When I try to access slideshow admin panel, it loads endlessly and nothing happens but the loader turning.

To solve the issue, let’s open the PHP file at path: app/code/local/JoomlArt/JmSlideshow/controllers/Adminhtml/IndexController.php
and add more bellow function:

protected function _isAllowed()
{
return true;
}

In your case, i have do it for you and the issue was solved. Please have a look.
Best regards,
Mall.

#4

Please login or Register to Submit Answer

Written By

Comments