title: Set up Responsive filemanager on TinyMCE
body: <p>I'm using TinyMCE 4 as my WYSIWYG editor and I've installed <a href="http://www.responsivefilemanager.com" rel="nofollow">Responsive Filemanager</a>.</p>
  
  <p>I've tried to follow the instructions very carefully, but when I preview the page the "browse" button doesn't appear. </p>
  
  <p>I'm currently working localhost on my computer so my folder structure looks like this:</p>
  
  <p>htdocs > websites > example (root), so the url is h**p://localhost/websites/example</p>
  
  <p>folder structure:</p>
  
  <pre><code>example
  - css
  - uploads
  - source ( this is the upload folder )
  - thumbs ( thumbnail folder )
  - filemanager
  -- config
  --- config.php
  - js
  -- tinymce
  --- plugins
  ---- responsivefilemanager
  ----- plugin.js , plugin.min.js
  </code></pre>
  
  <p>The config looks like this:</p>
  
  <pre><code>$url = ($_SERVER['HTTP_HOST'] == 'localhost') ? 'h**p://localhost/websites/example' : 'h**p://www.example.com' ;
  $base_url = $url; 
  $upload_dir = '/source/';
  $current_path = '../source/';
  //thumbs folder can't put inside upload folder
  $thumbs_base_path = '../thumbs/'; 
  </code></pre>
  
  <p>and this is the javascript on my page that sets TinyMCE</p>
  
  <pre><code>&lt;script type="text/javascript"&gt;
      tinymce.init({
          selector: "textarea.tinymce", 
          entity_encoding : "raw",
          // menubar: false,
          subfolder:"content",
          plugins: [
              "link image media anchor responsivefilemanager", 
              "code"
          ],
          // toolbar2: "| responsivefilemanager | link unlink anchor | image media | forecolor backcolor  | print preview code ",
          image_advtab: true,
          // external_filemanager_path:"/filemanager/",
          // filemanager_title:"Responsive Filemanager" ,
          // external_plugins: { "filemanager" : "/responsivefilemanager/plugin.min.js"}
          // toolbar: "undo redo | styleselect | bold italic underline | 
          // alignleft aligncenter alignright alignjustify | bullist numlist outdent indent | link image",
      });
  &lt;/script&gt;
  </code></pre>