• Hey,

    I installed your Plugin for displaying an iCal-calendar.

    However after adding the widget and entering the responding iCal link, nothing except the title “Events” is displayed. In your FAQ I read that in the file there should be lines link “BEGIN:VEVENT” and so on. They do exist in this file.

    I also tried with #example instead of a link, but still there is only the title “Events” displayed.

    Can you help me?

    Best regards
    Alina

    (you can find the title (Events) on the linked website at the bottom; directly above the footer)

    • This topic was modified 2 weeks, 2 days ago by alinaseibt.

    The page I need help with: [log in to see the link]

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author bramwaas

    (@bramwaas)

    Hi Alina,

    Thank you for using my plugin andreporting this issue.
    I think you see no issues because there is a cache of one hour (als if nothing is fetched) When you install the plugin the cash is filled with no events. When you fill in the calendar Id the cache is still valid.
    You can empty the cache after you change the calendar Id with the advanced stting ‘clear cache’.
    I expect after that you will see your events.
    Regards Bram

    Thread Starter alinaseibt

    (@alinaseibt)

    Hey Bram,

    unfortunately, this still doesn’t work. 🙁

    Kind regards
    Alina

    Plugin Author bramwaas

    (@bramwaas)

    Hi Alina

    indeed unfortunately I have to dig deeper to find the cause of this issue.

    I see you use siteorigin pagebuilder, I am afraid that the issue is caused by a conflict with this pagebuilder. Maybe the settings are not presented back to my plugin, but this is still guessing and I have no experience at all with SiteOrigin.

    I will try to install Siteorigin on my test-environment to reproduce the issue. Then I hope to find a solution. But unfortunately this will take some more time, then debugging with standard WordPress.

    Regards Bram

    Plugin Author bramwaas

    (@bramwaas)

    Hi Alina,

    I think I’ve managed to reproduce the issue.

    Setting up a test with SiteOrigin wasn’t as difficult as I’d anticipated.
    Based on your page’s source code, I assumed you were using the Virtue theme.
    So, I installed and activated both SiteOrigin and Virtue.
    I used some existing test cases but also created a few new pages just to be safe.

    I created a SiteOrigin layout on the page.
    I inserted several rows with three columns.
    I added some random widgets to the top rows.
    In the bottom row, in the rightmost column, I used the “Add Widget” function from the SiteOrigin Layout toolbar
    to insert the Simple Google iCalendar Widget.
    On the extensive settings screen, I entered several values, including a valid Calendar ID.

    I repeated this process a few times with different settings.

    Everything seemed to work correctly until I tried to change the settings:

    The widget name on the editor page changed to “Missing widget,” and the setting changes weren’t saved—at least not for the widget actually on the page.
    So, if you make a mistake initially, the only way to fix it is to delete the widget and add a new instance in its place.

    I don’t have a solution yet, but this could serve as a workaround.

    I also noticed that, outside of the SiteOrigin layout, you can simply use the standard WordPress block editor. You can insert the “Simple iCal Block” there, and the block settings appear on the right side of the editor screen. Changes and cache clearing work correctly in this context. You could use this method to find the right settings and then apply them to a newly added widget within the SiteOrigin layout.
    Just an additional tip to go along with the workaround.

    Regards

    Bram

    Plugin Author bramwaas

    (@bramwaas)

    Hi Alina,

    I am pretty sure that the cause of the issue is that SiteOrigin doesn’t work wel with widget’s where the code classis in a namespace, like my widget.

    I have tested a little bit and without namespace my widget works in de SiteOrigin editor.

    Now I will add a front without namespace to my widget, that will show up as a seperate widget with NNS in the name. Make the code tidy again, do some more testing and upload it as version 3.1.3.

    I think this solution (work around) that I can provide, is faster than post the issue at SiteOrigin support and wait till they solve it. I expect to be ready and upload this version to the plugin directory tomorrow then you can download it 24 hours later.

    Regards

    Bram

    Thread Starter alinaseibt

    (@alinaseibt)

    thank you so much so far.

    Regarding the workaround I guess I don’t really get the point. I can add a “Simple iCal Block” in my “LiveEditor” (I’m not quite sure if this is offered by siteorigin or the classic wordpress editor). When adding the calender on my page, the blocks title is “Simple Google iCalendar Widget”.

    However: i recognised after adding a new widet with “#example” as URL, it works. It just doesnt seem to work with an ical-link.

    Plugin Author bramwaas

    (@bramwaas)

    Hi Alina,

    I have uploaded version 3.1.3 to the plugin directory and I see it is already available to update the plugin.

    If you update to this version, you can check the ‘Add legacy widget with no namespace’ checkbox in the Settings / Simple iCal Options page (or url <your wordpress installation url>wp-admin/options-general.php?page=simple_ical_options ).

    After that and some minutes waiting (I’d estimate about 15 minutes.) you can choose the ‘Simple Google iCalendar Widget No Namespace’ in SiteOrigin layout / Add widget.

    This widget will work the way it should do in the SiteOrigin environment.

    So, you can forget about the other workarounds.

    A public iCal link should work, I have mainly tested with google, microsoft or apple but other valid iCal urls should also work. The calendar needs to be public available and there need to be events in the coming 92 days, if you have not changed the setting ‘Number of days after today with events displayed:’ if no event is found you can try a higher value for that setting e.g. 365 (a year).

    If you need more help you could sent me the ical link and screen prints of your settings screen (to bram at waasdorpsoekhan.nl)

    Regards Bram

    • This reply was modified 1 week, 3 days ago by bramwaas.
    Plugin Author bramwaas

    (@bramwaas)

    An additional issue is the use of a query string in the ical Url —specifically, the use of the ampersand (&) character. My plugin was converting them to &amp; making the URL unusable. This is fixed it in version 3.1.4, which I have just published.

    I hope everything works now.

Viewing 8 replies - 1 through 8 (of 8 total)

You must be logged in to reply to this topic.