Hide 'Get More Themes' link in design

Permalink 2 users found helpful
Hi, i've set up a website for a client but I don't want them to have access to ther themes as they may well mess the site up etc..

Is there a way for me to hide the link when a user clicks on the design button when logged in. There are two tabs, one says 'Current Theme' and the other says 'Get More Themes'. I would like to hide this second link if possible.

See attached image of what I mean.
Many thanks

1 Attachment

 
c5studio replied on at Permalink Reply
c5studio
If you add the following line to your config/site.php, it will disable access the marketplace and then that link won't show up.

define('ENABLE_MARKETPLACE_SUPPORT', false);


But it will also prevent you from connecting to the marketplace to directly install add-ons and themes.
webfeet replied on at Permalink Reply
Hi,

thanks for that but I get an error message when I add this line of code.

Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /homepages/27/d194522123/htdocs/lifestileDirect/config/site.php:12) in /homepages/27/d194522123/htdocs/lifestileDirect/concrete/startup/session.php on line 18
Warning: Cannot modify header information - headers already sent by (output started at /homepages/27/d194522123/htdocs/lifestileDirect/config/site.php:12) in /homepages/27/d194522123/htdocs/lifestileDirect/concrete/libraries/view.php on line 758


Is it in the root folder/config/site.php?

Cheers
cursal replied on at Permalink Reply
cursal
To fix that error try removing the php tags and just use

define('ENABLE_MARKETPLACE_SUPPORT', false);

make sure that snippet is up inside current tags.

i.e
define('BASE_URL', 'http://www.yoursite.net');
define('DIR_REL', '');
define('ENABLE_MARKETPLACE_SUPPORT', false);