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

Nested Weblogs

Development and Programming

Mark Huot's avatar
Mark Huot
587 posts
18 years ago
Mark Huot's avatar Mark Huot

I have an alpha release of an extension that provides nested weblogs much the same way phpMyAdmin does. Once installed it creates groups based on your “weblog names”. So take the following names…

news_daily news_features static_pages blog

Note: These are names, not titles. The extension doesn’t even look at the titles, so feel free to name those whatever you want.

Using those blogs, the structure would look something like this:

news
   | -- daily
   | -- features
static_pages
blog

Basically, what i’m saying is that it checks to see if any of your blogs are similarly named. If they are it ill take those similar parts and create a group.

OF NOTE: This does not work in IE, and probably never will (unless there’s enough complaining). It uses the li:hover CSS selector and I’m not going to switch it to javascript just to support IE.

Finally, place the image in the cp_global_images folder.

Update: Version 2.0 should work with EE1.6, but let me know if you find otherwise.

Lastly, an image of what it looks like:

       
Djive's avatar
Djive
97 posts
18 years ago
Djive's avatar Djive

man you are just great 😊

       
Rob Quigley's avatar
Rob Quigley
236 posts
18 years ago
Rob Quigley's avatar Rob Quigley

Just to test I added it to a pre-existing site to see how it might work. It seems to want to group my weblogs by first letter only. I should note that no weblogs share any weblog name convention as directed for grouping but even so, it shows two groups of weblogs that all share the first letter and seemed to leave out weblogs that don’t share a first letter. Thought I’d give you an FYI on that.

I wonder if the fact that I have pre-existing weblogs that have underscores in them that are not named along the convention needed for grouping is causing an issue.

When I created two new weblogs that shared the same pre weblog name (weblog-name_subsection-name) it worked fine on adding those and grouping that specifically but the already created weblogs were grouped by first letter and some weblogs didn’t show up at all in the list (I believe those don’t have an underscore in their names or share a letter with those that do).

Oh, and the type of functionality you have been churning out as of late has been amazing. I’m sure I can speak for others that I just keep waiting to see what your will develop next (I’m a big fan of your publish page file upload custom field addition - bravo!).

       
Mark Huot's avatar
Mark Huot
587 posts
18 years ago
Mark Huot's avatar Mark Huot

Huh, i guess i’ll have to limit it to group names > than three letters or something like that because you’re right it will make one letter groupings.

       
Mark Huot's avatar
Mark Huot
587 posts
18 years ago
Mark Huot's avatar Mark Huot

I’ve updated this to 1.0.1 and the minimum match is now 4 characters (configurable in the extension settings).

       
Rob Quigley's avatar
Rob Quigley
236 posts
18 years ago
Rob Quigley's avatar Rob Quigley

I’ve upgraded to your 1.1 and using EE 1.5.0 and I can’t seem to make “ungrouped” weblogs show up in the drop down list. One shows up but no other. I’ve created several new ungrouped weblogs to try to see if I can discover why one “ungrouped” shows and the others dont. When I create a second weblog to group with a previous ungrouped weblog then they both show up.

I should also ask where the image arrow_right.gif should be placed in the site files?

       
Linda A's avatar
Linda A
647 posts
18 years ago
Linda A's avatar Linda A

I tried this one out, and it doesn’t seem to work in SeaMonkey 1.0.4. The publish menu does nothing either for hover or click.

       
Mark Huot's avatar
Mark Huot
587 posts
18 years ago
Mark Huot's avatar Mark Huot

Rob, can you post or PM me a list of your weblogs so I can check it out?

Linda, I’ve never used SeaMonkey, but I’ll check it out now.

       
Mark Huot's avatar
Mark Huot
587 posts
18 years ago
Mark Huot's avatar Mark Huot

Ohh and Rob:

Finally, place the image in the cp_global_images folder.

Which is in the /themes/ directory.

       
Mark Huot's avatar
Mark Huot
587 posts
18 years ago
Mark Huot's avatar Mark Huot
I tried this one out, and it doesn’t seem to work in SeaMonkey 1.0.4. The publish menu does nothing either for hover or click.

I’ve tried it in SeaMonkey 1.0.6 and it worked great. It may be a CSS issue with 1.0.4, do you know when 1.0.4 was released?

       
Rob Quigley's avatar
Rob Quigley
236 posts
18 years ago
Rob Quigley's avatar Rob Quigley

Sent a PM to you. Thanks!

       
Mark Huot's avatar
Mark Huot
587 posts
18 years ago
Mark Huot's avatar Mark Huot

Alright, 1.0.2 is up at the top of the thread. If you were having any trouble with 1.0.1 this should fix that. It now sorts better, groups better, and runs faster.

       
sigork's avatar
sigork
155 posts
18 years ago
sigork's avatar sigork

1.0.2:

Notice: Undefined offset: 10 in /usr/home/*/system/extensions/ext.nested_weblog.php on line 134

       
Rob Quigley's avatar
Rob Quigley
236 posts
18 years ago
Rob Quigley's avatar Rob Quigley

Got the same message

       
Mark Huot's avatar
Mark Huot
587 posts
18 years ago
Mark Huot's avatar Mark Huot

1.0.3 should fix that!

       
1 2 3 Last

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.