Codeigniter CMS with tinymce
<p>I am using tinymce to try and create a cms module but its not working nothing is showing in the view except for the text Manage contacts. Any idea why ? my js folder is in the same directory where my application folder is </p>

<pre><code>&lt;!DOCTYPE html&gt;
&lt;html&gt;
    &lt;head&gt;
        &lt;meta charset="utf-8"&gt;
        &lt;meta name="viewport" content="width=device-width, initial-scale=1.0"&gt;
        &lt;title&gt;CMS&lt;/title&gt;
        &lt;script src="&lt;?php echo base_url() ?&gt;js/tinymce/tinymce.min.js"&gt;&lt;/script&gt;
&lt;script type="text/javascript"&gt;
tinymce.init({
    selector: "textarea",
    plugins: [
        "advlist autolink lists link image charmap print preview anchor",
        "searchreplace visualblocks code fullscreen",
        "insertdatetime media table contextmenu paste"
    ],
    toolbar: "insertfile undo redo | styleselect | bold italic | alignleft aligncenter alignright alignjustify | bullist numlist outdent indent | link image"
});
&lt;/script&gt;
    &lt;/head&gt;
    &lt;body&gt;
            &lt;div id="page-wrapper"&gt;   
                &lt;br&gt;
            &lt;div class="col-xs-9 col-md-12"&gt;
            &lt;div class="panel panel-primary"&gt;
            &lt;div class="panel-heading"&gt;&lt;center&gt; Manage Contacts&lt;/div&gt;
            &lt;div class="panel-body"&gt;
             &lt;form action="&lt;?php echo base_url() . "administrator/update_contacts"; ?&gt;" method="post" class="form-horizontal" role="form"&gt;

             &lt;?php foreach ($contacts as $cms): ?&gt;
                        &lt;div class="form-group"&gt;

                                &lt;?php 
                                  $value = $cms-&gt;hto;
                                $data = array(
              'name'        =&gt; 'contacts',
              'id'          =&gt; 'contacts',
              'value'       =&gt; $value,

              'style'       =&gt; 'width:100%',
            );

                                 echo form_textarea($data);
                                ?&gt;

                             &lt;?php $start = strtotime('6-07-2015');
                              $end = strtotime(date('Y-m-d'));
                              $result = ($end - $start) / (60 * 60 * 24);
                              print $result; ?&gt;

                            &lt;/div&gt;
                 &lt;center&gt;&lt;button type="submit" class="btn btn-success navbar-btn"&gt;DONE
                          &lt;/button&gt;

                                &lt;/div&gt;

 &lt;/form&gt;       
                    &lt;?php endforeach; ?&gt;

    &lt;/body&gt;
&lt;/html&gt;
</code></pre>