Running umbraco v
4.11.1 (Assembly version: 1.0.4715.27659)
As the title says, I'm having an issue where any content i stuff into a macro won't render in the rich text editor. And before you ask, yes, "render content in editor" is checked for all the macros involved. To better show what my issue is, here are a couple of images.
What was supposed to be shown here were two images and a youtube embed. Here's a codesample from the SideBarImage macro.
@{ var mediaId = Parameter.image; var caption = Parameter.imageCaption; var imgUrl = Model.MediaById(mediaId).umbracoFile; } <figure class="breakoutImage"> <img src="@imgUrl" alt=""> @if(!string.IsNullOrEmpty(caption)) { <figcaption>@caption</figcaption> } </figure>
What really baffles me is that it did actually work sporadically for a while, and nothing significant has changed in the solutions. Something tells me this might be a permissions issue, but I haven't been able to figure out what exactly is going wrong. NETWORK_SERVICE, IUSR and IIS_IUSRS all have full control over the folder containing the website. The site has full trust in the IIS as well. I'm stumped, can anyone help?
Here's a quick update. I discovered that it actually works fine as long as i access the development site directly via ip/port number.
The site has two bindings in IIS:
projectname.dev.local port 80 *
port 9110 *
That's a blank binding if anyone is in doubt. So when I access the site by 192.168.1.1:9110 the macro content renders just fine in the RTE.
In my host file i have configured projectname.dev.local to point to 192.168.1.1, and accessing the site this way breaks the macros showing in the RTE.
If anyone has an answer as to why this happens, I'd be very interested in knowing.
edit: I've also noticed that the nodes containing the macros take a long time to load in the backend for editing, compared to nodes with a rich text editor without inserted macro content.
Issue rendering macro content in RTE
Running umbraco v 4.11.1 (Assembly version: 1.0.4715.27659)
As the title says, I'm having an issue where any content i stuff into a macro won't render in the rich text editor. And before you ask, yes, "render content in editor" is checked for all the macros involved. To better show what my issue is, here are a couple of images.
What was supposed to be shown here were two images and a youtube embed. Here's a codesample from the SideBarImage macro.
What really baffles me is that it did actually work sporadically for a while, and nothing significant has changed in the solutions. Something tells me this might be a permissions issue, but I haven't been able to figure out what exactly is going wrong. NETWORK_SERVICE, IUSR and IIS_IUSRS all have full control over the folder containing the website. The site has full trust in the IIS as well. I'm stumped, can anyone help?
Since the edit function isn't working apparently, here's the image http://i.imgur.com/xUIQD.png
Here's a quick update. I discovered that it actually works fine as long as i access the development site directly via ip/port number.
The site has two bindings in IIS:
projectname.dev.local port 80 *
port 9110 *
That's a blank binding if anyone is in doubt. So when I access the site by 192.168.1.1:9110 the macro content renders just fine in the RTE.
In my host file i have configured projectname.dev.local to point to 192.168.1.1, and accessing the site this way breaks the macros showing in the RTE.
If anyone has an answer as to why this happens, I'd be very interested in knowing.
edit: I've also noticed that the nodes containing the macros take a long time to load in the backend for editing, compared to nodes with a rich text editor without inserted macro content.
is working on a reply...