Hide the Marketplace

Permalink 1 user found helpful
Is there anyway to hide the marketplace tab when adding blocks to an area? If so how?

bryanlewis
 
JackRoyleMBS replied on at Permalink Best Answer Reply
JackRoyleMBS
http://www.concrete5.org/community/forums/documentation_efforts/removing-the-and039add-from-marketplaceand039-tab-in-and039add-b/

This thread should be useful, I have used with success the code in JimboJetSets 2nd comment.
bryanlewis replied on at Permalink Reply
bryanlewis
ahh I knew there was already a thread out there. I just could seem to find it. thanks a bunch!
JackRoyleMBS replied on at Permalink Reply
JackRoyleMBS
No problem, glad I can actually be of some use.
BHWW replied on at Permalink Reply
BHWW
After much trialing, I have actually found that to keep Marketplace support enabled in the dashboard but remove the tab you can copy /concrete/elements/header_required.php to /elements/header_required.php and comment out line 176 to just remove the tab.

<!--<li><a href="javascript:void(0)" id="ccm-add-marketplace"><?php echo t('Add From Marketplace')?></a></li>-->


Disabling Marketplace support (as in the post linked to by Jack) has some issues with various addon's I have found and I would no longer recommend this method.
SoulDesigns replied on at Permalink Reply
SoulDesigns
Actually it is not the header_required.php that you need to edit. It is the block_area_add_new.php and comment out line #179

You can use the same rule of copying the file and placing it in you user elements directory outside the core directory to override.