Use this extension to hide a weblog from your publish menu. Useful in conjunction with my static pages weblog if you have more than one weblog marked as “static”. To use, just install the extension, go to the “Settings” and select which weblogs to hide.
WARNING: This extension may not work in EE 1.6.0+.
Sweet. Good idea. Going to drop this one in right now.
I need the auto-notification forum feature that automagically tells me when Hout’s rolled out his latest EE extension. That or an RSS feed or mailing list. 😊
Update: works like a charm. Nice extension to use along with two of Marks creations - the “nested weblogs” extension (nested weblogs on publish page tab) and the “Page” module (static content publishing) as the “nested weblogs” extensions will disable a “Page” Module feature of removing the static weblog from the publish page.
Very nice extension!
It works perfectly when you set the Publish Tab Behavior to “Click”, but in any other case a click on the “publish” tab will show the publish page containing the list of all weblogs. Any chance of a fix to hide the weblogs there as well? 😊
btw, thanks for this:
$LANG->language['weblog_id_'.$blog['weblog_id']] = $blog['blog_title'];
$settings['weblog_id_'.$blog['weblog_id']] = array('s', array('hide'=>'Hide', 'show'=>'Show'), 'show');
I was just looking for a way to do that!
We’ll I’m not sure I would want it removed from the list on the actual publish page. The extension is meant to hide the weblog, not completely disable it. However, I can see where you may need this, so I’ll look into it for a future release.
Yea, that language thing ended up working out a lot nicer than I thought, one more point for EE making my life easier.
Wow, another search, another Mark Huot find. I had some static page weblogs showing up in my Publish menu with the layest version and I don’t recall that happening before so I thought something must have changed - or maybe I screwed up my Pages install.
At any rate, this works very well, thank you.
I agree with Rob, there needs to be some sort of RSS feed or something when Mark releases something. Maybe he deserves his own section of the forum.
I have this extension installed on a site right now and it was working perfectly until I made a new weblog - it’s hiding this new weblog and I don’t want that to happen! I double checked the settings and the weblog is set to “show” - but it doesn’t show up in the publish dropdown. It has a very common shortname (no dash or underscores, even): salespeople.
Seems like a few of my installed plugins are giving me problems on this particular site - and it’s not even a very complicated site. Maybe I have permissions wrong on a certain file?
This is the ONLY weblog that doesn’t behave. Every other I can show/hide correctly. Is there a setting that needs to be on? Thanks.
EDIT: Maybe I should note that this is the only weblog so far with a double-digit ID number?
mdesign, try grabbing the latest version at the top of the thread. I was searching for links a little loosely incase EE changed their syntax, but the result was that if you hid weblog 1 it would also hide 10, 11, 12, 13, 14 etc…basically anything beginning with one. You would have also seen hiding weblog id 2 would hide all the 20’s. Either way it’s fixed now.
Mark, thanks for taking the time to look.
OK, I grabbed it, cleared caches, actually disabled the old one and threw the files away, then uploaded the new files (language file too) and I still don’t see weblog 10, even when it is set to show. The extension appears to be behaving the same as before. Are you sure you zipped up the right file 😊 ?
I’m not sure if another extension is maybe conflicting somehow? I looked in the code and this seems like a pretty straightforward extension (I say that meaning: as compared to others I’ve seen). Almost every extension I have installed is yours anyway. 😉
katili - Do you have more than 9 weblogs on the site where you have this working perfectly? That is where I’m running into problems - I have 10 weblogs, so hiding weblog “1” will hide weblog “10” and “11”, etc.
Mark fixed this with 1.0.1, but I still can’t seem to get my #10 weblog to show up, because I’m hiding my first weblog :down:
Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.