Forums

[Plugin: GigPress] Gigpress with Multiple Bands (1 post)

  1. Kleurvision
    Member
    Posted 1 year ago #

    Great Plug-in.

    At first I was a little discouraged as I wanted to be able to manage multiple bands and the "Tour Name" feature wasn't enough, or so I thought. I installed it anyways and played around with the functionality to get accustomed to the way it worked. Then I went to sleep.

    In my sleep I dreamt in code (I know... meh), and came to a conclusion. I would enter into the realm of the source, find the write statements, and add dynamic table class naming using the "tour_id" variable.

    <table class="artistToursSpecific-<?PHP echo &tour->tour_id; ?>">

    Now I have class. And now I can go to the CSS and set the display to all of them to none.

    Then on individual band pages I simply add the following code prior to my upcoming shows slug:

    <code>
    <style>
    .artistToursSpecific-X (X being the id number of whichever band, or "tour name" you are working with){
    display:block;
    }
    </style>
    </code>

    Using that as my base, plus a few more tweaks to the gigpress.php file, I was able to build quite an amazing application "add-on" to an extraordinarily useful and well written plug-in.

    Check it out http://www.blackboxrecordings.net/weareblackbox/system/tour/

Topic Closed

This topic has been closed to new replies.

About this Topic

  • RSS feed for this topic
  • Started 1 year ago by Kleurvision
  • WordPress version: 2.6
  • This topic is not a support question

Tags