I'm a newb to Umbraco so I apologize if this has been answered already. I'm working on converting our intranet to Umbraco for the CMS content, but we have a couple of pages that need to work as is. To work around this, I've created a sub folder in the Umbraco site that the URL Rewriter ignores. I need to include the navigation macro I've created on these pages but when I load the pages, they display an error:
I'm guessing I need to register the Umbraco DLLs on the master page that these pages will be using so it can access the Umbraco macro, but I've not had any success in doing so. I tried these two:
Not sure about includes for the XSLT itself - but if you don't need to alter the XSLT or provide new data (such as where you want to re-use a header menu or footer content on a non-umbraco site) - you could simply create a template that outputs your XSLT, which you could then include in your new site.
So: www.mysite.com/?altTemplate=getHeaderMenu
Although slightly hacky, this would remove any direct Umbraco DLL requirements, if you're not using them for anything else.
Registering Umbraco controls to access macro
I'm a newb to Umbraco so I apologize if this has been answered already. I'm working on converting our intranet to Umbraco for the CMS content, but we have a couple of pages that need to work as is. To work around this, I've created a sub folder in the Umbraco site that the URL Rewriter ignores. I need to include the navigation macro I've created on these pages but when I load the pages, they display an error:
Error parsing XSLT file: \xslt\Navigation3Levels.xslt
I'm guessing I need to register the Umbraco DLLs on the master page that these pages will be using so it can access the Umbraco macro, but I've not had any success in doing so. I tried these two:
but the page continues to display the error. Any suggestions for what I'm doing wrong?
Not sure about includes for the XSLT itself - but if you don't need to alter the XSLT or provide new data (such as where you want to re-use a header menu or footer
content on a non-umbraco site) - you could simply create a template that outputs your XSLT, which you could then include in your new site.
So: www.mysite.com/?altTemplate=getHeaderMenu
Although slightly hacky, this would remove any direct Umbraco DLL requirements, if you're not using them for anything else.
Cheers,
Drew
is working on a reply...