• Facebook
  • Twitter
  • Yahoo
  • Linkedin
  • Google
  • Live

Ultimate Videos: Compatible with Pages app installed from phpFox Store

Updated: Oct 10, 2017

Issue: Unable to go to detail page of Pages app

Solution:

Please go and edit this file: PF.Site/Apps/YouNet_UltimateVideos/hooks/pages.component_controller_view_build.php

Find the below code:

$val = Pages_Service_Pages::instance()->hasPerm($aPage['page_id'], 'ultimatevideo.share_videos');

Change to:

$val = Phpfox::getService('pages')->hasPerm($aPage['page_id'], 'ultimatevideo.share_videos');

6
  • October 10, 2017
  • 0 Comment(s)
Category: Ultimate Videos
Be the first person to like this