ICS Calendar
Bug Fix: ability to insert URL in Custom Event Format (Widget) (1 post)

  1. florianhh
    Posted 3 years ago #

    insert into ics-functions.php, line 283:

    if($event['URL']) {
    					$event_url = htmlentities($event['URL']);
    				} else {
    					$event_url = '#';
    				$output = str_replace('%url%',$event_url,$output);

    to inform the user insert into ics-import.php, line 274 at the end:
    and <i>%url%</i>.

    Then you can use in the sidebar widget Custom Event Format p. ex.:

    <li style="color:#333333; ">
    <strong>%date-time%</strong><br />
    <a href="%url%">%description%</a>

    I also tried to contact the developer but his contact form captcha crashed and I couldn't find an email address. So I think if someone want to fork that project that would be a great idea.


Topic Closed

This topic has been closed to new replies.

About this Plugin

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

About this Topic