You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Having an issue where IE9 and FireFox download the file but do not add the file extension. Webkit browsers seem to handle this just fine. Using EE 2.7.2.
Thanks for a great plugin!
The text was updated successfully, but these errors were encountered:
Added to line 70 - header( 'Content-Disposition: attachment; filename="MyName.ics"' );
Forced the file to always be named the samething but also forced the file extension to be added and solved the issue.
EDIT
Made it a little more dynamic with the help of a co-worker.
$filename = ee()->TMPL->fetch_param('filename');
if (empty($filename)) $filename = 'MyName.ics';
header( 'Content-Disposition: attachment; filename="'.$filename.'"' );
Then in my template
{exp:easy_ical:calendar timezone="Central/Austin" name="My Name Here" filename="{url_title}.ics"}
Everything is working exactly as I want it to now.
Having an issue where IE9 and FireFox download the file but do not add the file extension. Webkit browsers seem to handle this just fine. Using EE 2.7.2.
Thanks for a great plugin!
The text was updated successfully, but these errors were encountered: