Umbraco Contour - "No macro content available for WYSIWYG editing"
Hello,
I'm using Contour in Umbraco 4.5.2 and have tried adding custom forms into the rich text editor on any page and what then displays is "No macro content available for WYSIWYG editing". The form I've created (in the Contour section) works fine when I add it to the page template via a Macro with form id, but inserting via the text editor fails!
Can anyone please assist in diagnosing/fixing the problem?
Does the form display properly on your page when the macro has been inserted into the RTE field? If yes, then the message you see is probably because the "render content in editor" in the macro settings has not been checked. You can do this in the developer section -> macro - > find your macro and edit the settings. Then you should be able to see the form in the RTE.
Thanks for the replies, but this issue seems to be more than just not rendering in the editor. I can live with that, but the main problem is that it doesn't render at all on the page when you view it! I would assume in 4.5.2 that although forms don't show in the editor, you can still see them on the page.
Can you advise on a fix for 4.5.2 or would you suggest just upgrading to 4.6.1?
It's in the RTE, I click on the "Insert macro" icon then I get an "Edit Insert form from Umbraco Contour" dialog where I can choose from one of the forms I've previously created in Contour. Upon selecting, I then get the HTML in the editor as above. I then publish my page, and no form can be seen in the source.
Apologies if I'm not being clear, but I'm relatively new to Umbraco.
Thanks for the details Duncan, can you just check how you are outputting the rte field, so check on the template if you are using an umbraco:item tag or if you are outputting the rte field from a macro
In this case I'm using Linq to Umbraco to get the RTE field as a string.
On my template I have: <%= CurrentPage.IntroText %> where IntroText is a .NET string field (from L2U) that contains the RTE content.
I should add that using <umbraco:Macro runat="server" Alias="umbracoContour.RenderForm" FormGuid="14510fe4-1e26-4694-b817-87cd88ebfc23" /> to output a specific form works fine but ideally I would like the ability for the user to add a form of their choice via RTE rather than hardcoding.
i am also getting this issue but cannot see a way in any of our user accounts to edit the macro itself. the 'render content in rte' checkbox is set to true and i don't know if we can upgrade to a newer version to get around the bug. Any other suggestions? :)
Umbraco Contour - "No macro content available for WYSIWYG editing"
Hello,
I'm using Contour in Umbraco 4.5.2 and have tried adding custom forms into the rich text editor on any page and what then displays is "No macro content available for WYSIWYG editing". The form I've created (in the Contour section) works fine when I add it to the page template via a Macro with form id, but inserting via the text editor fails!
Can anyone please assist in diagnosing/fixing the problem?
Thanks in advance,
Duncan.
Hi Duncan
I'm a bit confused about what is the issue here.
Does the form display properly on your page when the macro has been inserted into the RTE field? If yes, then the message you see is probably because the "render content in editor" in the macro settings has not been checked. You can do this in the developer section -> macro - > find your macro and edit the settings. Then you should be able to see the form in the RTE.
Is this what you mean or am I way off? :-)
/Jan
I think 'render content in editor' is broken in 4.5.2 (it's been fixed for v4.6)
Comment author was deleted
@Duncan, can confirm what Doug says, if you upgrade your umbraco installation to 4.6.1 it should be fine
Regards,
Tim
Thanks for the replies, but this issue seems to be more than just not rendering in the editor. I can live with that, but the main problem is that it doesn't render at all on the page when you view it! I would assume in 4.5.2 that although forms don't show in the editor, you can still see them on the page.
Can you advise on a fix for 4.5.2 or would you suggest just upgrading to 4.6.1?
Thanks,
Duncan.
Comment author was deleted
@Duncan might be an invalid macro tag then, does it output anything (if you look at the page sourcecode) ?
Here's what I see in the HTML editor:
<p>
<div umb_macroalias="umbracoContour.RenderForm" umb_formguid="62efdd05-e05e-4d90-ad73-bfb03d1a16f5" ismacro="true" onresizestart="return false;" umbversionid="de894603-8d71-4127-b98a-176c3bfd5edc" umbpageid="1281" title="This is rendered content from macro" class="umbMacroHolder"><!-- startUmbMacro --><span>No macro content available for WYSIWYG editing</span><!-- endUmbMacro --></div>
</p>
Here's what appears in the rendered page source:
Thanks,
Duncan.
Comment author was deleted
Hi Duncan,
And how are you outputting the rte value, it won't work if that's from an xslt macro
It's in the RTE, I click on the "Insert macro" icon then I get an "Edit Insert form from Umbraco Contour" dialog where I can choose from one of the forms I've previously created in Contour. Upon selecting, I then get the HTML in the editor as above. I then publish my page, and no form can be seen in the source.
Apologies if I'm not being clear, but I'm relatively new to Umbraco.
Thanks,
Duncan.
Comment author was deleted
Thanks for the details Duncan, can you just check how you are outputting the rte field, so check on the template if you are using an umbraco:item tag or if you are outputting the rte field from a macro
In this case I'm using Linq to Umbraco to get the RTE field as a string.
On my template I have: <%= CurrentPage.IntroText %> where IntroText is a .NET string field (from L2U) that contains the RTE content.
I should add that using <umbraco:Macro runat="server" Alias="umbracoContour.RenderForm" FormGuid="14510fe4-1e26-4694-b817-87cd88ebfc23" /> to output a specific form works fine but ideally I would like the ability for the user to add a form of their choice via RTE rather than hardcoding.
Thanks,
Duncan.
Comment author was deleted
Hi Duncan,
Think that is the issue, that the macro doesn't get rendered when you output the rte field with linq2umbraco
I guess you'll need to work around the issue for now and use the umbraco:item tag to output the rte field
Hi
Can you please help me
when i am creating Macro to the Content page i get an error "No macro Content available for WYSIWYG editing".
Thanks
Tanya
i am also getting this issue but cannot see a way in any of our user accounts to edit the macro itself. the 'render content in rte' checkbox is set to true and i don't know if we can upgrade to a newer version to get around the bug. Any other suggestions? :)
Rhychelle
is working on a reply...