I’ve found clients are confused when using the Pages module to see those weblogs in the publish tab. This extension allows you to remove weblogs from said tab. This only works on the hover state - if you click the publish tab and go to the resulting page you will see all your weblogs.
Special thanks to the_butcher for allowing me to trim 500+ lines of code from the extension 😉
Usage Step 1: Enable the extension, and in the settings add all the weblog names you would like to hide. You can select multiple weblogs from the list. Step 2: Select which member groups you would like this extension to apply to (other groups will see all weblogs in the publish tab). Step 3: Enjoy!
Requirements EE 1.5 or higher. This has only been tested on 1.6.1, but it should work fine on 1.5 or higher. Please let me know if you have any issues.
Current Version 1.2
Version History
1.2 - Changed extension to allow weblogs to be hidden for specific member groups (Thanks Zac G.!)
1.1.2 - Changed the extension priority to the lowest possible to limit extension conflicts.
1.1.1 - Modified the extension to work with PHP4 (required PHP5 previously).
1.1.0 - Changed the way you choose weblogs in the settings area - much easier to hide a large number of weblogs, or weblogs with long names.
1.0.1 - removed some unnecessary code, and fixed a PHP warning if the extension was enabled and you didn’t have any weblogs in the settings.
Actually I didn’t realize there was an extension that already did this.
I’m actually reworking the extension - there are different ways of doing it and I want to give the option to hide entries in the edit menu as well (although as I delve deeper I’m not sure if this is going to work).
The release above literally only hides them from the hover publish tab - if you click on that tab and get to the publish page it still shows all the weblogs. Very far from perfect I know…
You might want to take a look at Mark’s Hidden Weblogs extension to see how he went about doing it - might spark an idea. I’m not sure why Mark hasn’t updated his for 1.6, but if yours works I’ll use yours because I could really use it on a few sites I have going right now!
Currently it works but only hides from the hover publish tab (not on the resulting page if you click on the publish tab). I’m not sure if Mark’s did more than that? I’m not going to have time to do any more until this weekend. Weblog entries show in the edit page, even if they’re on the hidden list.
Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.