Support

Home Forums Ticketing Add-on Add more information to ticket template

Add more information to ticket template

Posted: August 7, 2013 at 1:16 pm

Viewing 5 reply threads


wbatson

August 7, 2013 at 1:16 pm

I’m trying to create a custom ticket. I want to have copy show on the ticket under “More Information”, but I don’t know where to enter that information. On the ticket template page I only have an editor for “Ticket Description/Instructions.” Anything I put in there only shows on the ticket under “Ticket Instructions.”
Thank you for any help on this.


Josh

  • Support Staff

August 7, 2013 at 1:34 pm

Hi there,

This can be done by editing the ticket template file. There’s a step by step guide on how to create custom ticket templates here:

https://eventespresso.com/wiki/how-to-create-a-custom-ticket/#customticket


wbatson

August 7, 2013 at 2:43 pm

Thank you, Josh, for your prompt response. However, those instructions are not so clear to me as to what I’m trying to do. Here is a link to my current ticket: http://familybuilders.net/?ticket_launch=true&id=495&r_id=15-520164dac21d9&html=true

I want to be able to put both paragraphs under “Ticket Instructions” under “More Information.” The guide you referred to doesn’t seem to help me do that, unless I’m missing something.


Josh

  • Support Staff

August 7, 2013 at 3:07 pm

The guide helps you get set up with making a custom ticket template. You’ll need to open up a copy of the index.php file that you copy over to move the content from beneath the Ticket Instructions up so it displays after “More Information”.

If you look around line 75 you’ll see this:

<p><strong><?php _e('More Information:', 'event_espresso'); ?></strong></p>
<p>[venue_description]</p>
<p><strong><?php _e('Ticket Instructions:', 'event_espresso'); ?></strong></p>
<p>[ticket_content]</p></td>

Which can be changed to something this:

<p><strong><?php _e('More Information:', 'event_espresso'); ?></strong></p>
<p>[ticket_content]</p>
<p><strong><?php _e('Ticket Instructions:', 'event_espresso'); ?></strong></p>
</td>

You can use an [FTP client][1] and [a text editor][2] to copy, access, and edit the files.

[1]: http://codex.wordpress.org/FTP_Clients
[2]: http://codex.wordpress.org/Editing_Files#Acceptable_External_Editors


wbatson

August 8, 2013 at 8:43 am

Thank you, Josh. I was able to accomplish what I wanted by using the Venue Manager without having to create a custom ticket. Thank you for your help. I will keep this in mind for future customizations.


Josh

  • Support Staff

August 8, 2013 at 11:57 am

Yeah that would work too. Glad you got that sorted.

Viewing 5 reply threads

The support post ‘Add more information to ticket template’ is closed to new replies.

Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.

Event Espresso