I'm looking for a solution where I can show how many subpages there is under every menuitem with a count. With the XSLT I have at the moment it shows the same number on all the menu items.
That means, if I am clicking "Product area 1", it will show 2 here (that's correct) but under "Product area 2", "Product area 3" and "Product area 4" it will also show output as 2.
The structure should work like this instead:
- Content
- Welcome
- Products
- Product area 1 (Show the number 2)
- Product a
- Product b
- Product area 2 (Show the text "none")
- Product area 3 (Show the number 2)
- Product c
- Product d
- Product area 4 (show the number 4)
- Product e
- Product f
- Product g
- Product h
Can it be done at all with XSLT?
I really hope someone can help me with this one.
Place a number behind a menuitem with subpages
Hi,
I'm looking for a solution where I can show how many subpages there is under every menuitem with a count. With the XSLT I have at the moment it shows the same number on all the menu items.
That means, if I am clicking "Product area 1", it will show 2 here (that's correct) but under "Product area 2", "Product area 3" and "Product area 4" it will also show output as 2.
The structure should work like this instead:
- Content
- Welcome
- Products
- Product area 1 (Show the number 2)
- Product a
- Product b
- Product area 2 (Show the text "none")
- Product area 3 (Show the number 2)
- Product c
- Product d
- Product area 4 (show the number 4)
- Product e
- Product f
- Product g
- Product h
Can it be done at all with XSLT?
I really hope someone can help me with this one.
Kind regards,
Niels
Hi Niels,
you could try something like this:
Hi Peter,
It just works like a charm :)
Thanks a million.
Kind regards,
Niels Kristiansen
is working on a reply...