WordPress.org

Support

Support » Plugins and Hacks » [Resolved] Second event in day are hidden

[Resolved] Second event in day are hidden

  • dragonfly_green
    Member

    @dragonfly_green

    It looks like there is a nesting issue.

    Only one event will display per day, when that event title is clicked on, it shows the details, and then shows the link to the second event in the main screen.

    In the code, the second event is nested inside the first event, and the element is set to display none. Is this an issue with WP3.5.1, or is it just a typo in the code?

    (Sorry development site, no link)

    http://wordpress.org/extend/plugins/my-calendar/

Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Author Joe Dolson
    Participant

    @joedolson

    That sounds like broken HTML in the event description — can you check the HTML added to the event description of the first event?

    dragonfly_green
    Member

    @dragonfly_green

    That is what I thought also, but none of my 10 events has ANY HTML. they are all just text. I just double-checked them for unsafe characters also.

    Plugin Author Joe Dolson
    Participant

    @joedolson

    What is the context you’re viewing? Are you using any custom templates? This would probably be easy to solve if I could see the site, without that I’m just guessing.

    dragonfly_green
    Member

    @dragonfly_green

    Its strange I’ve used this template and plugin combination before (just not on wp 3.5.1).

    I’ve temporarily opened up the site so you can check it out:
    http://dev.relishhost.net/casa/for-parents/calendar/

    There are multiple events on March 14 and 15th (so you can try by clicking the one visible and then see the others appear).

    Plugin Author Joe Dolson
    Participant

    @joedolson

    The closing div for the .sub-details container is missing; you didn’t specifically state whether you’re using a custom template – are you?

    dragonfly_green
    Member

    @dragonfly_green

    Yes, I’m using a child theme of Twenty-twelve.

    Haven’t altered any of the plugin code to affect the sub-details div.

    Plugin Author Joe Dolson
    Participant

    @joedolson

    I was referring to the My Calendar templates, not to your theme, but I’m guessing you haven’t customized them (My Calendar > Template Editor)

    I’ll do some testing and see if I can find a reason for this; there may be some edge case where that closing div isn’t rendered, although it can’t be very common or I’d hear about it a lot more…

    dragonfly_green
    Member

    @dragonfly_green

    Hi Joe,

    It was a problem with my Calendar template (missing closing div), and it’s been fixed.

    Thanks for your prompt help!

    Plugin Author Joe Dolson
    Participant

    @joedolson

    That’s great! Thanks for the update.

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘[Resolved] Second event in day are hidden’ is closed to new replies.