Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author anmari

    (@anmari)

    Hi Steve,
    Could you clarify what you are expecting it to do?

    If you are using the free plugin with an ics file, then know that
    1) plugin will link to the url provided in the ics file
    2) many times the ics file does not provide a url, so the plugin has the possibility of adding a default url (see https://icalevents.com/1365-ical-events-and-default-urls-for-the-widget/#ics)

    if you are using amr-events, then you should post questions at https://icalevents.com/forums/. That plugin creates a master event and shows the instances that the date occurs on, so again there is no possibility and no need to link to an ‘instance’.

    Thread Starter twistsd

    (@twistsd)

    The problem is that I have weekly repeating events, which appear ok in the widget but the hyperlink is linked to the event and that that instance show it it not showing the correct details. What I want to be able to do is either have the hyperlink go to the event instance or be able to change to code so that the title of the event is not a hyperlink.

    Thanks
    Steve

    Plugin Author anmari

    (@anmari)

    So I’m assuming you are using an ics file.

    Linking to the instance of source file without knowing what the url is:

    We have no way of ‘knowing’ any other link url other than the one provided by the ics file. That Url is supposed to be a useful and relevant link. If the event details it links to are incorrect, surely the approach should be to get those details corrected?

    Alternatively If the supplying site has different instances with different urls (from what you are saying the supplying site does have other pages that you are expecting to be able to link to), they could issue a VEVENT modification of the main event that has the different url appropriate for that instance – all in the same ics file. You could forward a request to them to do that to improve the quality of their ics file ?

    Removing the hyperlink on the event titles/summaries:
    To remove the hyperlink, go to the widget settings (in appearance area) and untick the check box option:

    Hover description on Title
    Do an event summary hyperlink with event description as title text ?
    Thread Starter twistsd

    (@twistsd)

    Anmari, the check box was already unticked.

    Plugin Author anmari

    (@anmari)

    aplogies, your’re right.
    unticking stopped it doing the summary text as a hyperlink text and stopped it using the default url when there wasn’t a url, but it still does use the url when there is a event url.

    So I had a think about what your need. My view is that majority of folks would want the url to be used if it is there. You are the first person to ask NOT to use the event url provided by the ics supplier.

    I understand that this is because you think the url is ‘wrong’. As noted above the best approach would be if the supplier provided a correct URL or relevant/correct data on the destination page of the url.

    If that is not likely to happen for whatever reason, then the next best option is possibly to ‘fix’ the ics feed before it is used by the plugin. I have added a filter to the plugin to allow for this sort of requirement as this request has come up before for a differen reason. So one can code add-ons to modify an ics feed before it is cached.

    The version with this filter will go up at wp in the next day or two.
    To prove that this will work, I have also coded a small add-on which strips the URL line from a specific ics feed. It works – the event then no longer has a hyperlink – since there is no url.

    Should you wish to use this little add-on, there will be a small fee or of course you can code your own. It will be available on calevents.com shortly after the next update of the main plugin.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Not linking to event istance only to event’ is closed to new replies.