Extension: Hide Gallery Fields
Posted: 26 June 2006 07:32 PM   [ Ignore ]  
Grad Student
Avatar
Rank
Total Posts:  77
Joined  02-22-2004

This is a fairly simple extension which allows you to hide certain fields on the Gallery publish (New Entry & Edit Entry) pages.

Nothing fancy, but I needed it for a site I’m creating, so I thought I’d share. (I use custom fields instead of the caption field as it’s a multilingual site, and I need captions in both languages.)

v1.0.0: First Release. The Entry Date and Caption fields can be hidden via options on the extension’s settings page. When hidden, the Entry Date field will use the current date and time for new entries, and will not change the date and time for old entries. When hidden, the Caption field will be left blank.

v1.1.0: Added ability to hide the Allow Comments checkbox. When hidden, the Allow Comments checkbox will be checked if Allow Comments By Default? is set to yes in the gallery’s preferences and unchecked if not.

v1.1.1: Should work more consistently now (the td’s class can be one of two values, the extension now checks for both).

File Attachments
ext.hide_gallery_fields-111.zip  (File Size: 2KB - Downloads: 250)
Profile
 
 
   
 
 
Post Marker Legend
New Topic New posts Hot Topic Hot Topic with new posts New Poll New Poll Moved Topic Moved Topic Sticky Topic Sticky topic
Old Topic No new posts Hot Old Topic Hot Topic with no new posts Old Poll Old Poll Closed Topic Closed Topic Announcement Announcements
Theme
Change Theme
Visitor Statistics
The most visitors ever was 1149, on July 16, 2007 09:33 AM
Total Registered Members: 64905 Total Logged-in Users: 56
Total Topics: 81838 Total Anonymous Users: 36
Total Replies: 440024 Total Guests: 236
Total Posts: 521862    
Members ( View Memberlist )