My Calendar
[resolved] {link} URL breaks template (4 posts)

  1. brian7997
    Posted 5 years ago #

    For some reason this code is breaking the template Link

  2. Joe Dolson
    Plugin Author

    Posted 5 years ago #

    You might want to supply a little more information than that. I have no idea what your problem actually is. A link to your web site demonstrating the problem would be very helpful.

  3. brian7997
    Posted 5 years ago #

    Here is a link to my page http://trailerchix.com/link-error/

    Here is my calendar shortcode:

    [my_calendar_upcoming before="3" after="3" type="event" template="<div style='border:solid {color} 4px;padding:10px;margin-bottom:2px;'><span class='eventname'>{link_title} ( {category} )</span><div style='float:right;clear:right;'><span class='thelocation'> <strong style='display:block;margin-top:5px;'>LOCATION:</strong> {location} <br />{street} <br /> {state}, {postcode} <span class='themaplink'>{link_map}</span></div><span class='eventdate'><strong>DATE:</strong> {date} to {enddate}</span> <span class='thedescription'>{description}</span><strong>LINK:</strong><a href='{link}'>GROUP/EVENT WEBSITE</a></div> "]

    If you would like the whole page let me know. I was able to determine that the link template tag inside quotes was causing the issue. `<a

    Example 'fixed' is the same except the the {link} template take is not used inside an anchor tag.

  4. Joe Dolson
    Plugin Author

    Posted 5 years ago #

    I haven't been able to reproduce this bug yet. I copied the shortcode you provided above into my own installation and everything worked just fine -- it produced exactly what it seemed to expect. What version of My Calendar are you using? Are you using version 1.7.0 or an older version?

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • My Calendar
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic