Getting umbraco.library to associate with external xsl Options
rorythecheese
Posted: Wednesday, March 26, 2008 5:38:27 PM

Rank: Newbie

Joined: 2/15/2008
Posts: 16
Location: London, England
Hello folks, was wondering if there's a simple way to get umbraco to be able to recognise an external xsl file so that i can use the umbraco.library functions in that file?

At the moment i have a couple of sites running umbraco and they communicate by outputting an extra custom xml using xsl. But in this xsl i want to be able to use umbraco.library:GetMedia to pass across the URL, of images in my media library, plus NiceUrls.

So i essentially need umbraco to view my external xsl file as one of it's own, and to use the umbraco.library. Is this possible?

Also our developer, in making the external xml & xsl files had to overide the way umbraco makes "application page calls" so that the external file is updated when the umbraco.config is too. So he said this may be a problem in getting this to work.

ANy help would be great . Cheers.

He added the following in a web.config
Code:
<?xml version="1.0" encoding="UTF-8"?>
<configuration>
    <appSettings>
        <remove key="umbracoUseDirectoryUrls" />
        <remove key="umbracoTimeOutInMinutes" />
        <remove key="umbracoStorageDirectory" />
        <remove key="umbracoSmtpServer" />
        <remove key="umbracoReservedUrls" />
        <remove key="umbracoReservedPaths" />
        <remove key="umbracoPath" />
        <remove key="umbracoHideTopLevelNodeFromPath" />
        <remove key="umbracoEnableStat" />
        <remove key="umbracoEditXhtmlMode" />
        <remove key="umbracoDisableXsltExtensions" />
        <remove key="umbracoDisableVersionCheck" />
        <remove key="umbracoDefaultUILanguage" />
        <remove key="umbracoDebugMode" />
        <remove key="umbracoProfileUrl" />
        <remove key="umbracoDbDSN" />
        <remove key="umbracoContentXML" />
        <remove key="umbracoConfigurationStatus" />
    </appSettings>
    <system.web>
        <httpModules>
            <remove name="UrlRewriteModule" />
            <remove name="umbracoRequestModule" />
            <remove name="viewstateMoverModule" />
            <remove name="umbracoBaseRequestModule" />
            <remove name="ScriptModule" />
        </httpModules>
        <httpHandlers>
            <remove verb="*" path="umbraco/channels.aspx" />
            <remove verb="*" path="umbraco/channels/word.aspx"/>
        </httpHandlers>
    </system.web>
</configuration>
Users browsing this topic
Guest


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.