dark_yodaman on "[Plugin: All-in-One Event Calendar] Export to GoogleBug in URL"

ساخت وبلاگ

dark_yodaman
Member
Posted 3 days ago #

Hi,

I want to export my calendar to google by clicking on 'add to google'.

In my Google Calendar account I get the error message
This Mail Adress has no active Google Calendar Account: URL

I have figured out that the URL is wrong. Exact at: the & amps are not converted to correct URL symbols. so I get this URL:
https://www.st-johannes-ap.de/?plugin=all-in-one-event-calendar& amp;controller=ai1ec_exporter_controller& amp;action=export_events& amp;no_html=true
and it should be:
https://www.st-johannes-ap.de/?plugin=all-in-one-event-calendar&controller=ai1ec_exporter_controller&action=export_events&no_html=true

Do you have any idea whats the problem?

Thank you

https://wordpress.org/plugins/all-in-one-event-calendar/

Edit: I had to add spaces between & and amp; because this forum remplaces & amp; by a & (which the plugin does not)

dark_yodaman
Member
Posted 11 minutes ago #

Hi,

I found a solution, based on webcal (not with direct google).
So i replaced
http://www.google.com/calendar/render?cid=https%3A%2F%2Fwww.st-johannes-ap.de%2F%3Fplugin%3Dall-in-one-event-calendar%26controller%3Dai1ec_exporter_controller%26action%3Dexport_events%26no_html%3Dtrue
with
webcal://www.st-johannes-ap.de/?plugin=all-in-one-event-calendar&controller=ai1ec_exporter_controller&action=export_events&no_html=true

than it imports to google (for me as it is my standard)

change line 37 in ./public/themes-ai1ec/vortex/twig/subscribe-buttons.twig
to
href="{{ export_url_no_html | replace( {"https://": "webcal://"}) | e('html_attr') }}">

I don't know where this line is used: ./app/view/event/single.php:109

I hope this issue get fixed properly in the next release.
Thanks

WordPress ...
ما را در سایت WordPress دنبال می کنید

برچسب : نویسنده : استخدام کار wpss بازدید : 54 تاريخ : پنجشنبه 16 ارديبهشت 1395 ساعت: 20:43