0
Welcome Guest! Login
0 items Join Now

SOLVED embed and roknewsrotator code disappearing

    • caroline's Avatar
    • caroline
    • Rocketeer
    • Posts: 78
    • Thanks: 0

    SOLVED embed and roknewsrotator code disappearing

    Posted 15 years 6 months ago
    • Hello,

      Whenever Managers attempt to update images that appear in the RokNewsRotator or embed videos from external sites the code disappears after they click to save the article. It appears on the site, but then if they go back into the Article Editor to make any changes a portion of the code has disappeared and therefore makes the image or video becomes unavailable.

      Any suggestions would be great!

      Caroline
  • Re: SOLVED embed and roknewsrotator code disappearing

    Posted 15 years 6 months ago
    • Sorry, I couldn't get well your question. Could you please provide your website link so we can see and check the problem? Could you please attach a screenshot with annotation to explain better your problem?
    • caroline's Avatar
    • caroline
    • Rocketeer
    • Posts: 78
    • Thanks: 0

    Re: SOLVED embed and roknewsrotator code disappearing

    Posted 15 years 6 months ago
    • Hello Arifin,

      Sure, I will try to explain this problem in more detail. I must tell you that, on the actual live site the error does not appear, because as a SuperAdmin I am not encountering this problem and have therefore fixed it for viewing purposes. However, if a Manager is editing/creating an article the problem arises.

      So, for instance, for the RokNewsRotator module, in order for images to appear and display in the rotator, the following code must be placed in the html editor of the article editor:

      <!--IMAGE images/stories/rotator/NAME.jpg IMAGE--><img src="images/stories/rotator/NAME.jpg" alt="NAME" style="margin-right: 8px;" align="left" height="200" width="600" />

      where 'NAME' is changed to whatever the image file name is.
      When a Manager posts this code and presses save, it works. However, if the Manager was to go back into the article to edit or change anything part of this code disappears and we are left with:

      <img src="images/stories/rotator/NAME.jpg" alt="NAME" style="margin-right: 8px;" align="left" height="200" width="600" />


      For embedding videos, the problem is quite similar.
      Lets say you were to embed a video from youtube, the code to enter would be:

      <object width="560" height="340"><param name="movie" value=" www.youtube.com/v/I9gGhmKnxL8&hl=en&fs=1...405b&color2=0x6b8ab6 "></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src=" www.youtube.com/v/I9gGhmKnxL8&hl=en&fs=1...405b&color2=0x6b8ab6 " type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="560" height="340"></embed></object>


      However, if you go back in to re-edit an article after pressing save, all that is left of the embed code is:
      <span name="allowfullscreen" value="true"> </span> <span name="allowscriptaccess" value="always"> </span> <span name="src" value=" www.youtube.com/v/I9gGhmKnxL8&hl=en&...x9461ca&border=1 "> </span>

      And the video is no longer embedding and must be re-inserted.

      Is there any reason this is happening? It just started earlier this week.

      Thank you,
      Caroline
  • Re: SOLVED embed and roknewsrotator code disappearing

    Posted 15 years 6 months ago
    • So, some html code got stripped out. How about setting this ?
    • caroline's Avatar
    • caroline
    • Rocketeer
    • Posts: 78
    • Thanks: 0

    Re: SOLVED embed and roknewsrotator code disappearing

    Posted 15 years 5 months ago
    • Thank you!

      That seemed to do the trick, I also had to go through the user manager and make all users set to use one editor.

      For now the problem is resolved.
      Thanks!
      Caroline

Time to create page: 0.077 seconds