Display of 'My events list' interferes with right sidebar

Home Forums Calendar Products Community Events Display of 'My events list' interferes with right sidebar

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #45309
    betase
    Participant

    Hi there,
    I am using a combination of Events Calendar Pro and Community Events for my Twenty-Ten based website http://www.materiaaltechnologie.nl/agenda/. I did some adaptation programming to the basic versions, and pretty much is now as I would like it to be. However, I do have an issue with the ‘My events list’. When I am logged in, the events list in …/events/community/list appears like in screenshot document http://materiaaltechnologie.nl/downloads/Screenshot-materiaaltechnologie_nl.png, i.e. the events list text and the right sidebar interfere. What do I have to program/adapt to remove the right sidebar here, in order to have the events list visible without interference? The solution may be simple, but after some time looking for the solution I can’t see the wood for the trees anymore, so I decided to ask you for advice.
    Kind regards,
    Eddy

    #45317
    Barry
    Member

    Hi Eddy: can you tell me what Events > Settings > Template > Events Template is set to?

    #45323
    betase
    Participant

    Hi Barry,
    The Events > Settings > Template > Events Template is currently set to “Default Events template”.
    Regards, Eddy

    #45367
    Barry
    Member

    OK, turns out Community Events will use your page template in any case (normally page.php). Somewhere in there there is likely to be a call used to grab the sidebar, something like this:

    get_sidebar();

    You could try wrapping that in a conditional statement like so:

    if (!tribe_is_community_my_events_page()) get_sidebar();

    Does that help?

    #45380
    betase
    Participant

    Yes, I modified page.php in my theme in the way you suggested, and it works! I need to do some programming work in order to optimize the lay out, but I can do that myself. Thank you very much, and consider this issue ‘solved’.

    #45386
    Barry
    Member

    Excellent – thanks for working through that with us and all the best with the project 😀

    #978923
    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 7 posts - 1 through 7 (of 7 total)
  • The topic ‘Display of 'My events list' interferes with right sidebar’ is closed to new replies.