×

Notice

The forum is in read only mode.
Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC: Download calendar file saves .ics.html

Download calendar file saves .ics.html 8 years 1 month ago #34991

  • Ing Christian Galko
  • Ing Christian Galko's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 10
  • Thank you received: 0
Hello,
When I book an event and click on the calendar-file it downloads an .ics.html file instead of .ics
Whats wrong?
Joomla configuration does not add .html to urls
Matukio Version 6.012

Download calendar file saves .ics.html 8 years 1 month ago #35014

  • Yves Hoppe
  • Yves Hoppe's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 3519
  • Karma: 71
  • Thank you received: 556
Hello Christian,

are you using html suffixes? Not sure why this is happening for you.

Can you send me a link to the page? And which browser?

On all pages i tested (demo, matukio.compojoom.com etc.) it downloads fine as ics file.

Best,
Yves

Download calendar file saves .ics.html 8 years 1 month ago #35022

  • Ing Christian Galko
  • Ing Christian Galko's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 10
  • Thank you received: 0
We are not using html suffix
It seems to be a problem with Safari browser, it works with Chrome ..
It seems Safari does not recognize it - there are several forum entries about this from Apple community
is the mime type " text/calendar " ?

Download calendar file saves .ics.html 8 years 1 month ago #35026

  • Yves Hoppe
  • Yves Hoppe's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 3519
  • Karma: 71
  • Thank you received: 556
We set that in the header yes.. Going to see if i can dig up a solution.. :/

header("Content-Type: text/calendar; charset=utf-8");

Yves

Download calendar file saves .ics.html 7 years 9 months ago #35512

  • Brian A Peat
  • Brian A Peat's Avatar
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 6
  • Thank you received: 0
I'm having the same issue, only in safari. I don't mind using an override or adding something to the htaccess file, but so far nothing I do has worked to force safari to download the ics without the html at the end of the file name.

I can get around this for the event list by doing this:
$ics_link = "webcal://" . $_SERVER . "/index.php?option=com_matukio&view=ics&format=raw";

But I can't find the link for the booking page so I can modify that.

Update: found the links, they are in core helper files, but for now, I modified them till I can find a better solution.
  • Page:
  • 1
Time to create page: 0.174 seconds