Gig or Event Names

  • Question
  • Updated 2 years ago
  • Answered
Can a Gig in GigPress have a name? At the moment an event gets the name of the Artist at the Venue. What if they play a festival or an event that has a specific name?
Photo of adman

adman

  • 9 Posts
  • 0 Reply Likes
  • undecided

Posted 6 years ago

  • 3
Photo of Derek

Derek, Developer

  • 2044 Posts
  • 105 Reply Likes
You can put the name of the festival or event in the notes field. No plans for a "title" field right now.
Photo of adman

adman

  • 9 Posts
  • 0 Reply Likes
Sigh... OK that does not really work for me.

Thanks for the quick reply.

I was gonna use it for a DJ site. He needs to list the events by the name of the even and not "Artist at Venue".

Guess I'll have to find another way of doing it. Pitty as this GigPress ticks all the other boxes and look to be a much better plugin than Gigs Calendar.
Photo of Derek

Derek, Developer

  • 2044 Posts
  • 105 Reply Likes
If you want to use the Notes field exclusively for the event name, you can then simply modify the template to use the notes field as the "title".
Photo of adman

adman

  • 9 Posts
  • 0 Reply Likes
Hmmm... that could work I guess. They could then put any notes in the linked post.

I'll have a play with it see how that works.

Cheers
Photo of coda_za

coda_za

  • 7 Posts
  • 1 Reply Like
This seems like an annoying workaround for an otherwise awesome plugin.

I'm using GigPress for a single artist (classical/performing arts). His shows have titles - the only way to distinguish between them for his fans, other than a date/venue. Without titles, his event calendar is just a list of dates and venues, which makes no sense to his fans who associate his shows with a name.

If I were to use this plugin for a more conventional band/artist, I can assure you that their shows would be titled too, and I'd have the same problem. Most of the gigs I see these days have a title.
Photo of pborges.us

pborges.us

  • 2 Posts
  • 0 Reply Likes
I agree with you 100%.
Photo of adman

adman

  • 9 Posts
  • 0 Reply Likes
We used the notes field for this and it works just fine. Check it out:
http://www.movesintoconsciousness.com...
Photo of pborges.us

pborges.us

  • 2 Posts
  • 0 Reply Likes
Thanks for your idea.
Photo of Cyberfunk

Cyberfunk

  • 10 Posts
  • 0 Reply Likes
I'd like to add this feature. Can you tell me how you did this?
Photo of coda_za

coda_za

  • 7 Posts
  • 1 Reply Like
This is what I'm doing currently, in custom gigpress templates (shows-list.php), for anyone with the same issue looking for a workaround:

<pre>$splitNotes = explode("|", $showdata['notes']);
$showTitle = $splitNotes[0];
$showDescription = $splitNotes[1];</pre>


When I add a show in GigPress, I then include both the show title and the description in the "Notes" field, but separate them with a pipe ("|") delimiter.

For example:
"Title of the show|Description of the show"
Photo of Glaudston Soares

Glaudston Soares

  • 6 Posts
  • 0 Reply Likes
Can you show us your shows-list.php? please!

Thank you!
Photo of ari salomon

ari salomon

  • 4 Posts
  • 0 Reply Likes
clever. +1
Photo of Leslie Hastings

Leslie Hastings

  • 7 Posts
  • 0 Reply Likes
Thanks Damien, but...

... where do you put this? I'm not a COMPLETE PHP neophyte, but neither am I particularly well-versed. I've found the "$showdata['notes']" referenced in "shows-list.php", but I'm not sure whether to replace that, or to put your code above it or below it.
Photo of Carol Green

Carol Green

  • 3 Posts
  • 0 Reply Likes
I just figured out where to put that code, so here's the solution:

File: shows-list.php




The two spans "gigpress-info-title" and "gigpress-info-desc" are my names and can just be styled with custom CSS.
Photo of nathan

nathan

  • 3 Posts
  • 0 Reply Likes
This is great - if a long winded workaround for something so simple (and appropriate to the job of Gigpress).

The other thing needed is a way to add pictures - ie: gig flyers or banners. I was unable work out how to hack this in time for one one client and had to use a different events manager that could have pics.
Photo of afftonbladet

afftonbladet

  • 3 Posts
  • 0 Reply Likes
I tried replacing the with the code submitted above by Carol, but that didn't do the trick. Help?
Photo of Carol Green

Carol Green

  • 3 Posts
  • 0 Reply Likes
I have a feeling some code has been stripped out of my answer above.
I could hardly remember what I'd done. Here is what I did from the start, hopefully this will help:

  1. COPIED shows-list.php to gigpress templates folder, as instructed at the top of shows-list.php.

  2. In anappropriate place in the table structure in that file, I pasted the following code that separates title from description (I put it after the date, near the top):
    <?php if($showdata['notes']) : ?>
    <?php $splitNotes = explode("|", $showdata['notes']); ?>
    <span class="gigpress-info-item"><span class="gigpress-info-title"><?php echo $showTitle = $splitNotes[0]; ?></span></span>
    <?php endif; ?>

  3. Then, further down the file, I pasted the other half of this code which shows the decription part (I replaced the existing notes section):
    <?php if($showdata['notes']) : ?>
    <span class="gigpress-info-item"><span class="gigpress-info-desc"><?php echo $showDescription = $splitNotes[1]; ?></span></span>
    <?php endif; ?>

  4. The classes gigpress-info-title and gigpress-info-desc are new ones I have invented, so I created some appropriate styles for them in my css file.

  5. Finally, in each of the gigs in the Gigpress interface, I started the Notes field like this:
    Gig name | Description text as usual
    With the vertical divider between the gig name and the description.



Good luck!
Carol
Photo of afftonbladet

afftonbladet

  • 3 Posts
  • 0 Reply Likes
Thank you very much for that, Carol! It works like a charm!

All I have to add is that I had to edit the shows-list-start.php file to add a new column, I just put in a th tag and an echo tag inside for the column name (I called it "event"). I guess this is all basic for you guys but for me, not being very used to this code stuff, it is not obvious.

Again, thank you, this was very helpful!
Photo of Carol Green

Carol Green

  • 3 Posts
  • 0 Reply Likes
Not obvious to me either! I'm a proper trial-and-error cut-and-paster! I do little dances round the room if I ever get tweaked php or JavaScript to work.
Glad it worked for you.
Photo of kbalnaves

kbalnaves

  • 1 Post
  • 0 Reply Likes
Hi Carol, I couldn't get your code to work. It put all my notes to the very top of my show list above the column headings so I've done something wrong. I'm no more than a copy and paster but could you tell me exactly where you pasted the code (and what you deleted if necessary)? Thanks a lot
Photo of afftonbladet

afftonbladet

  • 3 Posts
  • 0 Reply Likes
I posted my edited files here:

http://www.filedropper.com/shows-list

http://www.filedropper.com/shows-list...

1. Download these files
2. Put them in a new folder called 'gigpress-templates' in your wp-content directory
3. Write the name of the event in the notes section when you creat it in the gigpress interface. Type in the divider (alt+124) and then whatever you want to go in the notes-section.

Good luck!
Photo of Gilbert

Gilbert

  • 9 Posts
  • 0 Reply Likes
the two links are down, please reupp! thx
Photo of Gilbert

Gilbert

  • 9 Posts
  • 0 Reply Likes
has anyone idea where to place the "
...." test lines in shows-list.php to put the Title before the location in right formating (tables,...) It would be very holpfull. It would be also great to put the "comment-title" also in the sidebar widget!
Photo of Joshua Iz

Joshua Iz

  • 1 Post
  • 0 Reply Likes
I've added the code given above by Carol Green to shows-list-start.php and shows-list.php.

Grab the files here:

https://gist.github.com/joshuaiz/9062604

https://gist.github.com/joshuaiz/9062625

The shows-list-start.php adds another column to the header row: Title

The shows-list.php adds the event title in the first row (in the 'Title' column) and adds it in the description as well.

Your regular description should be separated by a pipe "|" as indicated above.