ATutor

Learning Management Tools







Pages:1 2 3 4 5 6 7 8 9 10 11 12 13 14 15


Editor bug reconstruction


  • 2009-02-03 19:21:17

    Editor bug reconstruction

    Hope it is OK to start a new thread on this. I have new evidence....

    #1: Get the file http://www.rosetta.no/demofiler/Look_at_me_Im_a_course_-_No_YOU_Lorem_ipsum_ims.zip

    (It's a page exported from Vegards site)

    #2: Import this into the course at
    http://rosetta.gotdns.com/atutor
    user name: demo
    password: demo2009

    #3: Notice how the text flows nicely to the right of the photo with the guys wearing sunglasses.

    #4: Click on "Edit this page", but DO NOT do any editing.

    #5: Click on "Save page", and the layout around the photo is ruined.

    Now, try the same with the Atutor demo site. The layout is not ruined.....

    I have this problem on two different installations, using Firefox and Opera. The Atutor demo site has no problems.

  • 2009-02-04 08:54:20

    Re: Editor bug (?) reconstruction

    I see moxiecode has tried. I think they'd be better to resolve the problem.

    It appears the problem is associated with the image dialog alignment feature. The align button in the editor interface does work okay. I'd suggest using it until moxie can fix the other problem.

    I tried the step above, but was not able to reprodcue the problem though.

  • 2009-02-04 09:22:58

    Re: Editor bug (?) reconstruction

    dunno why it works at first, but I'm pretty sure it's related to these additions (atleast when it comes to the example from atutor.no):

    http://atutor.no/2008/07/adding-styles-tinymce-styles-select-menu

    ..where we added a tinystyles.css BOTH to tinyMCE itself, AND to the theme. the picture you are referring to used the style "float-left" in the dropdown menu I believe.

    it's also related to this bug report and patch: http://www.atutor.ca/view/3/16325/1.html - you can install the patch which will give you the CSS in TinyMCE, but it will not be referred to in the theme. for that to happen add the following to header.tmpl.php:

    [php]

    <link rel="stylesheet" href="<?php echo $this->base_path.'include/lib/';?>tinymce_styles.css" type="text/css" />

    [/php]

    (not including the php start / end tags)

  • 2009-02-04 17:57:28

    Re: Editor bug (?) reconstruction

    Greg, that was not moxicode, it was just me testing a code snippet from the tinymce web site.

    Vegard, at last i got it working! I had patch #10 installed, but it did not work as expected until I modified the theme like you describe above.

    Thanks a lot both of you!