Introduction
Republic Structure Tweaks is an add-on for ExpressionEngine that gives you a few extra options for the content management page in the Structure add-on.
(By the way, that also means you have to have the Structure add-on installed before you have any use of this, we really like it and it can be bought from http://buildwithstructure.com.)
What Republic Structure Tweaks brings to the table:
- Customize the “Add page” dialog
- Remove the “Add page” link for specific channels and pages
- Shows the channel name for a page on hover, useful if you have a lot of content types
- Shows a (closed) indicator after closed pages
The biggest thing is that you can easily select which channels that should be used in the Add page dialog. From our experience, this really makes content editors happy and dramatically makes adding new content a lot less prone to errors. You can select options for each channel or make selections for individual pages.
By default, Structure let’s you decide if a whole channel should be hidden from the “Add page” dialog. This is very useful if you have a channel for the start page or in similar situations. But sometimes, you need to have a bit more flexibility….
What does this mean?
Let’s look at an example: You have site that sells products divided in different groups, and got a few information pages. You got channels set up for products, product groups and information pages.
With Republic Structure Tweaks you can tell Structure to:
- only show the Product channel when clicking “Add page” on a Product group,
- only show Information page when you click on “Add page” on a normal page,
- only show the option for adding a Product group when clicking on the main Products page
- hide “Add page” on all Products, etc
Small things, but it all makes sense when you look at the images below.
Before
Fig 1. Structure view before Republic Structure Tweaks
After
Fig 2. Structure view after Republic Structure Tweaks
Configure
You can configure the add-on based on Channels and/or based on specific pages:
Fig 3. Configure Republic Structure Tweaks
How does it work?
This is only made with the help of some JavaScript. This means that it never will break any of your data or mess with the Structure add-on in any way. If you don’t like it, just remove it and everything is back to normal.
This also means that it’s not intended to be used as a security add-on, it only hides stuff to make the experience better for editors. If they have the right member permissions, the could still drag and drop pages under other pages that you’ve hid in the settings.
Requirement
Republic Structure Tweaks requires the Structure add-on 3.1+.
Get Structure at buildwithstructure.com.
Installation
Just do as you normally do when installing add-ons in ExpressionEngine 2:
- Extract the .zip file
- Move the
/system/expressionengine/
third_party/republic_structure_tweaks
folder into your ExpressionEngine installation’s/system/expressionengine/
third_party/
folder. - Activate the extension in the Control Panel
- Go to Add-ons > Extensions > Republic Structure Tweaks
Update
Just replace the old files with the new ones:
- Extract the .zip file
- Move the
/system/expressionengine/
third_party/republic_structure_tweaks
folder into your ExpressionEngine installation’s/system/expressionengine/
third_party/
folder. - Go to Add-ons > Extensions > Republic Structure Tweaks
Download
Download “Republic Structure Tweaks (EE2)” for ExpressionEngine 2.2+
Changelog
-
1.1.7
2015-05-13
- Fixes
-
1.1.6
2014-07-10
- Fixed: Bug that resultet in Javascript error
-
1.1.5
2014-03-31
- Feature: ExpressionEngine 2.8.1 support
-
1.1.2
2013-04-24
- Feature: ExpressionEngine 2.6 support
- Changed: Link to Tweaks (temporary) removed from Structure for ExpressionEngine 2.6, use Add-ons > Extensions > Republic Structure Tweaks for now.
-
1.1.1
2013-04-18
- Fixed: Bug where channels with name including '&' always showed up in page selector
- Added: Made it possible to control child pages of channels hidden in page selector
-
1.1
2012-11-09
- First public release
License and disclaimer
Republic Factory gives this add-on away for free under a Creative Commons Attribution-NoDerivs 3.0 Unported License. You can use it for free, both in personal and commercial projects, but by downloading this add-on you also take full responsibility for anything that happens while using it. The add-ons are made with love and passion, and are used by us on daily basis, but we cannot guarantee that it works equally well for you.
Support is limited depending on current work load, but if you got any questions or comments feel free to email or follow us on Twitter @republicfactory and we'll try to help you out as soon as time permits.