The last link have I tried with to diffent menus: the one I first mentioned which not gives me any output and the standard XSLT menu from a template in Umbraco (list subpages from current page), where it's placed in the mastertemplate, but somehow it isn't shown on the subpages. Both homepages and subpages inherit from masterpage, so the only difference is the text "Forside" and "Tekstsider" ..
Is there something that might prevent the xslt from rendering?
Well the content structure isn't teh same, but it shouldn't be a problem, as the macro has some parameters referering to the level in the structure.. yes I tried to write some text and it's displayed... I have created a simple master page and some content place for homepage and textpages.. and when I just entering some text in the template it is diplayed .. but not any of the menu as an unordnered list..
<xsl:output method="html" omit-xml-declaration="yes"/> <!-- WHAT IS THIS FILE? The almighty navigation xslt. Will write a simple ul li menu with all the classes needed to style it in every possible way. Settings include: - imageProperty (For background images) - sort (descending/ascending) - ignoreDocumentTypes (Commalist of doc type aliases to ignore/leave out) - rootNodeId (Specifc node as root instead of the currentPage) - fromLevel (Index of level to start on. Relative to the content root) - toLevel (Index of level to end on. Relative to the content root) - showOnlyCurrentPath (Set 1 or 0. ) - isSitemap (Will help sort out all nodes that should be hidden from the sitemap) -->
and then I have in the master template: <umbraco:Macro fromLevel="2" numberOfLevels="1" showOnlyCurrentPath="1" useSelfAsRoot="0" isSitemap="0" navigationId="topnav" rootPage="" ignoreDocumentTypes="" imageProperty="" sort="ascending" Alias="Navigation" runat="server" />
It's working fine on Surftown, but it dosn't seem to give any output... when I use the template (list subpages from current page) in Umbraco an place it on master page, it isn't shown on the content pages (homepage, textpage..)
XSLT menu not giving output
Hi..
I have a XSLT menu on this site http://sub.ak-security.dk/da/forside.aspx which is the ones used in the Tea Commerce v2 starter kit too: http://starterkit.teacommerce.dk
The site is hosted by Surftown, but somehow in doesn't seem the render any output, on at couple of sites at UnoEuro:
http://onetake.dk.nt13.unoeuro-server.com/
http://xn--thyregod-vandvrk-7ob.dk.nt5.unoeuro-server.com/
The last link have I tried with to diffent menus: the one I first mentioned which not gives me any output and the standard XSLT menu from a template in Umbraco (list subpages from current page), where it's placed in the mastertemplate, but somehow it isn't shown on the subpages. Both homepages and subpages inherit from masterpage, so the only difference is the text "Forside" and "Tekstsider" ..
Is there something that might prevent the xslt from rendering?
Bjarne
Hi Bjarne
What does the xslt in question look like? And is the content structure of both sites indentical in Umbraco?
If you just write some text in a xslt file and drop it on the template where you want the menu to render...does that display?
If so...have you checked if the site is setup to be using the old XML schema before v4.5?
/Jan
Hi Jan..
Well the content structure isn't teh same, but it shouldn't be a problem, as the macro has some parameters referering to the level in the structure..
yes I tried to write some text and it's displayed... I have created a simple master page and some content place for homepage and textpages.. and when I just entering some text in the template it is diplayed .. but not any of the menu as an unordnered list..
The xslt looks like this:
and then I have in the master template: <umbraco:Macro fromLevel="2" numberOfLevels="1" showOnlyCurrentPath="1" useSelfAsRoot="0" isSitemap="0" navigationId="topnav" rootPage="" ignoreDocumentTypes="" imageProperty="" sort="ascending" Alias="Navigation" runat="server" />
It's working fine on Surftown, but it dosn't seem to give any output... when I use the template (list subpages from current page) in Umbraco an place it on master page, it isn't shown on the content pages (homepage, textpage..)
I tried to install a Website Starter Package and it seems to render that xslt menu: http://onetake.dk.nt13.unoeuro-server.com/products/
It's v.4.7 and I haven't changes the xml schema.. so I think it's the new one as it should be from v.4.5 and up...
Bjarne
is working on a reply...