You need to look at template inheritance. Am I right in assuming that the lower level pages and the front page need to all show this macro? If so then you need to create a master template. The home page and lower level pages need to inherit from this master page. Put your macro in the master and the other pages will due to template inheritance all show the content of the macro. You may need to mess around with existing html to get it to work.
Using recursive='true' in a macro
How can I use recursive='true' in a macro?
I have insert a macro on the frontpage and would like the output of the macro to come out on the pages there lies below the frontpage.
I have this xslt fil:
Kate,
You need to look at template inheritance. Am I right in assuming that the lower level pages and the front page need to all show this macro? If so then you need to create a master template. The home page and lower level pages need to inherit from this master page. Put your macro in the master and the other pages will due to template inheritance all show the content of the macro. You may need to mess around with existing html to get it to work.
Regards
Ismail
Hi Ismail
Thanks for your respond, but this is not the right solution for me.
I was more thinking of a solution like in this question http://our.umbraco.org/forum/developers/xslt/28889-Recursive-field-in-XSLT but I can't seem to get it to work
I just found a solution that have nothing to to with the link above.
When I insert the macro in the templates I write this :
The diffrent was this:
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.