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

    (@joedolson)

    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.

    Thread Starter brian7997

    (@brian7997)

    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
    href='{link}’>`

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

    Plugin Author Joe Dolson

    (@joedolson)

    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?

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Plugin: My Calendar] {link} URL breaks template’ is closed to new replies.