Switch Ticket and Location

Home Forums Calendar Products Events Calendar PRO Switch Ticket and Location

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #1549876
    Henning
    Participant

    I need to switch the “Tickets” and “Veranstaltungsort” (location) in the theme…
    Tried single-events.php but didn’t succeed 🙁
    Where can I switch those two?

    !-- Event Meta -->
    <?php do_action( 'tribe_events_before_the_meta' ) ?>
    <?php if ( tribe_get_cost() ) : ?>
    	<div class="tribe-events-event-cost">
    		<span class="ticket-cost"><?php echo tribe_get_cost( null, true ); ?></span>
    		<?php
    		/** This action is documented in the-events-calendar/src/views/list/single-event.php */
    		do_action( 'tribe_events_inside_cost' )
    		?>
    	</div>
    <?php endif; ?>
    
    <div class="tribe-events-event-meta <?php echo esc_attr( $has_venue . $has_venue_address ); ?>">
    
    	<!-- Schedule & Recurrence Details -->
    	<div class="tribe-updated published time-details">
    		<?php echo tribe_events_event_schedule_details(); ?>
    	</div>
    
    	<?php if ( $venue_details ) : ?>
    		<!-- Venue Display Info -->
    		<div class="tribe-events-venue-details">
    		<?php
    			$address_delimiter = empty( $venue_address ) ? ' ' : ', ';
    
    			// These details are already escaped in various ways earlier in the code.
    			echo implode( $address_delimiter, $venue_details );
    		?>
    		</div> <!-- .tribe-events-venue-details -->
    	<?php endif; ?>
    
    </div><!-- .tribe-events-event-meta -->
    #1551377
    Jeremy
    Keymaster

    Hi Henning,

    Thanks for reaching out to us! I’d be happy to help you 🙂

    In order to do so, could you send me a screenshot so I could understand the situation a little bit better?

    Cheers,
    Jeremy

    #1551871
    Henning
    Participant

    Dear Jeremy, enclosed you’ll find the requested screenshots 🙂

    #1552235
    Jeremy
    Keymaster

    Hi Henning,

    To do this modification, you actually need to edit the meta.php file, located in wp-content/plugins/the-events-calendar/src/views/modules/meta.php

    You can override this template in your own theme by creating a file at: [your-theme]/tribe-events/modules/meta.php

    I hope this helps,

    Cheers,
    Jeremy

    #1556156
    Henning
    Participant

    Dear Jeremy, I’ve tried and tried and… well tried… I didn’t find a way to get the “Ticket”-block in between the the details and the map.
    In the meta.php there is the primary section and the secondary, not the ticket-section?

    Can you please show me what to do?

    #1556820
    Jeremy
    Keymaster

    Dear Henning,

    There is actually an easier way to change the location of the ticket form on the single event page: you can find an option for this under Events –> Settings –> Tickets (cf this article on our Knowledgebase).

    Does this help?

    Please let me know how it goes,

    Cheers,
    Jeremy

    #1556856
    Henning
    Participant

    Ok, way easier but still not the position as my client requests… Please check my screenshots again. That is the position my client asks for.

    #1557938
    Jeremy
    Keymaster

    Hi Henning,

    Indeed, the options to move the ticket form via the settings are limited. However, you could probably tweak it to do exactly what you are looking for.

    Just to set expectations, as you might know, the scope of our support is mostly to get our customers started on the right track and to help them in case of issues. We unfortunately do not provide complete support for customization.

    You might want to read our Themer’s guide as a starting point.

    As an alternative you could hire one of our recommended customizers to do the customization for you.

    Let me know if that helps.

    Have a great day!
    Jeremy

    #1574712
    Support Droid
    Keymaster

    Hey there! This thread has been pretty quiet for the last three weeks, so we’re going to go ahead and close it to avoid confusion with other topics. If you’re still looking for help with this, please do open a new thread, reference this one and we’d be more than happy to continue the conversation over there.

    Thanks so much!
    The Events Calendar Support Team

Viewing 9 posts - 1 through 9 (of 9 total)
  • The topic ‘Switch Ticket and Location’ is closed to new replies.