Created
May 17, 2011 13:12
-
-
Save amphibian/976437 to your computer and use it in GitHub Desktop.
Support aid: add the ticket link as its own column in GigPress
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
In shows-list.php find this ... | |
<?php if($gpo['display_country'] == 1) : ?> | |
<td class="gigpress-country"><?php echo $showdata['country']; ?></td> | |
<?php endif; ?> | |
And add this right after: | |
<td class="gigpress-ticket-col"> | |
<?php echo $showdata['ticket_link']; ?> | |
</td> | |
You'll want to remove this near the end of the file as well: | |
<?php if($showdata['ticket_link']) : ?> | |
<span class="gigpress-info-item"><?php echo $showdata['ticket_link']; ?></span> | |
<?php endif; ?> | |
-- | |
In shows-list-start.php | |
<?php | |
// $cols = 3; | |
$cols = 4; | |
?> | |
Before the closing </tr> add: | |
<th scope="col" class="gigpress-ticket-col">Tickets</th> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment