rusasadmins
  rusasadmins
Gold Member
  Tuesday, 26 April 2022
  19 Replies
  734 Visits
0
Votes
Undo
When someone downloads an iCal file from our calendar, the formatting is incorrect.

If you don't click "Preserve formatting in description" you see something like this in the downloaded iCal:

Department of Cell Biology and Neuroscience\nCBN Seminar Series\nZoom Link | Meeting ID: 983 2799 5166| Password: 139285\n12:00PM, Friday, May 6, 2022\nFollowed by a book signing by the author\nD406 Nelson Labs\nDr. Karl Herrup\nUniversity of Pittsburgh School of Medicine and author of “How Not to Study a Disease”\n“Alzheimer's alternatives: new insights into the function of APP (the amyloid precursor protein)”\n


If you do click "Preserve formatting in description" you get HTML code:


<p style="text-align: center;">Department of Cell Biology and Neuroscience</p><p style="text-align: center;">CBN Seminar Series</p><p style="text-align: center;"><a href="https://rutgers.zoom.us/j/98327995166?pwd=UThCWWNuNHRjdTRXK1VITnh2YmhRUT09">Zoom Link</a> | Meeting ID: 983 2799 5166| Password: 139285</p><p style="text-align: center;"><strong>12:00PM, Friday, May 6, 2022</strong></p><p style="text-align: center;"><strong>Followed by a book signing by the author</strong></p><p style="text-align: center;"><strong>D406 Nelson Labs</strong></p><p style="text-align: center;"><strong>Dr. Karl Herrup</strong></p><p style="text-align: center;"><strong>University of Pittsburgh School of Medicine </strong><strong>and author of “How Not to Study a Disease”</strong></p><p style="text-align: center;">“Alzheimer's alternatives: new insights into the function of APP (the amyloid precursor protein)”</p>


Is there a solution for this?

Thanks,
Eddie
2 years ago
·
#226061
Accepted Answer
0
Votes
Undo
Sorry - a slip up, I used 'h' in the time format instead of 'H' and I'd only tested with am events :(

JEvents Club members can get priority forum support at the Support Forum. As well as access to a variety of custom JEvents addons and benefits. Join the JEvents club today!

2 years ago
·
#226084
0
Votes
Undo
It works! Thanks for all your work on this.

-Eddie
2 years ago
·
#226061
Accepted Answer
0
Votes
Undo
Sorry - a slip up, I used 'h' in the time format instead of 'H' and I'd only tested with am events :(

JEvents Club members can get priority forum support at the Support Forum. As well as access to a variety of custom JEvents addons and benefits. Join the JEvents club today!

2 years ago
·
#226057
0
Votes
Undo
Thanks for your continued efforts. Unfortunately, it added the event at 12:00am for Friday, instead of 12:00pm.

-Eddie
2 years ago
·
#226054
0
Votes
Undo
Ok - I think I have it now

Sometimes being based in the UK with our timezone means testing these timezone offsets can be fiddly!

JEvents Club members can get priority forum support at the Support Forum. As well as access to a variety of custom JEvents addons and benefits. Join the JEvents club today!

2 years ago
·
#226052
0
Votes
Undo
Here's what we have:

1. PHP/Server = UTC
2. Joomla (Global config) = New York
3. JEvents (bottom of first tab) = AMERICA/NEW YORK
4. JEvents (import/export tab) = AMERICA/NEW YORK
5. Outlook = (UTC-05:00) Eastern Time (US & Canada)
6. Outlook Meeting TimeZone = (UTC-05:00) Eastern Time (US & Canada)

Thanks,
Eddie
2 years ago
·
#226025
0
Votes
Undo
What timezones do you have for:

1. PHP/Server
2. Joomla (Global config)
3. JEvents (bottom of first tab)
4. JEvents (import/export tab)
5. Outlook
CalendarTimeZonie.png
6. Outlook Meeting TimeZone
MeetingTimeZone.png

I'll then try to recreate the problem.

JEvents Club members can get priority forum support at the Support Forum. As well as access to a variety of custom JEvents addons and benefits. Join the JEvents club today!

2 years ago
·
#226014
0
Votes
Undo
OK, we're getting closer. The date is correct now, but the time is incorrrect (off by 4 hours). I checked the JEvents config and the time zone is correct on both the main details and the iCal Export settings.

Please see screen shots:

jevents-correct-date-front-end.png

jevents-wrong-date-outlook.png
2 years ago
·
#226012
0
Votes
Undo
Strange - the date fields have been dropped in the URL.

Can you try this alternative build - I've just tested with various event times and dates and they seem to work ok (documentation is pretty sketchy!!).

JEvents Club members can get priority forum support at the Support Forum. As well as access to a variety of custom JEvents addons and benefits. Join the JEvents club today!

2 years ago
·
#226008
0
Votes
Undo
OK, now when I click "Send to Microsoft Outlook" it doesn't add the event to the right day and time - it adds it to today:

https://cbn.rutgers.edu/seminars-events/events/icalrepeat.detail/2022/05/06/663/-/seminar-alzheimer-s-alternatives-new-insights-into-the-function-of-app-the-amyloid-precursor-protein-dr-karl-herrup

-Eddie
2 years ago
·
#226007
0
Votes
Undo
I checked the server and they weren't there. I copied them over from the Joomla! 4 site I used to test the pre-release file. Note: on the site that was missing the icons, I had updated JEvents using YourSites.

Thanks, Eddie
2 years ago
·
#226001
0
Votes
Undo
There should be new icons in https://cbn.rutgers.edu/media/com_jevents/images/icons-32/ e.g. gcal32.png, outlookicon31.png (sic) and yahoo32.png.

These are not on this server but they are in the package I uploaded last week and I just tested them on a Joomla 3 site and they worked ok. Can you check your server?

JEvents Club members can get priority forum support at the Support Forum. As well as access to a variety of custom JEvents addons and benefits. Join the JEvents club today!

2 years ago
·
#225996
0
Votes
Undo
We have one template override for com_jevents:

/html/com_jevents/flatplus/search/form_body.php


<?php
defined('_JEXEC') or die('Restricted access');
?>

<table cellpadding="0" cellspacing="0" border="0" width="100%">
<tr>
<td align="center" width="100%">
<form action="<?php echo JRoute::_("index.php?option=".JEV_COM_COMPONENT."&task=search.results&Itemid=".$this->Itemid);?>" method="post" style="font-size:1;">
<label for="keyword"><?php echo "Enter your search terms:";?></label>
<input type="text" id="keyword" name="keyword" size="30" maxlength="50" class="inputbox" value="<?php echo $this->keyword;?>" />
<label for="showpast"><?php echo JText::_("JEV_SHOW_PAST");?></label>
<input type="checkbox" id="showpast" name="showpast" value="1" <?php echo JFactory::getApplication()->input->getInt('showpast',0)?'checked="checked"':''?> />
<input class="button" type="submit" name="push" value="<?php echo JText::_('JEV_SEARCH_TITLE'); ?>" />
</form>
</td>
</tr>
</table>
2 years ago
·
#225990
0
Votes
Undo
That's really strange, do you have an override in templates/your_templates/com_jevents/ by any chance?

Many thanks
Tony

JEvents Club members can get priority forum support at the Support Forum. As well as access to a variety of custom JEvents addons and benefits. Join the JEvents club today!Join the JEvents club today!

2 years ago
·
#225986
0
Votes
Undo
This works really well on Joomla! 4. On Joomla! 3, most of the icons are missing in the Download iCal modal window:

https://cbn.rutgers.edu/seminars-events/events/icalrepeat.detail/2022/05/06/663/-/seminar-alzheimer-s-alternatives-new-insights-into-the-function-of-app-the-amyloid-precursor-protein-dr-karl-herrup

Thanks,
Eddie
2 years ago
·
#225922
0
Votes
Undo
This will be included in the next release of JEvents - I've done some testing and it appears to work ok.

If you'd like to try it on a test site I am attaching a pre-release build

JEvents Club members can get priority forum support at the Support Forum. As well as access to a variety of custom JEvents addons and benefits. Join the JEvents club today!

2 years ago
·
#225908
0
Votes
Undo
Thanks, that would be great!
2 years ago
·
#225905
0
Votes
Undo

JEvents Club members can get priority forum support at the Support Forum. As well as access to a variety of custom JEvents addons and benefits. Join the JEvents club today!

2 years ago
·
#225904
0
Votes
Undo
Here is an example of a JEvent that gives us this problem:

https://cbn.rutgers.edu/seminars-events/seminar-series/icalrepeat.detail/2022/05/06/663/-/dr-karl-herrup-seminar

We are using Outlook to import the events. What is strange is that Outlook can handle other ics files without this problem - for example, Zoom invitations. It is only JEvents that is giving us this problem.
2 years ago
·
#225902
0
Votes
Undo
The description field in an iCal export should be in quoted-printable format - no HTML, wrapping at 75 characters etc.

The importing calendar app should convert this back to a more readable format.

What calendar app are you importing into? Can you give us the iCal export URL to take a look at?

JEvents Club members can get priority forum support at the Support Forum. As well as access to a variety of custom JEvents addons and benefits. Join the JEvents club today!

  • Page :
  • 1
There are no replies made for this post yet.

Members Area

Show your support

Unlike many Joomla calendars we do not charge to download JEvents - please show your support for this project by becoming a member of the JEvents Club Club members get access to early releases, exclusive member support forums, and Silver and Gold members can use many exciting JEvents addons

Your membership will ensure that JEvents continues to be the best events calendar for Joomla.