Details in left column/sidebar

Home Forums Calendar Products Events Calendar PRO Details in left column/sidebar

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #1185606
    Tracie Schmitt
    Participant

    Hello,

    I’m using the event calendar pro. I have the default event template as the layout for the event calendar and want to keep it that way. However, on the single event, I want all the event details including venue and organizer along with the google map if possible to be grouped in a left or right column/sidebar like these sites http://alexandrederussie.com/evenement/alexandre-afterwork-14/ and http://www.beggarstheatre.co.uk/event/the-underground-man/. I could add other sidebar like news feed and social media by changing the layout option to 1/3. But ow do I get all the event details into a sidebar?

    Thanks,

    #1185771
    Geoff
    Member

    Hi Tracie,

    Good question and thanks for getting in touch. 🙂

    It will take a little bit of custom development on your end to do this, but it is definitely possible to change the layout of the single event view. While we are fairly in how much we can support custom development questions, I am absolutely happy to help get you started.

    In this case, I think a template override is the best route to go. Template overrides are detailed thoroughly in our Themer’s Guide, but it basically boils down to this:

    • Make a copy of the single-event.phpt template. It is located at /wp-content/plugins/the-events-calendar/src/views/single-event.php.
    • Make a new folder in your theme directory called tribe-events
    • Add the copied single-event.php template to that folder

    Now that the template is in your theme, it can be customized to suit your needs. In this case, you can add a spot for a left or right sidebar and move the information from the main body to it.

    Will this help you get started? Please let me know. 🙂

    Cheers!
    Geoff

    #1185819
    Tracie Schmitt
    Participant

    Hello,

    Thank you so much for your reply. The theme I bought from CMSMasters came with a folder called tribe-event and inside that folder there is already a file called single-event.php.
    So do I just make edit in that file in the tribe-event folder? Or do I add a new folder and add another copied single-event.php file then make edit in the new copied file?

    #1186023
    Geoff
    Member

    Oh nice, and great question!

    Yes, you can edit the file that came with the theme.

    At the same time, you may want to reach out to the theme developer because they clearly have customized things already and would be more familiar with those customizations and be able to support them. I’d hate to tell you it’s ok to do something but then it conflicts with someone’s else’s custom development, so reaching out there might be the best way to go to get started.

    Cheers!
    Geoff

    #1186088
    Tracie Schmitt
    Participant

    I talked to the theme developer and they said they won’t do anything. What code do I need to add to hook up the sidebar for the meta section? I’ve read on different threads that I would need to add a get sidebar function. However, I don’t know exactly where. This is what my code for the meta section looks like now

    if (!apply_filters(‘tribe_events_single_event_meta_legacy_mode’, false)) {
    tribe_get_template_part( ‘modules/meta’ );
    } else {
    echo tribe_events_single_event_meta();
    }

    #1186336
    Geoff
    Member

    Hi Tracie and thanks for following up!

    I appreciate you reaching out to the theme developer, though I am bummed to hear they will not help in this case.

    While I cannot vouch for what sort of customizations were made to your template, I can tell you that this is what is in the default template:

    <!-- Event meta -->
    <?php do_action( 'tribe_events_single_event_before_the_meta' ) ?>
    <?php tribe_get_template_part( 'modules/meta' ); ?>
    <?php do_action( 'tribe_events_single_event_after_the_meta' ) ?>

    That’s where I would start, personally. But, again, I want to make sure you’re aware that it’s tough for me to tell for sure and that the theme developer would still be the best person for guidance and support.

    Sorry I don’t have a concrete answer for you here, but I do hope this at least helps get the ball rolling in the right direction. 🙂

    Cheers!
    Geoff

    #1197036
    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 7 posts - 1 through 7 (of 7 total)
  • The topic ‘Details in left column/sidebar’ is closed to new replies.