Sidebar for Events Pages & Community Submission PageCommunity Submission Page

Home Forums Calendar Products Community Events Sidebar for Events Pages & Community Submission PageCommunity Submission Page

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #959158
    Oliver
    Participant

    Hi Casey,

    on our website we use the Community Submission Page (http://www.treffpunkt-jazz.de/events/community/add) and the Events Page (http://www.treffpunkt-jazz.de/events/).

    Unfortunately the sidebar is not shown there and I haven’t found any solution how to get it, as it is somehow hardcoded to the URLs configured in the settings of TEC.

    Is there any way to include it, maybe by a shortcode or a piece of php-code or as a tweak by generating a new page template?

    Best regards,
    Oliver

    #959262
    Jami
    Blocked

    Hey Oliver!

    It’s a pleasure to meet you. I hope you don’t mind that I help you out with this one. 🙂

    The sidebar that you’re seeing on the other pages of your site is displayed by your theme templates. The Events Calendar has its own templates so for us to get the theme’s sidebar to integrate with the plugin templates, we’ll have to look into leveraging the Themer’s Guide.

    If you’d like to add a sidebar to your events list page, for example, you’ll want to create a folder in your theme called “/tribe-events/” and copy over the events list page template file from the plugin to your theme folder. In this case, that template file would be:

    /wp-content/plugins/the-events-calendar/views/list.php

    Then it’s just a matter of editing that template with your theme’s sidebar snippet.

    For your reference, the plugin template files are located in the following places:

    The Events Calendar template files
    /wp-content/plugins/the-events-calendar/views/

    The Events Calendar Pro template files
    /wp-content/plugins/events-calendar-pro/views/

    The Community add-on template files
    /wp-content/plugins/events-community/views/

    I hope that helps get you started! Let me know if you have any other questions or if I can help with anything else.

    Kind Regards,
    Jami

    #959380
    Oliver
    Participant

    Hi Jami!

    nice to meet you! Look like there is a new member in the tribe 😉

    The solution you provided is exactly what I was searching for!
    I will try to implement it tomorrow!

    Just two more questions:
    which are the php-page templates for /events/community/add and /events/community/list?

    Best regards,
    Oliver

    #959706
    Jami
    Blocked

    Hi Oliver,

    The new member of the tribe, that’s me! 🙂

    As for the community “add” and “list” pages, you’d want to create a new directory in your theme for it like this:

    /tribe-events/community/

    And place the following template files into that folder:

    /wp-content/plugins/events-community/views/community/event-list.php
    /wp-content/plugins/events-community/views/community/event-edit.php

    Let me know if you have any other questions or if I can help with anything else.

    Kind Regards,
    Jami

    #962462
    Jami
    Blocked

    Hey Oliver,

    It’s been a while since I’ve seen any activity here so I’m going to close the thread. Please feel free to open a new one if you need anything else though!

    Kind Regards,
    Jami

Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘Sidebar for Events Pages & Community Submission PageCommunity Submission Page’ is closed to new replies.