Thl Integration Plugins

THL Toolbox > Developers' Zone > THL Integration Plugins

THL Integration Plugins

Contributor(s): Tom Benner

To make some common server-side functionality available to multiple apps, we use two integration plugins, one for Rails and one for PHP. The Rails plugin is called "thdl_integration" and is located in the ndlb SourceForge repo, while the PHP class is defined in /global/php/class_thl_integration.php of the main THL site's repo. The former is more robust, as it includes additional functionality for grabbing the THL template from the main THL site. Currently, the PHP class primarily concerns writing the top part of the template, and handling functionality related to turning the template on and off for the display of pages/apps inside iframes.

Provided for unrestricted use by the external link: Tibetan and Himalayan Library