We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 39498
    • 169 Posts
    I cannot put an iframe code into html view of an tinymce field used by migx. iframe gets stripped out.

    On a normal ressource the iframe can be put. The default tinymce seems to enable iframe instertion.

    So, is there any migx-tinymce configuration?
      • 42562
      • 1,145 Posts
      donshakespeare Reply #2, 11 years ago
      See https://forums.modx.com/thread/97694/support-comments-for-tinymcewrapper?page=8#dis-post-531882 for valid_elements
      read on that thread how to get going with MIGX tv
        TinymceWrapper: Complete back/frontend content solution.
        Harden your MODX site by passwording your three main folders: core, manager, connectors and renaming your assets (thank me later!)
        5 ways to sniff / hack your own sites; even with renamed/hidden folders, burst them all up, to see how secure you are not.
        • 39498
        • 169 Posts
        Quote from: donshakespeare at Sep 22, 2015, 01:13 AM
        See https://forums.modx.com/thread/97694/support-comments-for-tinymcewrapper?page=8#dis-post-531882 for valid_elements
        read on that thread how to get going with MIGX tv

        thanxs for your reply. As I am getting frustrated about that point not finding a solution.

        Actually I do not have any TinymceWrapperMIGX chunk. Using an old version 2.4.1 beta5. Any idea on that?
          • 42562
          • 1,145 Posts
          donshakespeare Reply #4, 11 years ago
          Did you install TinymceWrapper Extra?
          Upgrade MIGX to MIGX 2.9.5+
            TinymceWrapper: Complete back/frontend content solution.
            Harden your MODX site by passwording your three main folders: core, manager, connectors and renaming your assets (thank me later!)
            5 ways to sniff / hack your own sites; even with renamed/hidden folders, burst them all up, to see how secure you are not.
            • 39498
            • 169 Posts
            Quote from: donshakespeare at Sep 24, 2015, 10:28 AM
            Did you install TinymceWrapper Extra?
            Upgrade MIGX to MIGX 2.9.5+

            No, I do not have TinymceWrapper Extra installed. I am not shure, if an upgrade would go fluently without problems. I'd like to avoide possible backup and upgrade complications, especially when I am not shure to solve the problem. Or is it for sure, that tmce fields are rendered diffently in migx and in a normal resources, where it works as expected and configured.
              • 28042 ☆ A M B ☆
              • 24,524 Posts
              The whole point of upgrading MIGX (not MODX) and installing TinyMCEWrapper is to solve problems like yours. TinyMCEWrapper is great, it's the latest in the TinyMCE add-ons and fixes a lot of issues that TinyMCE has had over the years. Plus it's a lot more configurable, and uses the latest version of Moxicode's TinyMCE core.
                Studying MODX in the desert - http://sottwell.com
                Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
                Join the Slack Community - http://modx.org
                • 39498
                • 169 Posts
                Ok, I'll give it a try. Thanks for the help.
                  • 39498
                  • 169 Posts
                  Could you give a comment on how husslefree an upgrade of migx should be?
                    • 42562
                    • 1,145 Posts
                    donshakespeare Reply #9, 11 years ago
                    Backup your site's database, with one click.

                    Then proceed to MODx Manager Packages, find MIGX, hit update, one click!

                    Done!

                    If any thing bad happens (which should not be the case), restore your database.

                    By the way, what version of MODx CMS are you using?
                      TinymceWrapper: Complete back/frontend content solution.
                      Harden your MODX site by passwording your three main folders: core, manager, connectors and renaming your assets (thank me later!)
                      5 ways to sniff / hack your own sites; even with renamed/hidden folders, burst them all up, to see how secure you are not.
                      • 39498
                      • 169 Posts
                      Have an old version 2.2.6-pl with migx 2.4.1 beta5

                      As this old migx version did not offer an upgrade, I reinstalled it with the packagemanager. I Also installed TinyMCEWrapper. Both installations gave some problems, the output is attached. TinyMCEWrapper e.g. did not install the chunks. So I deactivated it. The normal TinyMCE now works with the new migx version, I can use an iFrame.

                      But am I running in futur problems with the errors of the migx update?
                      And how to install TinyMCEWrapper propperly?

                      /*
                      * MODX Console Output
                      *
                      * @date 2015-09-29 16:50:05
                      */
                      Versuche, das Package mit der Signatur migx-2.9.6-pl zu installieren
                      
                      Package gefunden... Bereite jetzt die Installation vor.
                      
                      Übertrage Package-Workspace...
                      
                      Workspace-Umgebung eingerichtet, installiere jetzt das Package...
                      
                      snippet_err_saveArray
                      
                      Error saving vehicle object of class modSnippet; criteria: Array
                      (
                          [name] => getImageList
                      )
                      
                      
                      snippet_err_saveArray
                      
                      Error saving vehicle object of class modSnippet; criteria: Array
                      (
                          [name] => migxGetRelations
                      )
                      
                      
                      snippet_err_saveArray
                      
                      Error saving vehicle object of class modSnippet; criteria: Array
                      (
                          [name] => migx
                      )
                      
                      
                      snippet_err_saveArray
                      
                      Error saving vehicle object of class modSnippet; criteria: Array
                      (
                          [name] => migxLoopCollection
                      )
                      
                      
                      snippet_err_saveArray
                      
                      Error saving vehicle object of class modSnippet; criteria: Array
                      (
                          [name] => migxResourceMediaPath
                      )
                      
                      
                      snippet_err_saveArray
                      
                      Error saving vehicle object of class modSnippet; criteria: Array
                      (
                          [name] => migxImageUpload
                      )
                      
                      
                      snippet_err_saveArray
                      
                      Error saving vehicle object of class modSnippet; criteria: Array
                      (
                          [name] => migxChunklistToJson
                      )
                      
                      
                      snippet_err_saveArray
                      
                      Error saving vehicle object of class modSnippet; criteria: Array
                      (
                          [name] => migxSwitchDetailChunk
                      )
                      
                      
                      snippet_err_saveArray
                      
                      Error saving vehicle object of class modSnippet; criteria: Array
                      (
                          [name] => getSwitchColumnCol
                      )
                      
                      
                      snippet_err_saveArray
                      
                      Error saving vehicle object of class modSnippet; criteria: Array
                      (
                          [name] => getDayliMIGXrecord
                      )
                      
                      
                      snippet_err_saveArray
                      
                      Error saving vehicle object of class modSnippet; criteria: Array
                      (
                          [name] => filterbytag
                      )
                      
                      
                      snippet_err_createArray
                      
                      Error saving vehicle object of class modSnippet; criteria: Array
                      (
                          [name] => migxObjectMediaPath
                      )
                      
                      
                      snippet_err_createArray
                      
                      Error saving vehicle object of class modSnippet; criteria: Array
                      (
                          [name] => exportMIGX2db
                      )
                      
                      
                      snippet_err_createArray
                      
                      Error saving vehicle object of class modSnippet; criteria: Array
                      (
                          [name] => preparedatewhere
                      )
                      
                      
                      snippet_err_createArray
                      
                      Error saving vehicle object of class modSnippet; criteria: Array
                      (
                          [name] => migxJsonToPlaceholders
                      )
                      
                      
                      snippet_err_createArray
                      
                      Error saving vehicle object of class modSnippet; criteria: Array
                      (
                          [name] => migxGetCollectionTree
                      )
                      
                      
                      snippet_err_createArray
                      
                      Error saving vehicle object of class modSnippet; criteria: Array
                      (
                          [name] => migxIsNewObject
                      )
                      
                      
                      Attempting to preserve files at /core/components/migx into archive /core/packages/migx-2.9.6-pl/modCategory/4371de4689f6c03510b05cc5b68727bc.0.preserved.zip
                      
                      Attempting to preserve files at /modx-2.2.6-pl/vo4hew9ass/components/migx into archive /core/packages/migx-2.9.6-pl/modCategory/4371de4689f6c03510b05cc5b68727bc.1.preserved.zip
                      
                      create/upgrade tables
                      
                      Skipping /core/components/migx/model/migx/migxconfig.class.php; file already exists.
                      Move existing class files to regenerate them.
                      
                      Skipping /core/components/migx/model/migx/mysql/migxconfig.class.php; file already exists.
                      Move existing class files to regenerate them.
                      
                      Skipping /core/components/migx/model/migx/migxformtab.class.php; file already exists.
                      Move existing class files to regenerate them.
                      
                      Skipping /core/components/migx/model/migx/mysql/migxformtab.class.php; file already exists.
                      Move existing class files to regenerate them.
                      
                      Skipping /core/components/migx/model/migx/migxformtabfield.class.php; file already exists.
                      Move existing class files to regenerate them.
                      
                      Skipping /core/components/migx/model/migx/mysql/migxformtabfield.class.php; file already exists.
                      Move existing class files to regenerate them.
                      
                      Skipping /core/components/migx/model/migx/migxconfigelement.class.php; file already exists.
                      Move existing class files to regenerate them.
                      
                      Skipping /core/components/migx/model/migx/mysql/migxconfigelement.class.php; file already exists.
                      Move existing class files to regenerate them.
                      
                      Skipping /core/components/migx/model/migx/migxelement.class.php; file already exists.
                      Move existing class files to regenerate them.
                      
                      Skipping /core/components/migx/model/migx/mysql/migxelement.class.php; file already exists.
                      Move existing class files to regenerate them.
                      
                      Created table `migx_formtabs`
                      SQL: CREATE TABLE `migx_formtabs` (`id` INTEGER unsigned NOT NULL AUTO_INCREMENT, `config_id` INT(10) NOT NULL DEFAULT '0', `caption` VARCHAR(255) NOT NULL DEFAULT '', `pos` INT(10) NOT NULL DEFAULT '0', `print_before_tabs` TINYINT(1) unsigned NOT NULL DEFAULT '0', `extended` TEXT NOT NULL, PRIMARY KEY (`id`)) ENGINE=MyISAM
                      
                      
                      Created table `migx_formtab_fields`
                      SQL: CREATE TABLE `migx_formtab_fields` (`id` INTEGER unsigned NOT NULL AUTO_INCREMENT, `config_id` INT(10) NOT NULL DEFAULT '0', `formtab_id` INT(10) NOT NULL DEFAULT '0', `field` VARCHAR(255) NOT NULL DEFAULT '', `caption` VARCHAR(255) NOT NULL DEFAULT '', `description` TEXT NOT NULL, `pos` INT(10) NOT NULL DEFAULT '0', `description_is_code` TINYINT(1) unsigned NOT NULL DEFAULT '0', `inputTV` VARCHAR(255) NOT NULL DEFAULT '', `inputTVtype` VARCHAR(255) NOT NULL DEFAULT '', `validation` TEXT NOT NULL, `configs` VARCHAR(255) NOT NULL DEFAULT '', `restrictive_condition` TEXT NOT NULL, `display` VARCHAR(255) NOT NULL DEFAULT '', `sourceFrom` VARCHAR(255) NOT NULL DEFAULT '', `sources` VARCHAR(255) NOT NULL DEFAULT '', `inputOptionValues` TEXT NOT NULL, `default` TEXT NOT NULL, `extended` TEXT NOT NULL, PRIMARY KEY (`id`)) ENGINE=MyISAM
                      
                      
                      tables upgraded
                      
                      Prepare menu for MODX Revolution 2.3.x
                      
                      Package "migx-2.9.6-pl" erfolgreich installiert.
                      
                      
                      /* EOF */
                      


                      /*
                      * MODX Console Output
                      *
                      * @date 2015-09-29 18:06:22
                      */
                      Versuche, das Package mit der Signatur tinymcewrapper-2.1.1-beta1 zu installieren
                      
                      Package gefunden... Bereite jetzt die Installation vor.
                      
                      Übertrage Package-Workspace...
                      
                      Workspace-Umgebung eingerichtet, installiere jetzt das Package...
                      
                      snippet_err_createArray
                      
                      Error saving vehicle object of class modSnippet; criteria: Array
                      (
                          [name] => TinymceWrapperGRF
                      )
                      
                      
                      snippet_err_createArray
                      
                      Error saving vehicle object of class modSnippet; criteria: Array
                      (
                          [name] => TinymceWrapperGetUrlParam
                      )
                      
                      
                      tv_err_createArray
                      
                      Error saving vehicle object of class modTemplateVar; criteria: Array
                      (
                          [name] => TinymceWrapperTV1
                      )
                      
                      
                      tv_err_createArray
                      
                      Error saving vehicle object of class modTemplateVar; criteria: Array
                      (
                          [name] => fileRichTv
                      )
                      
                      
                      tv_err_createArray
                      
                      Error saving vehicle object of class modTemplateVar; criteria: Array
                      (
                          [name] => imageRichTv
                      )
                      
                      
                      tv_err_createArray
                      
                      Error saving vehicle object of class modTemplateVar; criteria: Array
                      (
                          [name] => imageRichTv2
                      )
                      
                      
                      tv_err_createArray
                      
                      Error saving vehicle object of class modTemplateVar; criteria: Array
                      (
                          [name] => fileRichTv2
                      )
                      
                      
                      tv_err_createArray
                      
                      Error saving vehicle object of class modTemplateVar; criteria: Array
                      (
                          [name] => TinymceWrapperTV3
                      )
                      
                      
                      tv_err_createArray
                      
                      Error saving vehicle object of class modTemplateVar; criteria: Array
                      (
                          [name] => TinymceWrapperTV2
                      )
                      
                      
                      Could not install related objects with locally owned keys for vehicle object of class modCategory; criteria: Array
                      (
                          [category] => TinymceWrapper
                      )
                      
                      
                      Attempting to preserve files at /core/components/tinymcewrapper into archive /core/packages/tinymcewrapper-2.1.1-beta1/modCategory/279ca963ca6b141c210d4f9e29c36e49.0.preserved.zip
                      
                      Attempting to preserve files at /modx-2.2.6-pl/vo4hew9ass/components/tinymcewrapper into archive /core/packages/tinymcewrapper-2.1.1-beta1/modCategory/279ca963ca6b141c210d4f9e29c36e49.1.preserved.zip
                      
                      chunk_err_createArray
                      
                      Error saving vehicle object of class modChunk; criteria: Array
                      (
                          [name] => elfinderLocalFileSystem1
                      )
                      
                      
                      chunk_err_createArray
                      
                      Error saving vehicle object of class modChunk; criteria: Array
                      (
                          [name] => elfinderLocalFileSystem2
                      )
                      
                      
                      chunk_err_createArray
                      
                      Error saving vehicle object of class modChunk; criteria: Array
                      (
                          [name] => elfinderLocalFileSystem3
                      )
                      
                      
                      chunk_err_createArray
                      
                      Error saving vehicle object of class modChunk; criteria: Array
                      (
                          [name] => elfinderLocalFileSystem4
                      )
                      
                      
                      chunk_err_createArray
                      
                      Error saving vehicle object of class modChunk; criteria: Array
                      (
                          [name] => elfinderLocalFileSystemPersonal
                      )
                      
                      
                      chunk_err_createArray
                      
                      Error saving vehicle object of class modChunk; criteria: Array
                      (
                          [name] => elfinderLocalFileSystem5
                      )
                      
                      
                      Could not install related objects with locally owned keys for vehicle object of class modCategory; criteria: Array
                      (
                          [category] => elfinderVolumes
                      )
                      
                      
                      chunk_err_createArray
                      
                      Error saving vehicle object of class modChunk; criteria: Array
                      (
                          [name] => responsivePersonalConfig
                      )
                      
                      
                      snippet_err_createArray
                      
                      Error saving vehicle object of class modSnippet; criteria: Array
                      (
                          [name] => responsivefilemanagerConnector
                      )
                      
                      
                      snippet_err_createArray
                      
                      Error saving vehicle object of class modSnippet; criteria: Array
                      (
                          [name] => autoCreateFoldersTWrfm
                      )
                      
                      
                      Could not install related objects with locally owned keys for vehicle object of class modCategory; criteria: Array
                      (
                          [category] => ResponsiveFileManager
                      )
                      
                      
                      chunk_err_createArray
                      
                      Error saving vehicle object of class modChunk; criteria: Array
                      (
                          [name] => roxyConfJson
                      )
                      
                      
                      Could not install related objects with locally owned keys for vehicle object of class modCategory; criteria: Array
                      (
                          [category] => RoxyFileman
                      )
                      
                      
                      chunk_err_createArray
                      
                      Error saving vehicle object of class modChunk; criteria: Array
                      (
                          [name] => TinymceWrapperTVs
                      )
                      
                      
                      chunk_err_createArray
                      
                      Error saving vehicle object of class modChunk; criteria: Array
                      (
                          [name] => TinymceWrapperContent
                      )
                      
                      
                      chunk_err_createArray
                      
                      Error saving vehicle object of class modChunk; criteria: Array
                      (
                          [name] => TinymceWrapperIntrotext
                      )
                      
                      
                      chunk_err_createArray
                      
                      Error saving vehicle object of class modChunk; criteria: Array
                      (
                          [name] => TinymceWrapperMIGX
                      )
                      
                      
                      chunk_err_createArray
                      
                      Error saving vehicle object of class modChunk; criteria: Array
                      (
                          [name] => TinymceWrapperDescription
                      )
                      
                      
                      chunk_err_createArray
                      
                      Error saving vehicle object of class modChunk; criteria: Array
                      (
                          [name] => TinymceWrapperLinkList
                      )
                      
                      
                      chunk_err_createArray
                      
                      Error saving vehicle object of class modChunk; criteria: Array
                      (
                          [name] => TinymceWrapperQuickUpdate
                      )
                      
                      
                      chunk_err_createArray
                      
                      Error saving vehicle object of class modChunk; criteria: Array
                      (
                          [name] => TinymceWrapperCommonCode
                      )
                      
                      
                      Could not install related objects with locally owned keys for vehicle object of class modCategory; criteria: Array
                      (
                          [category] => TinyMCEinits
                      )
                      
                      
                      snippet_err_createArray
                      
                      Error saving vehicle object of class modSnippet; criteria: Array
                      (
                          [name] => elfinderConnector
                      )
                      
                      
                      snippet_err_createArray
                      
                      Error saving vehicle object of class modSnippet; criteria: Array
                      (
                          [name] => autoCreateFoldersTWelfinder
                      )
                      
                      
                      Could not install related objects with locally owned keys for vehicle object of class modCategory; criteria: Array
                      (
                          [category] => elFinder
                      )
                      
                      
                      Could not find Template and/or TV TinymceWrapper - TinymceWrapperTV1
                      
                      Could not find Template and/or TV default - fileRichTv
                      
                      Could not find Template and/or TV TinymceWrapper - fileRichTv
                      
                      Could not find Template and/or TV default - imageRichTv
                      
                      Could not find Template and/or TV TinymceWrapper - imageRichTv
                      
                      Could not find Template and/or TV default - imageRichTv2
                      
                      Could not find Template and/or TV TinymceWrapper - imageRichTv2
                      
                      Could not find Template and/or TV default - fileRichTv2
                      
                      Could not find Template and/or TV TinymceWrapper - fileRichTv2
                      
                      Could not find Template and/or TV TinymceWrapper - TinymceWrapperTV3
                      
                      Could not find Template and/or TV TinymceWrapper - TinymceWrapperTV2
                      
                      
                      Package "tinymcewrapper-2.1.1-beta1" erfolgreich installiert.
                      
                      
                      /* EOF */