I am using Umbraco 4.7.0 with the following packages installed
·Sitemap.xml
·FamFamFam Icon Package (but I have removed all unused icons)
·HTML5Video
·Sitereactor Standard Values
·ImageGen
·Umbraco Contour
·uComponents
I am having some
issues which I think relate to macros.
Firstly, pages which have the macro added in a RTE load VERY slowly in edit
mode on the staging site, yet locally they load fine.
Also, locally, I
get content preview in the editor (but I have added some code to stop it loading the macro
content, as I don't need preview, namelyif
(umbraco.library.RequestServerVariables("URL").Contains("macroResultWrapper")){..}), yet on staging,
I just get"No macro
content available for WYSIWYG editing".
Removing the macro
from the RTE speeds on the time it takes to load that page in edit mode, but I do need the Macro on the page.
Anyone got any
pointers on how I can fix the speed issue? I'm not fussed about any preview,
and the no macro message can remain if the speed issue goes away.
The macro it self is loading an image gallery from a media folder set on a property.
issue with Macros in edit mode
I am using Umbraco 4.7.0 with the following packages installed
· Sitemap.xml
· FamFamFam Icon Package (but I have removed all unused icons)
· HTML5Video
· Sitereactor Standard Values
· ImageGen
· Umbraco Contour
· uComponents
I am having some issues which I think relate to macros.
Firstly, pages which have the macro added in a RTE load VERY slowly in edit mode on the staging site, yet locally they load fine.
Also, locally, I get content preview in the editor (but I have added some code to stop it loading the macro content, as I don't need preview, namely if (umbraco.library.RequestServerVariables("URL").Contains("macroResultWrapper")){..}), yet on staging, I just get "No macro content available for WYSIWYG editing".
Removing the macro from the RTE speeds on the time it takes to load that page in edit mode, but I do need the Macro on the page.
Anyone got any pointers on how I can fix the speed issue? I'm not fussed about any preview, and the no macro message can remain if the speed issue goes away.
The macro it self is loading an image gallery from a media folder set on a property.
Cheers
Danny
Update on this:
I pretty ceratin the it's the method of loading the Macro in the editor that is causing speed issues, and not the macro itself.
I removed all content from the macro on staging, yet I still had the speed issue.
Update 2:
Think I sorted it.. I just unchecked the "render content in editor" option.
Strange?
is working on a reply...