Modifying 2532|Gigs App
Posted in PHP on October 5th, 2009 by Allison Wong – Be the first to commentThis is the second time I have installed the 2532|Gigs app for a band website.
Unfortunately, it has not been updated since 1/28/08, and for all intents and purposes, seems to have been discontinued. However, I like the simplicity of the app, especially the “drop-in” PHP code that displays the gigs anywhere on your website. I’m a huge fan of not having to modify or create new theme templates. However, the app is lacking in several fundamental areas, so I had to modify 4 files and create 1 new file. Instead of listing each individual update that I made, which are numerous, I have created a zip file with the modified files that you may download.
Here are the changes I made to 2532|Gigs v1.2.2:
In the Admin > Manage Gigs page:
- The checkboxes next to each artist are checked off by default. This helps when adding a new gig, especially if you only have 1 artist.
- I have converted the INPUT field for Details to a text area. This will enlarge the Detail field so you can see more text on the screen.
On the front-end (show_gigs.php):
- I created a separate column for Time.
- I have removed the empty space preceding each field.
- In the Details cell, I have colored the background beige, and made the font color black. This will make the Details cell stand out a bit more.
- I created a new page called past_gigs.php and uploaded it to the same directory that show_gigs.php is in. This will allow a user to display past gigs in descending order. To display it, just use the same PHP drop-in code for the upcoming shows, except you replace the path to show_gigs.php with the path to past_gigs.php.
This is the listing of gigs that I created.