We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 29529
    • 34 Posts
    Edit Resource -> Template Variables displays TVs at the top and Resource Content at the bottom of the frame.

    With multiple TVs the last one often doesn’t appear in the frame.

    Reducing the browser text size sometimes brings it into view.

    Using TinyMCE however, the third TV is often truncated even at the smallest text setting and the fourth doesn’t appear at all.

    Any way to increase the size of the frame holding the TVs? Or to scroll it?

    Thanks!

    Terry
      • 28215
      • 4,149 Posts
      1. What browser/os are you using?
      2. List all the TVs and their types that are causing problem to occur.
      3. What version of Revolution is this?
      4. Are you using any RTE TVs? If so, state which RTE.
        shaun mccormick | bigcommerce mgr of software engineering, former modx co-architect | github | splittingred.com
        • 29529
        • 34 Posts
        Thanks for your help.

        I’m on a Mac OS 10.6.3 running Safari 4.0.4 and Firefox 3.6.3

        MODx Revolution 2.0.0-beta-5 rev6224

        Happens with both RTEs I’ve tried: TinyMCE and CKEditor

        All TVs have Input Type: Rich Text and Output Type: Default

        Thanks!

        Terry
          • 28215
          • 4,149 Posts
          Quote from: Terrykm at Apr 19, 2010, 04:43 PM

          MODx Revolution 2.0.0-beta-5 rev6224
          Upgrade to RC1. That will solve your problem.
            shaun mccormick | bigcommerce mgr of software engineering, former modx co-architect | github | splittingred.com
            • 29529
            • 34 Posts
            More trouble - having trouble installing RC1 . . .

            It installs OK with no error messages - although it did make me create the database, but then it created all the tables without error.

            But when I create a page and attempt to save it I get this error:

            resource_add_children_access_denied

            And User->Profile to update my profile give this error: Permission denied!

            So somewhere I don’t have the permissions set properly it seems . . .

            Thanks!

            Terry

              • 29529
              • 34 Posts
              OK: installation of MODx Revolution 2.0.0-rc-1 rev6614

              solved the disappearing TV problem.

              Thanks a lot!

              Terry
                • 29529
                • 34 Posts
                Well, still having problems after upgrade to MODx Revolution 2.0.0-rc-1 rev6614

                Here’s what’s happening:

                * create document with the default template loads RTE in all TVs and page can be saved

                * create document with any other template and TVs do not load RTE and page won’t save - it just hangs on Saving

                * changed Default Template in System Settings (and cleared cache) but Create Document still loads the initial default

                Failure to save is not showing any errors in the Error Log.

                However there are a lot of these:

                [2010-04-20 07:15:43] (ERROR @ /Applications/MAMP/htdocs/modx-20/core/xpdo/xpdo.class.php : 1610) PHP warning: json_encode() [<a href=’function.json-encode’>function.json-encode</a>]: recursion detected

                And occasionally this:

                [2010-04-20 08:50:32] (ERROR @ /modx-20/connectors/element/template.php) modTemplateVarTemplate: Attempt to set NOT NULL field rank to NULL

                The install was clean as was the package install of TinyMCE.

                Then I noticed that there was an R3 version of TinyMCE. So I downloaded the zip file, put it in place in /core/packages/core, uninstalled R2 and installed R3

                With the uninstall I got lots of errors in the Console like this:

                Skipping modLexiconEntry object (data object does not exist and cannot be removed): Array ( [name] => tinymce_editor_css_selectors_title [topic] => 44 [language] => da )
                Skipping modLexiconEntry object (data object does not exist and cannot be removed): Array ( [name] => tinymce_editor_css_selectors_message [topic] => 44 [language] => da )

                Now TinyMCE does not show up in System Settings, Editor to Use . . .

                Thanks for your suggestions . . .

                Terry




                  • 29529
                  • 34 Posts
                  More:

                  When I right click on tinymce in Package Management and select Reinstall it reinstalls TinyMCE with this error message:


                  Console
                  Console running...
                  Attempting to install package with signature: tinymce-3.2.7.0-rc3
                  Package found...now preparing to install.
                  Grabbing package workspace...
                  Workspace environment initiated, now installing package...
                  Error 42S22 executing statement: Array ( [0] => 42S22 [1] => 1054 [2] => Unknown column ’modPluginEvent.event’ in ’where clause’ )
                  Error 23000 executing statement: INSERT INTO `modx2_site_plugin_events` (`pluginid`, `evtid`, `priority`, `propertyset`) VALUES (’4’, ’0’, ’0’, ’0’) Array ( [0] => 23000 [1] => 1062 [2] => Duplicate entry ’4-0’ for key 1 )
                  Error saving vehicle object: Array ( [license] => GNU GENERAL PUBLIC LICENSE Version 2, June 1991 -------------------------- Copyright (C) 1989, 1991 Free Software . . .

                  Then there’s pages and pages of GNU license legalese ending with this:

                  ----- END OF TERMS AND CONDITIONS [readme] => Please consult the HTML documentation for details. [action] => install [signature] => 2deffbe18554f51406ba2eb1fc6476da [register] => mgr [topic] => /workspace/package/install/tinymce-3.2.7.0-rc3/ [package_action] => 0 [vehicle_package] => transport [vehicle_class] => xPDOObjectVehicle [class] => modSystemSetting [guid] => 5dc95516e0fd1fe02d1b8e5ad107aafb [native_key] => tiny.css_selectors [filename] => modSystemSetting/2deffbe18554f51406ba2eb1fc6476da.vehicle [namespace] => tinymce [unique_key] => key [preserve_keys] => 1 [update_object] => [resolve] => [validate] => [package] => modx [object] => {"key":"tiny.css_selectors","value":"","xtype":"textfield","namespace":"tinymce","area":"tinymce","editedon":null} )
                  Successfully installed package tinymce-3.2.7.0-rc3
                    • 28215
                    • 4,149 Posts
                    That specific version of TinyMCE is not compatible with Revolution RC-1 - it’s only compatible with Revolution RC-2 or SVN. You should try an older version of TinyMCE that is compatible with your install.
                      shaun mccormick | bigcommerce mgr of software engineering, former modx co-architect | github | splittingred.com
                      • 29529
                      • 34 Posts
                      OK - I’ve gone back to TinyMCE RC2 and it now can be selected in System Settings and displays on new pages created with the default template.

                      But when any other template is selected, the RTE disappears in the TVs and the page will not save - it hangs while Saving

                      If I select another template as default in System Settings I can create and save a page using it - but not when using any other template.

                      Thanks for helping with this.

                      Terry