test
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • h2nation Friend
    #158912

    I have run into a sticky issue. I am using JA Portfolio 1.6 installation. The mod-slideshow will not allow any changes to be made. A little dropdown appears with NO_PERMISSION. I have uninstalled and reinstalled the module. I have deleted the installation and reinstalled. I have check file permissions, I have checked Super admin permissions. Nothing seems to work.
    I can supply login if needed.

    thuanlq Friend
    #372324

    Hi @h2nation,

    The problem is bug of jaslideshow fixed in the latest version. Or you can quick fix this problem as following:
    – Open “helper.php” file in folder “modules/mod_jaslideshow/admin/”.
    – Change some lines code as following:
    Change


    $user = JFactory::getUser(); /*Begin changing*/
    ...
    /**
    * modJAAnimation class.
    *
    */
    /*End changing*/

    To


    $user = JFactory::getUser();
    $allowGroups = array('Super Users', 'Administrator', 'Manager');
    $finded = false;

    foreach($user->groups as $group=>$group_id)
    {
    if(in_array($group,$allowGroups) || in_array($group_id, $allowGroups)){
    $finded = true;
    break;
    }
    }

    dric83 Friend
    #372329
    h2nation Friend
    #372757

    Thank You! it worked.

    jimcom76 Friend
    #373169

    opps found the answer thanks to dric83

Viewing 5 posts - 1 through 5 (of 5 total)

This topic contains 5 replies, has 4 voices, and was last updated by  jimcom76 13 years, 10 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum