I am making a small addition to a site where the customer wants me to add a sidebar with a set of predefined boxes with data.
I have made a SidebarObject datatype with a simple RichText editor datatype called body.
On the PageWithSidebar document-type i have an Ultimate Picker with checkboxes that can be checked for each of the SidebarObjects.
Now I wonder how to render the RichText from the xslt script that iterates through the selected SidebarObjects.
The rich texts may contain macros (for ImageGen:ed headers etc).
Noone seems to have a solution to this.
If it is indeed impossible to do this in v4 I think it should be fixed ASAP.
Especially since this was easily achievable in v3...
Until that happens I will have to make do without macros:
This works, but I can't use macros for things like Imagegen Text or a "Latest added pages"-sidebar object.
Anyone want to tackle this? I'm in the same boat...
I have 2 macros (added using a Rich Text Editor) and they display correctly in the editor but when I try to render the actual page i can't pull in the formatted macro (but I can get the information for the macro )
How can I get it to render #1047 Snippet using the predefined Snippet macro?
EDIT: found this and works for my needs...
[quote=scott.m]EDIT
Well I tried this and it worked for me:
[code]
[/code]
bodyText is a RTE property with both text and a macro embedded in it. Worked perfectly. And meant I didn't have to do all the code above. I'm using 3.0.5 (hopefully, did an upgrade which I have no idea of know if it worked).
I think my way is the quickest and cleanest way to render out an embedded macro in XSLT.[/quote]
Maybe this article could help you out: http://forum.umbraco.org/yafpostst7835Help-for-Slideshow-solution-and-how-to-make-1-or-more-sidebars-SOLVED.aspx
How to render a Rich Text field in XSLT
Hello!
I am making a small addition to a site where the customer wants me to add a sidebar with a set of predefined boxes with data.
I have made a SidebarObject datatype with a simple RichText editor datatype called body.
On the PageWithSidebar document-type i have an Ultimate Picker with checkboxes that can be checked for each of the SidebarObjects.
Now I wonder how to render the RichText from the xslt script that iterates through the selected SidebarObjects.
The rich texts may contain macros (for ImageGen:ed headers etc).
Any ideas?
Thanks in advance
/Hannes
Noone seems to have a solution to this.
If it is indeed impossible to do this in v4 I think it should be fixed ASAP.
Especially since this was easily achievable in v3...
Until that happens I will have to make do without macros:
This works, but I can't use macros for things like Imagegen Text or a "Latest added pages"-sidebar object.
A bit annoying, but still <3 umbraco ;)
/Hannes
Anyone want to tackle this? I'm in the same boat...
I have 2 macros (added using a Rich Text Editor) and they display correctly in the editor but when I try to render the actual page i can't pull in the formatted macro (but I can get the information for the macro )
This Code:
Displays:
MACRO macroAlias="Snippet" snippetid="1047" />
How can I get it to render #1047 Snippet using the predefined Snippet macro?
EDIT: found this and works for my needs...
[quote=scott.m]EDIT
Well I tried this and it worked for me:
[code]
[/code]
bodyText is a RTE property with both text and a macro embedded in it. Worked perfectly. And meant I didn't have to do all the code above. I'm using 3.0.5 (hopefully, did an upgrade which I have no idea of know if it worked).
I think my way is the quickest and cleanest way to render out an embedded macro in XSLT.[/quote]
Original Thread
Did any find out if this is a bug or not?
If so was there a patch for it?
Tom
Maybe this article could help you out:
http://forum.umbraco.org/yafpostst7835Help-for-Slideshow-solution-and-how-to-make-1-or-more-sidebars-SOLVED.aspx
is working on a reply...