Home · Links · Contact Us
Home arrow Forums
Home
Features
FAQ
Screen Shots
Modules
Themes
Demos
Documentation
Forums
Contact Us
Download
Purchase
Quotes

" ... I want to tell you that your thyme product is functional and valuable beyond words. I cannot imagine why any portal would be without it. It is the cornerstone of our new project ..."

" ... Thanks for such a complete project, its making my job much easier. ..."

" ... I have now deployed 4 different calendars and our users love them ... "

" ... Easy to install and use and a great look/design. ..."

" ... This has to be the easiest to use program I think I've had to deal with at all this year. ..."


  FAQFAQ    SearchSearch  RegisterRegister   Log inLog in 
BUG: Locations not escaped properly

 
Post new topic   Reply to topic     Forum Index -> General
View previous topic :: View next topic  
Author Message
cmoore
Guest





PostPosted: Tue Feb 14, 2006 10:56 pm    Post subject: BUG: Locations not escaped properly Reply with quote

We recently purchased Thyme and have enjoyed it so far, but we are having an issue. We have a location for Registrar's Office that is causing some of the Javascript to break on the Add Event screen. The relevant piece of Javascript looks like this:

Code:
cal_js_locs[4]['title'] = 'Registrar\\'s Office';


We've worked around the issue right now by disabled "Remember locations", but I would like to have a fix for this. If there's a way to fix this on my end (ie. in non-Zend optimized code), feel free to share it. Thanks
--
Cameron
Back to top
esoft_ian



Joined: 12 Sep 2005
Posts: 5275

PostPosted: Tue Feb 14, 2006 11:19 pm    Post subject: Reply with quote

Ok, here you go:

Download http://www.extrosoft.com/products/thyme/updates/1.2/event_edit_tpl.txt

rename to event_edit_tpl.php, upload over existing file in include/templates under Thyme's directory.

Let me know if you have any trouble.
Back to top
View user's profile Send private message Visit poster's website
cmoore
Guest





PostPosted: Wed Feb 15, 2006 6:18 pm    Post subject: Reply with quote

That fixed the issue, but...

It appears that the same problem exists when attempting to edit a calendar when a category has an apostrophe. URL is /index.php?module=calendars&cals_action=Edit&cid=1 and the line throwing the error is:
Code:
etypes[256]['name'] = 'President's Office';


Thanks
Back to top
esoft_ian



Joined: 12 Sep 2005
Posts: 5275

PostPosted: Wed Feb 15, 2006 6:40 pm    Post subject: Reply with quote

Ok, here you go:

download: http://www.extrosoft.com/products/thyme/updates/1.2/event_types.txt

rename to .php and upload to modules/calendars under Thyme's folder.

Let me know if you have any trouble.
Back to top
View user's profile Send private message Visit poster's website
Guest






PostPosted: Wed Feb 15, 2006 6:48 pm    Post subject: Reply with quote

That got it. Thanks, Ian.
Back to top
cmoore
Guest





PostPosted: Wed Feb 15, 2006 6:49 pm    Post subject: Reply with quote

Oops...that Guest was me. Very Happy
Back to top
Display posts from previous:   
Post new topic   Reply to topic     Forum Index -> General All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
© 2005 eXtrovert software unless otherwise noted. All rights reserved.
Portions © 2004 Ben Brown. All rights reserved.
Trademarks are property of their respective owners.