EllisLab text mark
Advanced Search
1 of 4
1
   
Hidden Weblogs
Posted: 02 December 2006 11:44 PM   [ Ignore ]
Avatar
Joined: 2006-01-05
632 posts

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+.

File Attachments
ext_hidden_weblogs_103.zip  (File Size: 2KB - Downloads: 1355)
 Signature 
 
Posted: 03 December 2006 03:26 AM   [ Ignore ]   [ # 1 ]   [ Rating: 0 ]
Avatar
Joined: 2004-10-10
265 posts

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. smile

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.

 Signature 

Twitter: @RobQuigley

 
Posted: 03 December 2006 02:18 PM   [ Ignore ]   [ # 2 ]   [ Rating: 0 ]
Avatar
Joined: 2006-01-05
632 posts

Thanks Rob, actually for the next version of Pages, I’ve removed the ability to hide the static weblog, seeing this extension as a much cleaner method.

 Signature 
 
Posted: 04 December 2006 04:33 AM   [ Ignore ]   [ # 3 ]   [ Rating: 0 ]
Avatar
Joined: 2002-02-05
462 posts

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?  smile

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!

 
Posted: 04 December 2006 12:13 PM   [ Ignore ]   [ # 4 ]   [ Rating: 0 ]
Avatar
Joined: 2006-01-05
632 posts

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.

 Signature 
 
Posted: 18 December 2006 10:56 AM   [ Ignore ]   [ # 5 ]   [ Rating: 0 ]
Avatar
Joined: 2006-03-26
1664 posts

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.

 Signature 

ryan masuga
—————
Masuga Design | devot:ee
@masuga | @masugadesign | @devot_ee

 
Posted: 24 January 2007 02:28 PM   [ Ignore ]   [ # 6 ]   [ Rating: 0 ]
Avatar
Joined: 2006-03-26
1664 posts

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?

 Signature 

ryan masuga
—————
Masuga Design | devot:ee
@masuga | @masugadesign | @devot_ee

 
Posted: 24 January 2007 03:07 PM   [ Ignore ]   [ # 7 ]   [ Rating: 0 ]
Avatar
Joined: 2006-01-05
632 posts

What is the name of the weblog?  In fact it would be helpful to have the name of all your weblogs.

 Signature 
 
Posted: 24 January 2007 03:36 PM   [ Ignore ]   [ # 8 ]   [ Rating: 0 ]
Avatar
Joined: 2006-03-26
1664 posts

Hi Mark, I’ve attached 3 pics: one showing all the weblogs, another showing the extension settings, and another showing the menu when open - “salespeople” is not showing. Thanks for taking a look.

Image Attachments
weblogs.pngext_settings.pngresult.png
 Signature 

ryan masuga
—————
Masuga Design | devot:ee
@masuga | @masugadesign | @devot_ee

 
Posted: 24 January 2007 03:45 PM   [ Ignore ]   [ # 9 ]   [ Rating: 0 ]
Avatar
Joined: 2006-01-05
632 posts

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.

 Signature 
 
Posted: 24 January 2007 04:05 PM   [ Ignore ]   [ # 10 ]   [ Rating: 0 ]
Avatar
Joined: 2006-03-26
1664 posts

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 smile ?

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. wink

 Signature 

ryan masuga
—————
Masuga Design | devot:ee
@masuga | @masugadesign | @devot_ee

 
Posted: 24 January 2007 04:19 PM   [ Ignore ]   [ # 11 ]   [ Rating: 0 ]
Avatar
Joined: 2006-07-13
37 posts

I didn’t even realize this was something that would be very beneficial to me until I read this thread. It works perfectly, thanks! smile

 Signature 

..// misguided satellite, circle by habit, can’t find my orbit to save my life \\..
[ Katie Wagner |Kat Scratch Fever | KSF To-Go | Names Changed* ]

 
Posted: 24 January 2007 04:38 PM   [ Ignore ]   [ # 12 ]   [ Rating: 0 ]
Avatar
Joined: 2006-01-05
632 posts

sorry about that mdesign, updated the wrong line.  should be working now.

 Signature 
 
Posted: 24 January 2007 04:40 PM   [ Ignore ]   [ # 13 ]   [ Rating: 0 ]
Avatar
Joined: 2006-03-26
1664 posts

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 downer

 Signature 

ryan masuga
—————
Masuga Design | devot:ee
@masuga | @masugadesign | @devot_ee

 
Posted: 24 January 2007 04:47 PM   [ Ignore ]   [ # 14 ]   [ Rating: 0 ]
Avatar
Joined: 2006-03-26
1664 posts

Opps - didn’t see your post there, Mark, before responding to katili.

Works great now, thanks. Except it still says version 1.0.1 on the extensions page, even though this is technically version 1.0.2 wink

Now if I could only get you to look at that other pesky multi-relation alpha extension, I might be able to buy you a couple weeks worth of coffee (or tea, name your poison) with some Paypal action.

Thanks again, Mark.

 Signature 

ryan masuga
—————
Masuga Design | devot:ee
@masuga | @masugadesign | @devot_ee

 
Posted: 23 May 2007 11:12 AM   [ Ignore ]   [ # 15 ]   [ Rating: 0 ]
Joined: 2007-04-05
8 posts

I downloaded this extension, and uploaded the files to the appropriate locations. It doesn’t show up in the list in the extension manager? I am running EE 1.5.2. Any suggestions?

 
1 of 4
1