Roundcube Community Forum

 

Calendar - add other holiday

Started by paolol61, September 30, 2010, 03:43:03 AM

Previous topic - Next topic

paolol61

Hi,
first thanks to all for the usefull information that enable me to install this plugin in my Bubba2 server :D

I will like to understand how to change the holiday , from the standrd german to italian, I try to do it from the setting menu but I was only able to remove the german one , can't figureout ho to add a new one, I pressed the add button and paste the link to the calendar and then press save button at the botom of the page but nothing was added :eek: try several time with no result.
Then I go to edit the PHP and changed the line to eneble the correct one , but is no longher visible on the menu page, think because i deleted from the user setting, I see you save in the mysql some string that should control these setting :P

Any help is very appreciated, thanks.

Paolo
:cool:

rosali

Works for me by adding the following URL to calendar feeds:

Festività italiane
Regards,
Rosali

paolol61

Hi Rosali,
that the same link I was try to save, can you detail the process to save the link after you add it ?? or can you give me a clue on wath can be the reason it's not saved ?

Thanks

rosali

#3
Most likely PHP cURL is missing or incorrect configured. Before a feed URL is save there is a cURL connection to the feed established which checks if the URL returns a valid XML response. If not the URL isn't saved.

There is a hidden test for cURL setup:
#1 Login into Roundcube
#2 Enter URL: http://your_domain_or_from_localhost/?_task=dummy&_action=plugin.calendar_tests

If you have problems with cURL, you could try to add the URL into the config instead of the German holidays feed.
Regards,
Rosali

paolol61

Thanks Rosali,
but still not saving, I also try to change in the PHP script the line as you suggest but still no good, any other suggestion ?
Thanks

paolol61

Hi Rosali,
try to use you link in the config.inc.php

// public calendar (can't be deleted by user)
$rcmail_config['public_calendarfeeds'] = array(
//  'http://www.google.com/calendar/feeds/[email protected]/public/basic' => 'Public',
 'http://www.google.com/calendar/feeds/it.italian%23holiday%40group.v.calendar.google.com/basic' => 'Public', );

but it slow down the load of the page and I get a timeout message.
Thanks for any help you can give me :)

Paolo

stkcode

#6
Hello Paolo,

The link you have posted returns a 401 authorization required because your missing the /public in the link that Rosali posted earlier.

It should be:

//www.google.com/calendar/feeds/it.italian%23holiday%40group.v.calendar.google.com/public/basic

and you have:

//www.google.com/calendar/feeds/it.italian%23holiday%40group.v.calendar.google.com/basic

Note the /public before /basic in the url link.

jeffshead

#7
My mistake. Please disregard my post.