[horde] Public calendars

Michael J Rubinsky mrubinsk at horde.org
Tue Nov 3 03:21:32 UTC 2015


Quoting Ralph Ballier <ballier at mail.schule.de>:

> Zitat von Michael J Rubinsky <mrubinsk at horde.org>:
>
>> Quoting Ralph Ballier <ballier at mail.schule.de>:
>>
>>> Hello,
>>>
>>> I have integrated a public calendar in a website. Now I can see the
>>> days of
>>> the months, but when I click at a day,  I have to login. I think, this
> is
>>> not a public calender.
>>
>> Does the kronolith application have public permissions?
>> (Admin->Permissions)
>>
>>> You can see it, if you click at  http://ods3.schule.de/kalender.html
>>>
>>> I had use the URL from inside of my horde installation:
>>>
>>> <div id="kronolithCal"></div><script
>>>
> src="/horde2/services/ajax.php/kronolith/embed?token=D-S0z9DICMca7dr-RsYTIBT&calendar=internal_ZM0m7yNvN0Xh-bQu_bFQHXB&container=kronolithCal&view=Month[1]"
>>> type="text/javascript"></script>
>>>
>>> Ralph
>>> --
>>> Horde mailing list
>>> Frequently Asked Questions: http://horde.org/faq/
>>> To unsubscribe, mail: horde-unsubscribe at lists.horde.org
>>
>> --
>> mike
>> The Horde Project
>> http://www.horde.org
>> https://www.facebook.com/hordeprojecthttps://www.twitter.com/hordeproject
>
> If I give public permissions (Admin->Permissions), then changes the behave.
> Now I see only a blank screen. In the logfile of httpd I find normal page
> requests, no error messages.
>
> I understand not, in which relationship are the rights under Admin to the
> rights, which sets a user.


Looks like the generated code for the embed functionality was  
incorrectly using a relative URL, so if you are embedding the calendar  
on a site not in the same webroot as horde, this would not work. In  
the javascript src url, make sure it contains a full url to the host  
running horde. The code has been fixed in Git and will be in the next  
release:

https://github.com/horde/horde/commit/7939ce836f78997fc7fddb93582fa195ae899218



-- 
mike
The Horde Project
http://www.horde.org
https://www.facebook.com/hordeproject
https://www.twitter.com/hordeproject
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 5751 bytes
Desc: S/MIME Signature
URL: <http://lists.horde.org/archives/horde/attachments/20151103/4c77822c/attachment.bin>


More information about the horde mailing list