wasimshaikh / php-calendar

Automatically exported from code.google.com/p/php-calendar
1 stars 0 forks source link

Category color-picker not working in embedded calendar #80

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Select 'Create Category'
2. Give it a title
3. Try to select a color

What is the expected output? What do you see instead?
Expect new category - error because no color is selected

What version of the product are you using? On what operating system?
2.0-beta10  O/S XP Pro SP3 Apache 2.2.17  MySQL 5.5.8 PHP 5.3.5

Please provide any additional information below.

Original issue reported on code.google.com by oldc...@gmail.com on 2 Aug 2011 at 11:50

GoogleCodeExporter commented 9 years ago
What browser are you using?

Original comment by sproctor@gmail.com on 21 Jul 2012 at 10:44

GoogleCodeExporter commented 9 years ago
I am having the same issue when the calendar is embedded in my page. If I 
access the calendar directly the color picker works. 

Original comment by ecorbom...@gmail.com on 20 Oct 2012 at 1:21

GoogleCodeExporter commented 9 years ago
Sorry about that. Check the index.php file and copy the link and script tags to 
your own header. They start around line 85 (I'm looking at the dev version so 
it may be a bit off). I'll try to come up with something for the next version.

Original comment by sproctor@gmail.com on 20 Oct 2012 at 12:27

GoogleCodeExporter commented 9 years ago

Original comment by sproctor@gmail.com on 20 Oct 2012 at 12:28

GoogleCodeExporter commented 9 years ago
Just to let you know where the problem is in beta 10. It looks like it is a 
combination of the remote jquery js file and the file form.js. form.js does not 
get linked correctly when the calendar is embedded. I made the jquery file 
local and  added it, form.js, and script.js to the header of my file and the 
color picker works.

Thanks for pointing me in the right direction. Now there is just the issue of 
the error after adding an event.

Catchable fatal error: Object of class __PHP_Incomplete_Class could not be 
converted to string in 
/home/content/XX/XXXXXXX/html/site/calendar/includes/html.php on line 128

Original comment by ecorbom...@gmail.com on 22 Oct 2012 at 3:14

GoogleCodeExporter commented 9 years ago
The colorpicker has been re-written. Hopefully this is fixed now.

Original comment by sproctor@gmail.com on 22 Apr 2013 at 9:22