We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 17162
    • 27 Posts
    Hello,
    could anyone help me, please. How can I resize height of FCK Resources Browser window (inside TinyMCE)?

    Thank you!

    Lina
      • 4018
      • 1,131 Posts
      What OS and browser? I’m able to resize the resource browser window fine in just about every browser on every OS.
        Jeff Whitfield

        "I like my coffee hot and strong, like I like my women, hot and strong... with a spoon in them."
        • 17162
        • 27 Posts
        Bravado, thank you for reply.
        I can resize browser window (when it’s open) , but I would like to change the size of window in which Resources browser opens at start. The size of window is to big, so I have to move it up to be able to see browse/upload field. Any help? huh

        Lina
          • 4018
          • 1,131 Posts
          Let me get back to you on this. Might even be a way to change this via a TinyMCE parameter. smiley
            Jeff Whitfield

            "I like my coffee hot and strong, like I like my women, hot and strong... with a spoon in them."
            • 4018
            • 1,131 Posts
            Ok, short answer for you, Lina:

            Look in the TinyMCE directory under assets/plugins. Open the tinymce.functions.php file. Down towards the bottom around line 190 you should see a function that looks like this:

            		tinyMCE.activeEditor.windowManager.open({
            		    file : cmsURL,
            		    width : screen.width * 0.7,  // Your dimensions may differ - toy around with them!
            		    height : screen.height * 0.7,
            		    resizable : "yes",
            		    inline : "yes",  // This parameter only has an effect if you use the inlinepopups plugin!
            		    close_previous : "no"
            		}, {
            		    window : win,
            		    input : field_name
            		});
            


            Simply change the width and height parameters to whatever you want. Currently they’re set to 70% of the width and height of the user’s screen...but you can always set it to a static value. I figured that a percentage was best but your mileage may vary.

            Hope this solves it for you! smiley
              Jeff Whitfield

              "I like my coffee hot and strong, like I like my women, hot and strong... with a spoon in them."
              • 17162
              • 27 Posts
              Bravado, thank you for your reply.
              I upgraded TinyMCE to ver. 3.0.8 (I had ver. 2.1.2), the size of resources browser window is ok smiley , but now I have lots of problems with formating text - strange things with div, p, br... I will check it out.

              One more question - how can I limited user access to certain image/media folders, or can I have folders which are visible only to me (administrator) in Resources browser?

              Thanks,
              Lina