Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at

  • Mike 80 posts 101 karma points
    Sep 05, 2010 @ 13:44

    Macro in editor does not render on pages using Blog4Umbraco


    I have created a macro in XSLT that outputs an image with lightbox code attached to it. I want to use this in the richtext editor (so i don't have to turn to HTML view to add the lightbox code.

    When creating the macro I did the testing on "normal"  website page. Here the macro rendered ok in the editor as well as on the site itself. So after I'm done with the macro I wanted to use it on a blog post. I have installed Blog4Umbraco to create blog posts. 

    Now the macro renders in the editor, I can see the image, but after publishing on the blog post itself the macro isn't rendered. In the source I only see this, where the image should have been.

    <?UMBRACO_MACRO largeimage="1414" macroAlias="InsertImageWithLightBox" />

    Just to be sure I added the same to a normal page and there it was all good.

    In the stacktrace on the normal page, I can see the entry for the macro being rendered. On the trace of the blogpost this entry is missing. 

    So it seems it has something to do with the Blog4Umbraco way of publishing the page i guess? 

    Anybody seen this before and knows how to fix this?




  • Mike 80 posts 101 karma points
    Sep 13, 2010 @ 07:53

    Is this in the wrong forum?

Please Sign in or register to post replies

Write your reply to: