Copied to clipboard

Flag this post as spam?

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


  • Danny Winbourne 33 posts 54 karma points
    Jan 16, 2012 @ 12:18
    Danny Winbourne
    0

    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

     

  • Danny Winbourne 33 posts 54 karma points
    Jan 16, 2012 @ 13:15
    Danny Winbourne
    0

    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.

  • Danny Winbourne 33 posts 54 karma points
    Jan 16, 2012 @ 13:16
    Danny Winbourne
    0

    Update 2:

    Think I sorted it.. I just unchecked the "render content in editor" option.

    Strange?

Please Sign in or register to post replies

Write your reply to:

Draft