[kronolith] how to re: Added calendar widgets embeddable into external websites
Michael Rubinsky
mrubinsk at horde.org
Tue Sep 30 16:06:29 UTC 2008
Please keep discussions on list so others can benefit.
Quoting gimili <gimili17 at gmail.com>:
> Michael Rubinsky wrote:
>> To embed a small month-view calendar:
>> <div id="kronolithCal"></div>
>> <script
>> src="http://yourdomain.com/horde/kronolith/imple.php?imple=Embed/container=kronolithCal/view=month/calendar=yourcalendarname"
>> type="text/javascript"></script>
>> To embed a summary view:
>> <div id="kronolithCal2"></div>
>> <script type="text/javascript"
>> src="http://yourdomain.com/horde/kronolith/imple.php?imple=Embed/container=kronolithCal2/view=summary/calendar=4ab0dab2ff41a140ceecd5e053ee8efc"></script> The div can go anywhere on your page/blog (you can see some samples on my 'sandbox' blogger account at http://mrubinsk.blogspot.com) etc... and you can have multiple embedded views on the same page by giving the div for each one a seperate dom id. Also, as you can see, the 'calendar' attribute should be the internal name of the calendar you want to embed. For most users' default calendars this would be the username, but you can see the calendar names by viewing the calendar information page. In the next release of kronolith, these code snippits will display on the information page also. (The month view code has already been added to the information page in the latest
>> CVS).
> Thank you Michael!
> It works fine with your calendar but when I switch to mine I get:
> The method "blockTitle" is not defined in the API for horde.
> The method "blockContent" is not defined in the API for horde.
>
You probably don't have guest permissions allowed for horde itself.
Administration->Permissions
Thanks,
mike
--
The Horde Project (www.horde.org)
mrubinsk at horde.org
"Time just hates me. That's why it made me an adult." - Josh Joplin
More information about the kronolith
mailing list