WordPress.org

Ready to get started?Download WordPress

Forums

My Calendar
[resolved] Description pop-up window in Future Event widget (4 posts)

  1. maximan
    Member
    Posted 1 year ago #

    Is it possible to have a clickable link or pop-up window in Future Event widget that shows event description? I've read the help file but can't figure out how to do this. It's very simple in Ajax Event Calendar so I must be doing something wrong with My Calendar. Any hints much appreciated. TIA

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

  2. Joe Dolson
    Member
    Plugin Author

    Posted 1 year ago #

    It's possible, but not native to the plug-in. That is, you can do it by authoring appropriate CSS, JS, and building the appropriate template, but there's no default method to do it.

    The simplest method would be to make use of the existing jQuery, which you can do by using a template like this in the upcoming events widget:

    <div class="calendar-event">
      <span class="event-title">{link_title}</span>
    <div class="details"><strong>{date}</strong> – <br /><span>{time}, {category}</span></div>
    </div>

    In that template, the 'event-title' block will be the pop-up trigger, and everything inside the 'details' div will be inside the pop-up. You'll have to provide your own styling for the details information, however.

  3. maximan
    Member
    Posted 1 year ago #

    Joe, can you please expand a little. I guess you're saying edit the My Calendar Editor template and not the widget sidebar template. Looking at the My Calendar Editor template I don't see a specific template for Upcoming Events. Are you saying to use one of the other templates? Sorry if this is a dumb question but a little extra guidance would be appreciated.

  4. Joe Dolson
    Member
    Plugin Author

    Posted 1 year ago #

    The upcoming events template is set in the widget settings, or you can define it in the attribute of the short code. I'm suggesting that you edit that template.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic