[Wiki] changed: ScreenScrapingKronolith
Wiki Guest <[email protected]>
| Newsgroups | gmane.comp.horde.cvs |
|---|---|
| Message-ID | <[email protected]> |
guest [72.15.14.12] Tue, 21 Jul 2009 09:02:36 -0400 Modified page: http://wiki.horde.org/ScreenScrapingKronolith New Revision: 2.2 Change log: fixing headings @@ -1,11 +1,11 @@ This how-to explains how to integrate public kronolith calendars with your other websites through screen scraping with PHP. There are other methods of embedding kronolith calendars with javascript, but they don't provide the same level of functionality. -==Assumptions== +++ Assumptions # Your horde installation is located in '''/calendar''' # You have a file named '''calendar.horde.inc.php''' in your include path -==Setup== +++ Setup This setup uses two files, one to provide the necessary functions and another that you can put anywhere on your site (or multiple places) where you'd like the calendar displayed. The file used to display the calendars is fairly simple, it includes a link to appropriate stylesheets, the call to the calendar with associated config variables and if necessary header and footer information. This example is designed to go inside the <body> tags on your page. '''Place this in the php file where you would like to have the calendar display''' @@ -120,9 +120,9 @@ <? } </code> -==Further Customization== +++ Further Customization If you would like to hide the menus for guests you can adjust the pages in kronolith that display the different views. Here's an example of the kronolith/day.php file. You'll want to adjust the month, week, workweek and year files as well. <code type="php"> require_once dirname(__FILE__) . '/lib/base.php'; -- To unsubscribe, mail: [email protected]