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?
ahh I knew there was already a thread out there. I just could seem to find it. thanks a bunch!
No problem, glad I can actually be of some use.
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.
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.
<!--<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.
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.
You can use the same rule of copying the file and placing it in you user elements directory outside the core directory to override.
This thread should be useful, I have used with success the code in JimboJetSets 2nd comment.