Separate Details and Venue Panels

Home Forums Calendar Products Events Calendar PRO Separate Details and Venue Panels

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #78408
    mtdave
    Participant

    My client would like to move the content information between the Details panel and the Venue panel. Something like this:
    Tickets
    Details
    Content
    Venue.

    Right now I cannot see anyway to seperate Details and Venue so they appear:
    Tickets
    Details
    Venue
    Content.

    Please let me know how this might be possible?

    #78502
    Barry
    Member

    When you say tickets, are you referring to the ticket form generated by WooCommerce Tickets or one of our other ticketing addons (if so, please do post on the relevant forum).

    In general though you can certainly re-order things – check out our Themer’s Guide for an overview of customizing our templates.

    #78525
    mtdave
    Participant

    Yes, the ticket form generated by WooCommerce Tickets.
    The Themer’s guide doesn’t cover splitting the Details and Venues panels.
    To make it clearer, I need to have the panels in this order:
    Details
    Content
    Venue
    The following code allows me to reposition the meta panels, but not seperate them. I am interested in seperating them.
    [code]remove_action(‘tribe_events_single_event_after_the_meta’, array(TribeWooTickets::get_instance(), ‘front_end_tickets_form’), 5);
    add_action(‘tribe_events_single_event_before_the_meta’, array(TribeWooTickets::get_instance(), ‘front_end_tickets_form’));[/code]
    Is it possible to seperate ‘Details’ and ‘Venue’? Please let me know and if so how?
    Thanks

    #78528
    mtdave
    Participant

    This reply is private.

    #78531
    Barry
    Member

    Yes, you can move the venue details (into a separate container) by adding a snippet like the following one to your theme’s functions.php file:

    add_filter( 'tribe_embed_google_map', '__return_true' );

    Does that get you any closer?

    #78540
    mtdave
    Participant

    Hmmm, adding add_filter( ‘tribe_embed_google_map’, ‘__return_true’ ); made no difference.
    But add_filter( ‘tribe_embed_google_map’, ‘_return_true’ ); (where there is only one underscore before ‘return_true’ ) removes the map panel. This is ok, but is there some way to put the map panel back in under the description/content?
    Thanks

    #78736
    Barry
    Member

    I do apologize, I gave you the wrong snippet there. This should force the venue details to display separately:

    add_filter('tribe_events_single_event_the_meta_group_venue', '__return_true');

    #982656
    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 8 posts - 1 through 8 (of 8 total)
  • The topic ‘Separate Details and Venue Panels’ is closed to new replies.