We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 30939
    • 27 Posts
    Hello everyone,

    I define a TV as a RichText. I want to insert an image with TinyMCE in the TV,
    but the CMS doesn’t save it to the DB. The same error appears, if I want to insert a flashmovie.
    The insert of an image into the "content" does work. Can anybody confirm the error?
    Sorry about my terrible english ... smiley

    My environment:
    Server:
    MODx 0.9.5 rev 2106
    Debian 3
    Apache 1.3
    PHP 4.3.10
    MySQL 4.0.24
    mod_rewrite: on
    friendly alias path: yes

    Client:
    W2K
    Firefox 2 or IE6
      • 26657
      • 13 Posts
      Yes, i could reproduce this behaviour.
      This happens if the only content of the TV is the image (i did not try it with an swf). If i combine the image with some text its working.
      But if you only want to insert an image you could create an image TV.
        • 30939
        • 27 Posts
        Hmm, the errors occurs in my environment too, if I combine an image or flash with text ...
          • 4018
          • 1,131 Posts
          This is a weird bug that eludes me. Ryan? Didn’t you mention a workaround at some point? If I’m not mistaken, I think the workaround is to set the default content field for the TV itself...just a word or something to tip it off. Try that and see if that does it. Also, what’s the name of the TV? Sometimes if the name has a hyphen or the like it can hose things up.

          Jeff
            Jeff Whitfield

            "I like my coffee hot and strong, like I like my women, hot and strong... with a spoon in them."
            • 30939
            • 27 Posts
            I’ve changed the TV-name again and again - but the error continues ...
              • 30939
              • 27 Posts
              I’ve updaed TinyMCE with the release 2111
              OK, images and flashs are work well in the [*content*]
              The "1 pixel" is gone ... wink

              But the problem with images and flash in a TV RichText are still existing ...
              The images and flashs aren’t save ...

              Another point:
              Hmm, if I import an image, I open the "Resources Browser".
              But the thumbnails arent’t build ... only I see an empty rectangle ...

              A last point:
              If I import a flash (Typ Flash), I open the "Resources Browser", too.
              The Resources Browser doesn’t point to the folder "Flash" - he point to
              the folder "Files".
                • 26085
                • 494 Posts
                If you want to use both (image and swf) files. Jast create 1 TV radio button, 1 TV file,
                and two chanks
                1 TV radio button: flash || image
                2. TV file widjet
                3 flash with ....[*file*]
                4 image ... <img src=[*file*]
                And use it without promlems.
                  • 30939
                  • 27 Posts
                  Thx for the proposal.
                  In the meantime I’ve found the following:
                  In the TV - RichText I can use one art of type of media only:
                  Only text OR only flash OR only pic.
                  Ok, now, with that I can live smiley