Welcome Guest, Not a member yet? Register   Sign In
Problems integrating TinyMCE
#5

[eluser]Packe[/eluser]
Here is my index.php which I have stripped of unnecessary HTML code:

Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
&lt;html &gt;
&lt;head&gt;
&lt;meta http-equiv="Content-Type" content="text/html; charset=utf-8" /&gt;
&lt;title&gt;&lt;/title>
&lt;meta name="keywords" content="" /&gt;
&lt;meta name="description" content="" /&gt;
&lt;link rel="stylesheet" href="&lt;?php echo base_url()."assets/css/styles.css"?&gt;" type="text/css" media="screen, projection, tv" /&gt;
&lt;!-- TinyMCE --&gt;
[removed][removed]
[removed]
tinyMCE.init({
    mode : "textareas"
});
[removed]

&lt;/head&gt;
&lt;body&gt;
      &lt;?=$content."\n"?&gt;
&lt;/body&gt;
&lt;/html&gt;

The variable $content is used by views to show different content. for example a form with textareas. I have it this way in order to only have 1 file with the site layout.


Messages In This Thread
Problems integrating TinyMCE - by El Forum - 09-08-2009, 03:35 AM
Problems integrating TinyMCE - by El Forum - 09-08-2009, 03:48 AM
Problems integrating TinyMCE - by El Forum - 09-08-2009, 03:56 AM
Problems integrating TinyMCE - by El Forum - 09-08-2009, 04:32 AM
Problems integrating TinyMCE - by El Forum - 09-08-2009, 04:37 AM
Problems integrating TinyMCE - by El Forum - 09-08-2009, 11:33 AM
Problems integrating TinyMCE - by El Forum - 09-08-2009, 12:49 PM
Problems integrating TinyMCE - by El Forum - 09-08-2009, 01:25 PM



Theme © iAndrew 2016 - Forum software by © MyBB