Another day, another problem it seems. I found a nice xslt script floating around the forums here for fetching all members in XSLT. I tried it out in a test site and everything works fine. When installing it on the site I need it in however, it just won't show up in the list of extensions.
I placed the DLL in the bin folder, and copied the line where I register the extension from the xsltExtensions.config file to the file in the new site. And I of course added the xmlns to the xslt file.
XSLT extension not registering
Another day, another problem it seems. I found a nice xslt script floating around the forums here for fetching all members in XSLT. I tried it out in a test site and everything works fine. When installing it on the site I need it in however, it just won't show up in the list of extensions.
I placed the DLL in the bin folder, and copied the line where I register the extension from the xsltExtensions.config file to the file in the new site. And I of course added the xmlns to the xslt file.
Details:
Umbraco 4.0.3
Windows server 2003
msSQL 2008
I followed the following tutorial: http://en.wikibooks.org/wiki/Umbraco/Create_xslt_exstension_like_umbraco.Library_in_C
But somehow I am getting the idea I forgot something. It's pretty weird considdering it works just fine on the test site.
-Ferdy
Hi Ferdy
Do you mind showing us, what you have written in your XsltExtensions.config?
/Jan
Of course here it is:
<?xml version="1.0" encoding="utf-8"?>
<XsltExtensions>
<!--
<ext assembly="/bin/name-of-dll-without-dll-extension" type="Fully.Qualified.Name.Of.Type.Including.Namespace" alias="Prefix-to-use-in-xslt" />
-->
<ext assembly="/bin/getAllMediaItems" type="getAllMediaItems.getAllMediaItems" alias="bmExt"></ext>
<ext assembly="/bin/xsltMemberExtensions" type="xsltMemberExtensions.members" alias="bmMemExt"></ext>
</XsltExtensions>
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.