Kalarah Posted January 27, 2017 Share Posted January 27, 2017 Where do you edit to remove Recent Marketplace Extensions from the dashboard. I don't need to see that. Quote Link to comment Share on other sites More sharing options...
bsmither Posted January 27, 2017 Share Posted January 27, 2017 Even if we make an edit to the skin to not show this data, the codebase will still fetch it, consuming a second or two of time. So, in /admin_abcd/sources/dashboard.index.inc.php, near line 76: From: ## Get recent extensions if($GLOBALS['session']->has('recent_extensions')) { To: ## Get recent extensions if(true || $GLOBALS['session']->has('recent_extensions')) { This forces the assumption that we already fetched the list of recent extensions, whether or not we actually did, thus giving an empty result to the skin. Quote Link to comment Share on other sites More sharing options...
Al Brookbanks Posted January 27, 2017 Share Posted January 27, 2017 It makes a very small income which in turn helps development of your shop. Quote Link to comment Share on other sites More sharing options...
Kalarah Posted January 28, 2017 Author Share Posted January 28, 2017 10 hours ago, Al Brookbanks said: It makes a very small income which in turn helps development of your shop. I know it does. But Admins that I add dont need to see those. Now if there was a way that only I can see them, that would be fine. Quote Link to comment Share on other sites More sharing options...
bsmither Posted January 28, 2017 Share Posted January 28, 2017 In the admin template dashboard.index.php, near line 111: From: {if is_array($RECENT_EXTENSIONS)} To: {if is_array($RECENT_EXTENSIONS) && $smarty.session.__admin_data.super_user} This will have the Recent Extensions shown for "Super Admins". Super Admins have universal power. Non-Super Admins do not have universal power but rather have any number of permissions granted appropriate to their delegated responsibilities. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.