Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Hi All, I have a macro which inserts into the content area a title and some content. The client can add a number of these items to the page. For example an editor can add 5 of these to the page. What I need to do is retrieve all these 5 macros and then I can format them in the XSLT. I cant see anything appropriate in the Umbraco API which will allow me to do this. Any help would me greatly appreciated. Thanks Tom
Sounds like your structure is all wrong, On my site i have something similar but my macro and xslt is in the parent node, then the xslt loops through all child nodes and outputs the results. - parent(contains template,xslt and macro) ---child 1 (title, content) ---child 2 (title content) ---child 3 (title content) etc etc
Yep it was. When I thought about it again it was simple how to do it. Thanks for replying though Tom
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
Getting all added macros in content area
Hi All,
I have a macro which inserts into the content area a title and some content. The client can add a number of these items to the page.
For example an editor can add 5 of these to the page.
What I need to do is retrieve all these 5 macros and then I can format them in the XSLT.
I cant see anything appropriate in the Umbraco API which will allow me to do this.
Any help would me greatly appreciated.
Thanks
Tom
Sounds like your structure is all wrong, On my site i have something similar but my macro and xslt is in the parent node, then the xslt loops through all child nodes and outputs the results.
- parent(contains template,xslt and macro)
---child 1 (title, content)
---child 2 (title content)
---child 3 (title content)
etc
etc
Yep it was. When I thought about it again it was simple how to do it.
Thanks for replying though
Tom
is working on a reply...