Event tickets pro

Home Forums Calendar Products Community Events Event tickets pro

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #1063525
    Conor
    Participant

    Hi,

    I have a question, I am trying to convince my client to get the tickets pro but he does not like that it shows the remaining tickets / ticket count, if I get it is there a way to not show the tickets count on the checkout end, but also use the stock in the backend, it would just display sold out when all the tickets are sold?

    #1063565
    Conor
    Participant

    OK, The above comment is not really important, I have purchased the tickets plus and see how it works. My question now is this, can you tell me how I edit the template for the event page, see here, http://wai.adessowebs.com/event/level-2-sicilia-10-02-16/

    I want to move the tickets part up to the top of the page and change the layout. I have read through the help on your site but I cannot figure out where the file is.

    #1063976
    Geoff
    Member

    Hey Conor — thanks for reaching out and I’m stoked to see you giving Event Tickets Plus a spin. 🙂

    We do have a pretty handy tutorial on how to move the ticket form without touching the plugin code that I’d suggest checking out.

    As far as editing the layout of the form, you can find the template for it at: /wp-content/plugins/event-tickets-plus in the subfolder of the ecommerce platform you are using for ticket sales (e.g. WooCommerce).

    From there, do check out our Themer’s Guide because it offers guidance on how to make a copy of the template and use it in your theme rather than editing the plugin’s core code.

    Does this help you get started? Let me know. 🙂

    Cheers!
    Geoff

    #1064182
    Conor
    Participant

    Hi,

    I have put the code snippet into functions.php but it is returning an error,

    Parse error: syntax error, unexpected T_PAAMAYIM_NEKUDOTAYIM, expecting ‘)’ in /home/adesso09/public_html/wai/wp-content/themes/atmosphere-pro/functions.php on line 59

    I looked in the forums for this and someone said to move it to the top of the functions, but no help. Any ideas?

    #1064187
    Conor
    Participant

    OK, this is driving me mad, I have read the following Themer’s Guide Customizing Template Files and the instructions do not match what I have. I do not have this file, /wp-content/plugins/the-events-calendar/src/views/default-template.php ????

    I really need to edit the layout of my single events page but the instructions are not making any sense, sorry. Please help.

    #1064568
    Geoff
    Member

    Hi Conor,

    I have put the code snippet into functions.php but it is returning an error

    Sorry about that! If there is a closing “?>” tag at the end of your functions.php file, then paste the snippet right before it. Or, you can paste it directly after the opening “<?php” tag in the file.

    I do not have this file, /wp-content/plugins/the-events-calendar/src/views/default-template.php ????

    That’s certainly odd! Is there a folder called the-events-calendar in your plugin folder at all? If so, what do you see in there?

    Thanks!
    Geoff

    #1064789
    Conor
    Participant

    DOH!

    I was looking at events calendar pro folder! Found the template files and have edited them, the single event is good, the way I want it but the list/single-event.php is acting funny,as you can see here, http://wai.adessowebs.com/events/list/

    This is what I changed, put the image and description in div columns, but the image has shrunk, any ideas?

    <div class="two-thirds first">
    <!-- Event Content -->
    <?php do_action( 'tribe_events_before_the_content' ) ?>
    <div class="tribe-events-list-event-description tribe-events-content">
    	<?php echo tribe_events_get_the_excerpt(); ?>
    	<a href="<?php echo esc_url( tribe_get_event_link() ); ?>" class="tribe-events-read-more" rel="bookmark"><?php esc_html_e( 'Find out more', 'the-events-calendar' ) ?> &raquo;</a>
    </div><!-- .tribe-events-list-event-description -->
    </div>
    <div class="one-third">
    <!-- Event Image -->
    <?php echo tribe_event_featured_image( null, 'medium' ) ?></div>

    FYI, the problem with moving the ticket form and the error it was returning (Parse error: syntax error, unexpected T_PAAMAYIM_NEKUDOTAYIM, expecting ‘)’ ) when I put it into the functions.php was down the PHP version, 5.2 was installed, I updated to 5.4 and all is fine. PAAMAYIM_NEKUDOTAYIM is Hebrew for double colon, :: you learn something​ new every day!

    • This reply was modified 10 years, 3 months ago by Conor.
    • This reply was modified 10 years, 3 months ago by Conor.
    • This reply was modified 10 years, 3 months ago by Conor.
    #1065768
    Geoff
    Member

    Sweet, nice work!

    I think the image is small because it is wrapped in that .one-third class. Looks like that’s a CSS class from the theme, but it’s basically telling the image to occupy no more than 33% of the total container in which it sits. I would suggest taking those CSS classes out from both the description and the image and adding CSS to the elements themselves to style them so they sit side-by-side. For example:

    .tribe-events-list .tribe-events-event-image img {
    float: right;
    }

    We actually have a good tutorial on how to use DevTools to find the CSS classes you need to style that I’d suggest checking out.

    Did you have any other questions about moving the ticket forms or which files to modify? Let me know and I’d be happy to help as best I can. 🙂

    Cheers!
    Geoff

    #1079341
    Support Droid
    Keymaster

    This topic has not been active for quite some time and will now be closed.

    If you still need assistance please simply open a new topic (linking to this one if necessary)
    and one of the team will be only too happy to help.

Viewing 9 posts - 1 through 9 (of 9 total)
  • The topic ‘Event tickets pro’ is closed to new replies.