We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 25551 ☆ A M B ☆
    • 1,231 Posts
    @insert_nick I just edited my post above yours...

    I would prefer to use something that is somewhat integrated in to MODx so there’s some sort of support here incase it’s needed.

    I’m going to setup what I have done so far on my own site so you guys can see the issues I am having. You will also be able to see how flexible I’m trying to make FDM... with the auto creation of pages by a new registration and instant permissions to edit their own documents is definitely something the community could benefit from.

    I’ll post back shortly with a link for you guys to view.

    Ross
      Ross Sivills - MD AugmentBLU Edinburgh, Scotland UK
      AugmentBLU - MODX Partner

      BLUcart - MODX Revolution E-Commerce & Shopping Cart
      • 12983
      • 108 Posts
      Quote from: rossco at Jun 19, 2008, 07:14 AM

      @insert_nick I don’t suppose you could check to see if you are able to use the flash and media player options in your install? I tested tinymce212 with FF and it worked, IE7 gave me a JS error so stopped the browser working, not the popup and the latest Opera would all me to even click in the tinymce editor area at all.

      I fear not today, but I think tomorrow I’ll try. I’m also working on FDM/TinyMCE these days with rewarding results similar to what you have (almost) achieved on your own, but I’m very busy now (I should cut out the "now" part wink and mainly, I can’t easily go through the steps needed to make things detrministically work (i.e. a tutorial), because it has been a joined work with my friend, so no one of us two has "the whole thing" clear in mind sad
        • 25551 ☆ A M B ☆
        • 1,231 Posts
        Ok I think I have created the test account etc properly for those who want to see what I’ve done so far... fingers crossed i’ve done this correctly as i’ve taken it from a gaming site I have been working on.

        CLICK HERE

        use the login bar on the left side

        USERNAME : modx
        PASSWORD : modxrocks

        after signing in you should see "Your Designs" at the bottom of the menu to the left. Click this option.

        Ignore the unfinished page look when signing in... I have been busy studying for my web design course so still need to finish it lol.

        Ok click you have clicked"Your Designs"..... you should see a ditto list of 3 options. Ignore the request an update and the ticket system... these are other pages that were created automatically on signup (when i created the modx account). What you want to click is the FDM TEST link.

        You should see a fairly well structured page (Still got plenty more ideas, this is a test!) and you should see the edit button at the top. Click that to see the form and tinymce options.

        For those who do not want to sign in to view the page CLICK HERE

        Hope some one can help with the tinymce problem as this is very promising in my opinion.

        Ross.



          Ross Sivills - MD AugmentBLU Edinburgh, Scotland UK
          AugmentBLU - MODX Partner

          BLUcart - MODX Revolution E-Commerce & Shopping Cart
          • 25551 ☆ A M B ☆
          • 1,231 Posts
          @insert_nick

          Any help would be great and whenever you can... I think i’ve exhausted all avenues that I know myself as I’m not a programmer.

          The version of tinymce I am using is 309... it work in all browsers but the popup browse media box is still empty so it’s not looking in the correct place, I don’t actually know where it is looking! Also, if you try and insert media elements;not images, it will not input the correct code for the files to appear.

          The working example should help you understand what I mean, I can type it a million times but I still confuse myself with what I mean lol.

          Thanks all

          Ross
            Ross Sivills - MD AugmentBLU Edinburgh, Scotland UK
            AugmentBLU - MODX Partner

            BLUcart - MODX Revolution E-Commerce & Shopping Cart
            • 12983
            • 108 Posts
            Seen: nice work.
            In Opera, I get an empty media browser popup, but in IE7 I get it (FCKeditor). This is true for images and media.
            If I try to upload something (from IE7, of course), I get a "Invalid XML response from connector" (alert window from the browser).

            If you can write briefly what I have to do to enable the media browser in TinyMCE/MODx (no time to study that now, and never done), I can try if it just works with my setup. In that case, I’ll try to get you replicate my setup.
              • 25551 ☆ A M B ☆
              • 1,231 Posts
              I’m not sure what you mean nick... sorry.

              My issue with Tinymce is that the browser windows are appearing in 309 version but the they are going to a media folder that I don’t even know of. There’s no images, no permissions. This might has something to do with the empty file links when you try to even manually inset the code for a flash file. I have no programming background at all so I am limited to what I can do. Tinymce212 worked and found the correct media folders and the files were included in the form box and worked as they should... it was a browser problem that’s stopped me using version 212 as it didn’t work in IE and Opera.

              Ross
                Ross Sivills - MD AugmentBLU Edinburgh, Scotland UK
                AugmentBLU - MODX Partner

                BLUcart - MODX Revolution E-Commerce & Shopping Cart
                • 12983
                • 108 Posts
                I suggest you to revert to tinymce212, and make sure everything works in Firefox or Opera.
                Then, I could send you my folder "tinymce212", and you will try replacing the standard one with mine, in the possibility that I made some modifications some time ago in order to make it work with IE7.
                Let me know if you want to explore this track.
                  • 25551 ☆ A M B ☆
                  • 1,231 Posts
                  Nick, that would be great if you could do that. I really want to get this project complete so I can share the whole thing with the community. I’ll give you a mention of course grin

                  I’ll try changing it back to 212 now...

                  If you could send the version you have to my email that would be great.

                  I’ll PM you it now.

                  Ross

                  One quick question... do you think it’s best to call tinymce using the following?


                  <script language="javascript" type="text/javascript" src="[(base_url)]assets/plugins/tinymce212/jscripts/tiny_mce/tiny_mce.js"></script>
                  <script language="javascript" type="text/javascript" src="[(base_url)]assets/plugins/tinymce212/xconfig.js"></script>
                  <script language="javascript" type="text/javascript">
                  	tinyMCE.init({
                  		  theme : "advanced",
                  		  mode : "exact",
                  		  width : "100%",
                  		  height : "400px",
                  		  relative_urls : true,
                  		  document_base_url : "[(base_url)]",
                  		  remove_script_host : true,
                  		  language : "en",
                  		  elements : "fdmContent",
                  		  valid_elements : tinymce_valid_elements,
                  		  extended_valid_elements : tinymce_extended_valid_elements,
                  		  invalid_elements : tinymce_invalid_elements,
                  		  entity_encoding : "named",
                  		  cleanup: true,
                  		  apply_source_formatting : true,
                  		  remove_linebreaks : false,
                  		  convert_fonts_to_spans : "true",
                  		  onchange_callback : "tvOnTinyMCEChangeCallBack",
                  		  external_link_list_url : "[(base_url)]assets/plugins/tinymce212/tinymce.linklist.php",
                  		  resource_browser_path : "[(base_url)]manager/media/browser/mcpuk/browser.html?Connector=[(base_url)]manager/media/browser/mcpuk/connectors/php/connector.php&ServerPath=[(base_url)]",
                  		  file_browser_callback : "fileBrowserCallBack",
                  		  theme_advanced_blockformats : "p,h1,h2,h3,h4,h5,h6,div,blockquote,code,pre,address",
                  		  plugins : "style,advimage,advlink,searchreplace,print,contextmenu,paste,fullscreen,nonbreaking,xhtmlxtras,visualchars,media",
                  		  theme_advanced_buttons0 : "",
                  		  theme_advanced_buttons1 : "undo,redo,selectall,separator,pastetext,pasteword,separator,search,replace,separator,nonbreaking,hr,charmap,separator,image,link,unlink,anchor,media,separator,cleanup,removeformat,separator,fullscreen,print,code,help",
                  		  theme_advanced_buttons2 : "bold,italic,underline,strikethrough,sub,sup,separator,bullist,numlist,outdent,indent,separator,justifyleft,justifycenter,justifyright,justifyfull,separator,styleselect,formatselect,separator,styleprops",
                  		  theme_advanced_buttons3 : "",
                  		  theme_advanced_buttons4 : "",
                  		  theme_advanced_toolbar_location : "top",
                  		  theme_advanced_toolbar_align : "left",
                  		  theme_advanced_path_location : "bottom",
                  		  theme_advanced_disable : "",
                  		  theme_advanced_resizing : false,
                  		  theme_advanced_resize_horizontal : false,
                  		  plugin_insertdate_dateFormat : "%Y-%m-%d",
                  		  plugin_insertdate_timeFormat : "%H:%M:%S",
                  		  button_tile_map : false 
                  
                  	});
                  	function fileBrowserCallBack(field_name, url, type, win) {
                  		// This is where you insert your custom filebrowser logic
                  		var win=tinyMCE.getWindowArg("window");
                  		win.BrowseServer(field_name);
                  	}
                    function tvOnTinyMCEChangeCallBack(i){
                      if (i.oldTargetElement.onchange) {
                        i.oldTargetElement.onchange();
                      }
                    }	
                  </script>
                  



                    Ross Sivills - MD AugmentBLU Edinburgh, Scotland UK
                    AugmentBLU - MODX Partner

                    BLUcart - MODX Revolution E-Commerce & Shopping Cart
                    • 25551 ☆ A M B ☆
                    • 1,231 Posts
                    IE7 is throwing up a javascript error that’s stopping the browser from being able to search for files.

                    line : 59
                    Char : 2
                    Error : Oject required
                    Code : 0 
                    URL : http://mysite/manager/media/browser/mcpuk/frmfolders.html


                      Ross Sivills - MD AugmentBLU Edinburgh, Scotland UK
                      AugmentBLU - MODX Partner

                      BLUcart - MODX Revolution E-Commerce & Shopping Cart
                      • 12983
                      • 108 Posts
                      This happens with standard or "mine" tinymce212 which I’ve sent you in PM?