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
We're running Umbraco 7.5.3
We have a grid layout into which the customer can put various macros.
If the page has never been published then the Macros don't render in the editor. After publish the macros render fine.
The macros
Is this an known issue or...
Additionally...
If I click to edit one of the macros then it's settings show correctly and if I preview the page then it renders as expected.
So this is only affecting rendering in the editor
and the data we need to render it is actually in the page
<div class="umb-control ng-scope" ng-repeat="control in area.controls" ng-click="clickControl($index, area.controls, area)" ng-class="{'-active': control.active}" on-outside-click="clickOutsideControl($index, area.controls, area)" bind-click-on="false" umb-set-dirty-on-change="{"macroAlias":"articleFeatureBox","macroParamsDictionary":{"imageId":"2925","imageCaption":"sfa sdasddas","imageAlignment":"left","text":"&lt;p&gt;sd asda sdads asd adsa&lt;/p&gt;","textColour":"","backgroundColour":"","ctaLink":"[\n {\n &quot;type&quot;: &quot;content&quot;,\n &quot;meta&quot;: {\n &quot;title&quot;: &quot;&quot;,\n &quot;newWindow&quot;: false\n },\n &quot;typeData&quot;: {\n &quot;url&quot;: &quot;&quot;,\n &quot;contentId&quot;: null,\n &quot;mediaId&quot;: null\n },\n &quot;disabled&quot;: false\n }\n]","ctaTextColour":"","ctaBackgroundColour":""}}"> <div class="umb-control-click-overlay" ng-show="!control.active && !sortMode"></div> <div class="umb-control-collapsed umb-control-handle ng-binding ui-sortable-handle" ng-show="sortMode" style="display: none;"> Feature Box </div> <div class="umb-control-inner" ng-hide="sortMode"> <div class="umb-control-bar umb-control-handle ui-sortable-handle"> <!-- ngIf: control.active --> <!-- ngIf: control.active --> </div> <!-- Redering the editor for specific control --> <!-- ngIf: control && control.$editorPath --> <div ng-if="control && control.$editorPath" ng-include="control.$editorPath" class="umb-cell-macro"> <div ng-controller="Umbraco.PropertyEditors.Grid.MacroController" class="ng-scope"> <div class="umb-editor-placeholder" ng-click="setMacro()"> <!-- ngIf: !preview --> <div ng-if="!preview" class="ng-scope"> <i class="icon icon-settings-alt"></i> <div class="help-text ng-binding">articleFeatureBox</div> </div> <!-- ngIf: preview --> </div> <!-- ngIf: macroPickerOverlay.show --> </div> </div> </div>
Actually, if I sit and publish and unpublish the content then the macro in the editor renders or not depending on whether the content is published...
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
Macros in a grid editor don't render on unpublished pages
We're running Umbraco 7.5.3
We have a grid layout into which the customer can put various macros.
If the page has never been published then the Macros don't render in the editor. After publish the macros render fine.
The macros
Is this an known issue or...
Additionally...
If I click to edit one of the macros then it's settings show correctly and if I preview the page then it renders as expected.
So this is only affecting rendering in the editor
and the data we need to render it is actually in the page
Actually, if I sit and publish and unpublish the content then the macro in the editor renders or not depending on whether the content is published...
is working on a reply...