Posssible to use two templates?

Home Forums Calendar Products Events Calendar PRO Posssible to use two templates?

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #49291
    harbingers
    Participant

    Is it possible to use two templates, one for the calendar and one for the individual event? I would like to use a full-width template for the month-view calendar but would like a sidebar for the individual event pages. Is that possible?

    #49305
    Jonah
    Participant

    Hi harbingers,

    You can only use one template, but within that template you can conditionally show or hide or change markup to be able to have different layouts within that same template. You can use these conditional wrappers (https://gist.github.com/jo-snips/2415009) to conditionally set things based upon the plugin page you are.

    Does that help?

    – Jonah

    #49509
    harbingers
    Participant

    Hi Jonah –
    Thank you for the response. I’m not sure I understand. This is a little past my skill set. I’m not sure how I would turn the sidebar on or off.
    Tony

    #49557
    Jonah
    Participant

    Hi harbingers,

    Yeah it’s a bit involved. Basically you first need to figure out what template you are using for our plugin first by visiting Events > Settings > Template. Then, based on that I can give you some more instruction. Let me know what you’ve got set there and we can go from there.

    – Jonah

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘Posssible to use two templates?’ is closed to new replies.