Copied to clipboard

Flag this post as spam?

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


  • Arnim Anhut 137 posts 148 karma points
    Jun 22, 2009 @ 16:08
    Arnim Anhut
    0

    UMB4021 and Doc2Form3 -> Publish kills blanks

    Hello together, (quite cool new forum by the way)</p> <p>I'm upgrading several webs to version 4021 of umbraco. Upgrade went ok.</p> <p>I then installed the version 4 compatible version of Doc2Form (version 3 I guess) and created some forms.</p> <p>Funny things happen each time I publish the page containing the form macro:
    Some blanks in several text-fields of the macro are first killed and then replaced by "/r/n". After about ten publishes (only pressing save&publish several times) all spaces are gone and the marco is totaly wacked up. <em>Of course the macro won't work this way.</em></p> <p>Anyone an idea what could go wrong?!?

  • dandrayne 1138 posts 2262 karma points
    Jun 22, 2009 @ 18:03
    dandrayne
    0

    This seems to be an issue with current versions of umbraco, although I believe it was marked as fixed I think it is still present in 4021.  My workaround has been to put requiring textstring params into templates instead of via the editor, such as with Doc2Form.

  • Arnim Anhut 137 posts 148 karma points
    Jun 22, 2009 @ 20:14
    Arnim Anhut
    0

    Oh, not really? :-(

    Anyone using Doc2Form on version 4.0.2.1 and knowing a cool workaround?

    Greets, Arnim.

  • Casey Neehouse 1339 posts 483 karma points MVP 2x admin
    Jun 22, 2009 @ 21:10
    Casey Neehouse
    1

    Try disabling Tidy in umbracoSettings.config in the config folder.  I believe that takes care of some of the problem.  Another option to try is the UTF8 change for tinyMCE configuration.  There should be a more detailed post about that in the forum somewhere.

    Case

  • Arnim Anhut 137 posts 148 karma points
    Jun 24, 2009 @ 12:30
    Arnim Anhut
    0

    Hey Casey,

    turning off tidy works well. Of course there's no tidy any more for the whole page. :-/

    Thanx, Arnim.

  • Casey Neehouse 1339 posts 483 karma points MVP 2x admin
    Jun 24, 2009 @ 13:43
    Casey Neehouse
    0

    Arnim,

    You are correct, since the tidy setting is a global setting. 

    Take note that TinyMCE does do valid markup itself.  Tidy just does additional clean-up.

    You can also adjust the tinyMCE configuration, but it is a bit more cumbersome.

    Case

  • Arnim Anhut 137 posts 148 karma points
    Jul 06, 2009 @ 13:10
    Arnim Anhut
    0

    I'm still bothered by this failure because disabling tidy gives me some wacky problems when working with styles in tinyMCE. For example changing an h1 to a h2 or similar creates bad nested html-code. With tidy on, this code is cleaned at saving and everything looks fine. Without tidy the errors stay alive and I have to change html manually. But with tidy on, my DOC2FORM-macros are killed.

    No one having the same problem with a working solution?

    Greets, Arnim.

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies