Integration Of The Php Thl Integration Plugin Into Spt
<h3 class="heading-h6"><a name="THLToolboxhomegtDevelopersZonegtTHLIntegrationPluginsgtIntegrationOfThePHPTHLIntegrationPluginIntoSPT" class="anchorpoint"></a><a href="/tools/wiki/home.html">THL Toolbox</a> > <a href="/tools/wiki/Developers%27%20Zone.html">Developers' Zone</a> > <a href="/tools/wiki/THL%20Integration%20Plugins.html">THL Integration Plugins</a> > Integration Of The PHP THL Integration Plugin Into SPT</h3><p class="paragraph">
</p><h3 class="heading-h1"><a name="IntegrationOfThePHPTHLIntegrationPluginIntoSPT" class="anchorpoint"></a>Integration Of The PHP THL Integration Plugin Into SPT</h3><p class="paragraph"><strong class="bold">Contributor(s)</strong>: Tom Benner</p><p class="paragraph">For the handling of templateless pages for iframes described in <a href="/tools/wiki/The%20THL%20Integration%20Plugins%27%20Handling%20Of%20Iframes.html">The THL Integration Plugins' Handling Of Iframes</a> to work in SPT (specifically in the SPT instance at /references/spt), the code in spt/SPTUI--Standards/include/SPT--StandardPageStart.html had to be modified to allow the integration plugin, via /global/php/header.php, to create the beginning part of the THL template. Some of SPT's conditionals had to be moved higher in the code to allow them to be added to $add_header. For further details, please refer to the code.
</p><h3 class="heading-h6"><a name="ProvidedforunrestrictedusebythespanclassnobrimgsrcsakairwikitoolimagesicklearrowgifaltexternallinktitleexternallinkahrefhttpwwwthliborgtargetrwikiexternalTibetanandHimalayanLibraryaspan" class="anchorpoint"></a><em class="italic">Provided for unrestricted use by the <span class="nobr"><img src="/" alt="external link: " title="external link"/><a href="http://www.thlib.org" target="rwikiexternal">Tibetan and Himalayan Library</a></span></em></h3>