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

Extension : WI Direct to Structure

Development and Programming

Chad Crowell's avatar
Chad Crowell
242 posts
16 years ago
Chad Crowell's avatar Chad Crowell

If you use the Structure module, install this extension and you will be redirected to the main Structure page whenever you save/update a weblog entry. Works great for sites manages exclusively(or mostly) from the Structure module.

Planned Enhancements: - Check that Structure is activated before activating itself - Create Structure tab for you if one doesn’t exist - Only redirect to Structure for weblogs that are assigned to Structure

Enjoy!

       
giusi's avatar
giusi
94 posts
16 years ago
giusi's avatar giusi

This is smart thinking : )

       
rockthenroll's avatar
rockthenroll
485 posts
16 years ago
rockthenroll's avatar rockthenroll

Nice work sir! This is very handy. I’ll list this on the new site (launching tomorrow). Thanks for writing it!

       
Jason Morehead's avatar
Jason Morehead
456 posts
16 years ago
Jason Morehead's avatar Jason Morehead

Very cool, thanks for making this.

       
Martin Luff's avatar
Martin Luff
52 posts
16 years ago
Martin Luff's avatar Martin Luff

Cool - will definitely find a use for this… thanks 😊

       
Peter Lewis's avatar
Peter Lewis
280 posts
16 years ago
Peter Lewis's avatar Peter Lewis

Perfect - thanks.

Was going to hack the REEDirect plugin, this is exactly what was needed.

       
sm9's avatar
sm9
352 posts
16 years ago
sm9's avatar sm9

Hi there,

This is pretty good, thanks.

Is there any chance this extension could allow users to be re-directed straight to the ‘Structure’ tab of the control panel on login? Or certainly make that an option within the extension? (as not everyone might want this) I feel that my clients will be logging into the control panel with the sole purpose of using Structure so any way to remove a step or simplify this process would be great.

Thanks,

Stephen

       
sm9's avatar
sm9
352 posts
16 years ago
sm9's avatar sm9

By the way, I used this WI Direct extension in combination with removing the Publish/Edit tabs for the client Member Group, then hiding the My Account and Modules tab in the control panel using these extensions.

This has given me a really simple control panel with just a single tab. The last remaining step to ultra-simplifying the control panel would be for the CP Home page to be bypassed when logging in, and instead, to have the Structure tab appear as the first page they see after login. Not a major issue or anything of course! In fact, I might check out the Custom CP Home Panels extension in the meantime (or if this redirect isn’t possible) and just add some useful instructions/guidelines to that page instead.

       
Peter Lewis's avatar
Peter Lewis
280 posts
16 years ago
Peter Lewis's avatar Peter Lewis

Stephen,

I do exactly the same and intend to work on an extension/module that allows you to easily customise the Control Panel (hiding tabs, redirect login/logout, forcing client layout and options), and more importantly fully customising the control panel home.

Peter.

       
sm9's avatar
sm9
352 posts
16 years ago
sm9's avatar sm9

Hi Peter,

Sounds great - be sure to link to it here if you get the chance to release anything! 😊

       
geee's avatar
geee
4 posts
16 years ago
geee's avatar geee

sm9,

How are you removing the Edit & Publish tabs?

Anna

       
sm9's avatar
sm9
352 posts
16 years ago
sm9's avatar sm9
sm9, How are you removing the Edit & Publish tabs? Anna

I did it via the built-in EE Member Group permissions - there’s a permission for Control Panel Area Access, and I removed Edit and Publish via that.

However, I later found that at least one of them (sorry, can’t remember which and I no longer have that install live) was required in order to use Structure so I ended up having to reinstate them.

       
Peter Lewis's avatar
Peter Lewis
280 posts
16 years ago
Peter Lewis's avatar Peter Lewis

Alternatively hack the EE core files: /system/cp/cp.display.php

line 997 and line 1045:

if ($p_lock == 0 && $SESS->userdata["group_id"] == 1)

This will only show the tabs for super admin, but still lets the user access the new and edit screens.

       
MediaGirl Inc.'s avatar
MediaGirl Inc.
186 posts
16 years ago
MediaGirl Inc.'s avatar MediaGirl Inc.

I ended up hiding the tabs using CSS which worked perfectly.

Seems like the structure module should come with a way to hide these tabs. Using CSS might be the easiest way to hide them.

       
Brett DeWoody's avatar
Brett DeWoody
140 posts
about 16 years ago
Brett DeWoody's avatar Brett DeWoody

Great extension, super useful!

Is it possible to add a “Saved” dialogue to the Structure page once a user saves their entry?

Thanks again!

       
1 2

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.