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

New Extension: Toggle Fields

Development and Programming

Brent Cartier's avatar
Brent Cartier
87 posts
16 years ago
Brent Cartier's avatar Brent Cartier

This is a very simple extension that adds links to the edit/publish that expand or collapse all fields. A client requested the feature for a weblog with a pile of custom fields…

Requires the JQuery for Control Panel extension (included in EE 1.6.6). You can change the text for the links in the language file.

This is my first extension, so any feedback/suggestions would be welcome. I hope it someone finds it useful.

UPDATE: Fixed location of toggle links now version 1.0.1

-Brent

       
Mark Bowen's avatar
Mark Bowen
12,637 posts
16 years ago
Mark Bowen's avatar Mark Bowen

Hi Brent,

A nice little add-on that one. Great for if you have tons of fields and need to get to one fast. Personally I would like to see the links somewhere other than where they are located now because if you have the - Display Formatting Buttons - option turned off in your weblog preferences then the links kind of roll over the url_title field which is a little odd. This extension actually reminds me a little of the one that Cocoaholic made some time back although yours adds in the links which is great.

Nice addition and thanks for sharing with everyone.

Best wishes,

Mark

       
Brent Cartier's avatar
Brent Cartier
87 posts
16 years ago
Brent Cartier's avatar Brent Cartier

Thanks for the feedback Mark.

You’re right - the links should be repositioned. I only tested this on a setup where the URL title field is set up to be hidden 😛 I’ll find a more generic spot for the links and update it soon…

       
Brent Cartier's avatar
Brent Cartier
87 posts
16 years ago
Brent Cartier's avatar Brent Cartier

Updated to 1.0.1 with improved location for toggle links…

       
Mark Bowen's avatar
Mark Bowen
12,637 posts
16 years ago
Mark Bowen's avatar Mark Bowen

Absolute perfection and going into my default set of add-ons to install for an ExpressionEngine site 😉

Thanks for the change, absolutely brilliant!

Best wishes,

Mark

       
Oxygen Smith's avatar
Oxygen Smith
120 posts
15 years ago
Oxygen Smith's avatar Oxygen Smith

Hey! I just plugged it into a site that has several weblogs with lots of fields. Wonderful extension, thank you!

I feel like I’m one step closer to my “publishing page holy grail,” where multiple fields are grouped as sections one can label, and those sections are collapsible. This is pretty good for quickly locating fields, though.

       

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.