We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 15308
    • 25 Posts
    Hi
    I’ve just upgraded one web site from MODx 2.0.8 to 2.1. The toggle editor checkbox that was under TinyMCE disappeared.
    Everything is fine on a fresh install of MODx 2.1 to another web site.
    Is it a bug in the upgrade or am I doing something wrong ?

    MODx Revolution 2.1
    Php 5.3.1
    Apache 2.2.14
    MySQL 5.1.41
      • 28215
      • 4,149 Posts
      Update to the latest TinyMCE.
        shaun mccormick | bigcommerce mgr of software engineering, former modx co-architect | github | splittingred.com
        • 15308
        • 25 Posts
        I’ve already made the update to 4.2.4. Same problem.
          • 28215
          • 4,149 Posts
          - Any JS errors?
          - Did you clear your browser cache?
          - Any errors in core/cache/logs/error.log?
            shaun mccormick | bigcommerce mgr of software engineering, former modx co-architect | github | splittingred.com
            • 15308
            • 25 Posts
            No JS errors.
            MODx cache and browser cache cleared and nothing in core/cache/logs/error.log.
            I’m using contexts.
            I’ve unsintalled the TinyMCE package as well as the previous packages before to re-install TinyMCE with no success.
              • 15308
              • 25 Posts
              I’ve uninstalled the Babel package and that solved the problem.
                • 28120
                • 380 Posts
                I’ve got the same problem. I’ve even tried installing / uninstalling babel to no avail?

                I’ve got this in the log but don’t know if it’s related

                 [2011-06-10 20:44:32] (ERROR @ /adapt/connectors/resource/index.php) Error caching lexicon topic lexicon/en/core/resource
                [2011-06-10 20:49:10] (ERROR @ /adapt/connectors/system/rte.php) Error caching script elements/modplugin/1
                


                and the following errors on upgrade

                Error updating table for class modUserGroup
                Array
                (
                [0] => 42S21
                [1] => 1060
                [2] => Duplicate column name 'rank'
                )
                
                Error updating table for class modUserGroup
                Array
                (
                [0] => 42000
                [1] => 1061
                [2] => Duplicate key name 'rank'
                )
                
                  • 2048
                  • 15 Posts
                  have same logs when upgrade

                  for the button which permit to switch between tinyMCE editor and standard area, it seems that is Css issues, it is really in the page but css properties hide it ( it is in float: left and have a lot of overflow:hidden ... in ancestors ) very complicated to see it when page growing , only see if editor zone is so smaller than all content are in page without scroll ... play with firebug under firefox to see it ...

                  ok i have found the css properties which is wrong for screen with not big resolution like mine ( dual screens of 1280x1024 )

                  with mobule bar in firefox i have this as properties :
                  <div id="ext-gen46" class="x-panel-body x-panel-body-noheader x-panel-body-noborder" style="background-color: transparent; padding: 0pt 1px 0pt 0px; overflow: auto; width: 709px; height: 758px;">


                  To see scrollbar entirely must change height to 700px

                  with no module bar visible i have :
                  <div id="ext-gen46" class="x-panel-body x-panel-body-noheader x-panel-body-noborder" style="background-color: transparent; padding: 0pt 1px 0pt 0px; overflow: auto; width: 709px; height: 794px;">


                  and for seeing full scrollbars must set height to 729px ...

                  two screenshots to understand :


                    coding Java Android and NDS
                    • 28120
                    • 380 Posts
                    Above kamalito said it was ok on a fresh install. Presumably I could copy the CSS file from a fresh install to the updgraded site and it should be ok?
                      • 2048
                      • 15 Posts
                      Quote from: sparkyhd at Jun 11, 2011, 02:41 PM

                      Above kamalito said it was ok on a fresh install. Presumably I could copy the CSS file from a fresh install to the updgraded site and it should be ok?
                      i don’t think so , the css style is generated inline by javascript.

                      in waiting to solve it , i have discover this tips : when hiding other informations of ressources the edit area is entirely in page , so no need to have scrollbars ,not very great but ...

                      [edit]
                      Kamalito said it was ok after uninstalling babel add-on ... so maybe the extra pixels add by babel is no count by the layout javascript ...

                      [edit2]
                      i confirm in putting display:none for babel box, the layout javascript compute correctly the height for scrolling ...
                        coding Java Android and NDS