We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Forums

How to not show the "Tags" tab for a section

Development and Programming

jtnt's avatar
jtnt
137 posts
17 years ago
jtnt's avatar jtnt

I’m using the fancy new Tags module. However, I only want the tab (in the publish/edit entry screen) for it to show in one section on my site. For the life of me, I can’t figure out how to turn it off by section. Anyone know how to do this?

Thanks.

       
Cocoaholic's avatar
Cocoaholic
445 posts
17 years ago
Cocoaholic's avatar Cocoaholic

I don’t think the module has this feature (yet), so you might want to post a feature request is the Solspace forums. http://www.solspace.com/forums/viewforum/23/

For now you can easily hack out that weblog if you want to. You’ll need the ID of the weblog.

open /system/modules/tag/ext.tag.php and find this line (265 in my version)

$publish_tabs['tag']    = $LANG->line('tags');

change it to this, make sure the weblog_id is correct:

if ($weblog_id != 1)
{
    $publish_tabs['tag']    = $LANG->line('tags');
}
       
Jamie Poitra's avatar
Jamie Poitra
409 posts
17 years ago
Jamie Poitra's avatar Jamie Poitra

Yes,

This is something Mitchell and company would have add as a feature of the extension that handles that tab.

Or if you wanted to hack their extension you could do as Cocoaholic suggested. But, if you do it that way you will need to remember to re-implement your hack every time you upgrade the module.

Probably best to see if Mitchell will add that ability for you.

Jamie

       

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.