Copied to clipboard

Flag this post as spam?

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


  • Ben 112 posts 398 karma points
    Jul 06, 2011 @ 14:53
    Ben
    0

    Can't change macro parameter once it is entered

    Hi guys,

    I recently upgraded from 4.5.2 to 4.7 and I am finding that there is a problem with IE8 and updating the parameters of the macros that are being used in the rich text editor.  To get this problem I create an xslt file with an associated marco.  Create the necessary parameters and make sure "Use in editor" is checked.  Head over to a content page, put the new macro in rich text editor and save.  Now select the marco, click the "Insert Macro" button to edit the newly added macro, change one of the parameter fields, click "ok" and save again.  At this point if you look at the fields of the macro you will notice that the field you tried to change has reverted to the original text.  I have tried this with macros that are based off of .net usercontrols and those keep the changed values.  I did find that when I did the upgrade I had to remove the following dll's in order for the 4.5.2 xlst macros to work:

    • Iron*.dll
    • Microsoft.Dynamic.dll
    • Microsoft.Scripting*.dll
    • umbraco.MacroEngines.dll

    Anybody have any thoughts on this?

  • Ben 112 posts 398 karma points
    Jul 06, 2011 @ 15:13
    Ben
    0

    One of my users recently discovered that if they went into html mode in the rich text editor and changed the macro field values there, the changes were kept.  So now the question is how can we keep the changes in the GUI for editing a macro in the rich text editor?

  • Ben 112 posts 398 karma points
    Jul 07, 2011 @ 23:03
    Ben
    0

    I found a bit of a work around for this.  I noticed that somestimes when I saved a content page that had a macro on it with a text field that it would remove some or all of the spaces.  Upon looking at it in the HTML I noticed that it put in the /r/n in place of the space character I had.  Since the text field treated this as a non-space I changed the field type to textMultiline.  After that everything worked fine.

    On a side note I did start to notice this same behavior with FireFox in other areas of my site different from the effected areas in IE8.  What I mentioned above seemed to solve that issue for FireFox as well.

Please Sign in or register to post replies

Write your reply to:

Draft