ATutor

Learning Management Tools







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


Probem with alignment for pictures


  • 2011-02-04 19:10:51

    Probem with alignment for pictures

    I tried to insert a picture aligning on the right of the text in content editor. It is OK till saving the text. When I save the text it turns baseline whereas I choose alignment as right in the apperance tab of inserting picture.
    What's wrong with it?
    I need a help.


    If you are asking for help, provide lots of detail so problems can be reproduced.

    Things to describe:
    Operating system ATutor is installed on -Linux 2.6.32-25.8.BHsmp
    ATutor version - 2.0.2(r10589 - 2010-12-21 16:47:09)
    Patch #s applied - 1
    ATutor theme name -
    PHP version - 5.2.16
    MySQL version - 5.1.47-community-log
    Webserver & version -
    Copies of error messages -
    Changes to default settings -
    Web browser being used - Firfox 4 Beta 9
    ...and anything else relevant -

  • 2011-02-05 18:13:02

    Re: Probem with alignment for pictures

    I think I found the problem. HTML-Visual Editor has some bugs. If I do it writing in HTML codes it saves it correctly and works fine. When I do it with using HTML-Visual tools it looks as if it works ok till saving the work. But saving make a mess everthing.

    If you are asking for help, provide lots of detail so problems can be reproduced.

    Things to describe:
    Operating system ATutor is installed on -
    ATutor version -
    Patch #s applied -
    ATutor theme name -
    PHP version -
    MySQL version -
    Webserver & version -
    Copies of error messages -
    Changes to default settings -
    Web browser being used -
    ...and anything else relevant -

  • 2011-02-05 19:03:23

    Re: Probem with alignment for pictures

    I met with a complaint which is exactly same with mine mentioned above on the URL "http://www.joomlablogger.net/joomla-tips/joomla-extension-tips/tinymce-respecting-settings/"
    ----
    The problem one Swedish user had was as follows: He inserted a picture, entered settings for alignment, horizontal space etc. and everything looked good. Happily he saved the article. When he looked at the article again, all the formatting was gone. What happened?

    This is actually very easy to fix. TinyMCE has a setting for stripping code from the text when saving. It's called "Code Cleanup on save".

    Go to Plugin Manager and Editor - TinyMCE 2.0. You'll find the setting under Plugin Parameters. The setting should be set to "Never".
    ---

    So, friends, what should I do to overcome the problem? I don't how to correct the settings of tinymce editor in Atutor.


    If you are asking for help, provide lots of detail so problems can be reproduced.

    Things to describe:
    Operating system ATutor is installed on -
    ATutor version -
    Patch #s applied -
    ATutor theme name -
    PHP version -
    MySQL version -
    Webserver & version -
    Copies of error messages -
    Changes to default settings -
    Web browser being used -
    ...and anything else relevant -

  • 2011-02-07 10:06:20

    Re: Probem with alignment for pictures

    tinyMCE settings are stored in include/lib/tinymce.inc.php

    I think you can add "cleanup: false" or something into the settings there to manually turn it off. I haven't checked what the exact code should be like on tinyMCE. You can try searching for it on Google or tinyMCE and add it yourself.

    Another note is on the 4th row in our tinyMCE, the second last button from the right has a button called "cleanup messy code". I think that is the function you are looking for.