restored fixes and tweaks on blog mod
[elgg.git] / _tinymce / docs / installing.html
blob2ed668d79344299d15541b0697dd7449dca4411d
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <html xmlns="http://www.w3.org/1999/xhtml">
3 <head>
4 <title>Installation instructions</title>
5 <link href="css/screen.css" rel="stylesheet" type="text/css" />
6 </head>
7 <body>
9 <div class="header">
10 <h1>Installation instructions</h1>
11 </div>
13 <div class="content">
14 <p>Installing TinyMCE is very simple, follow the instructions here. We give a few examples of to integrate TinyMCE, also look at the extensive <a href="reference_configuration.html">options</a> for configuration.</p>
16 <div class="separator"></div>
18 <h2>Requirements</h2>
19 <div class="section">
20 <p>TinyMCE has no direct requirements except for <a href="compatiblity_chart.html">browser compatibility</a> and of course JavaScript needs to be turned on. There is NO backend code distributed with TinyMCE.
21 </p>
22 </div>
24 <div class="separator"></div>
26 <h2>Downloading</h2>
27 <div class="section">
28 <p>For download instructions check our <a href="http://tinymce.moxiecode.com">web site.</a></p>
29 </div>
31 <div class="separator"></div>
33 <h2>Extracting the archives</h2>
34 <div class="section">
35 <p>On windows you could use <a href="http://www.winzip.com">WinZip</a> or something similar. And on other operating systems such as Linux you simply extract the archive with the tar command. You can find a example on how to extract the archived file on Linux below.</p>
36 <p>
37 You should extract TinyMCE in your wwwroot or site domain root folder
38 </p>
39 <h3>Extract example using a shell:</h3>
40 <div class="example">
41 <pre>
42 $ cd wwwroot
43 $ gzip -d tinymce_1_44.tar.gz
44 $ tar xvf tinymce_1_44.tar
45 </pre>
46 </div>
47 <p>
48 <h3>A folder structure looking like this is created:</h3>
49 <div class="example">
50 <pre>
51 /tinymce/
52 /tinymce/docs/
53 /tinymce/docs/zh_cn/
54 /tinymce/examples/
55 /tinymce/examples/zh_cn/
56 /tinymce/jscripts/
57 /tinymce/jscripts/tiny_mce/
58 /tinymce/jscripts/tiny_mce/langs/
59 /tinymce/jscripts/tiny_mce/plugins/
60 /tinymce/jscripts/tiny_mce/plugins/&lt;plugin folders&gt;
61 /tinymce/jscripts/tiny_mce/themes/
62 /tinymce/jscripts/tiny_mce/themes/advanced/
63 /tinymce/jscripts/tiny_mce/themes/default/
64 /tinymce/jscripts/tiny_mce/themes/simple/
65 </pre>
66 </div>
67 </p>
68 </div>
70 <div class="separator"></div>
72 <h2>Making changes on your web site</h2>
73 <div class="section">
74 <p>Once you have extracted the archive you will need to edit the pages to include the configuration and javascript for TinyMCE. Please note that you should probably only include the TinyMCE javascript on the pages that need it, not all the pages of the web site. Remember to change the URL to the .js below to match your installation path.</p>
75 <p>
76 <h3>The most basic page integration (converts all textarea elements into editors):</h3>
77 <div class="example">
78 <pre>
79 &lt;html&gt;
80 &lt;head&gt;
81 &lt;title&gt;TinyMCE Test&lt;/title&gt;
82 <strong>&lt;script language=&quot;javascript&quot; type=&quot;text/javascript&quot; src=&quot;../jscripts/tiny_mce/tiny_mce.js&quot;&gt;&lt;/script&gt;
83 &lt;script language=&quot;javascript&quot; type=&quot;text/javascript&quot;&gt;
84 tinyMCE.init({
85 mode : &quot;textareas&quot;
86 });
87 &lt;/script&gt;</strong>
88 &lt;/head&gt;
89 &lt;body&gt;
90 &lt;form method=&quot;post&quot;&gt;
91 &lt;textarea name=&quot;content&quot; cols=&quot;50&quot; rows=&quot;15&quot;&gt;This is some content that will be editable with TinyMCE.&lt;/textarea&gt;
92 &lt;/form&gt;
93 &lt;/body&gt;
94 &lt;/html&gt;
95 </pre>
96 </div>
97 </p>
98 <p>
99 Here are a few different example of how you could integrate TinyMCE.
100 </p>
102 <ul>
103 <li><a href="installation_example_00.html">Example 00</a> - Simple Theme</li>
104 <li><a href="installation_example_01.html">Example 01</a> - Advanced Theme</li>
105 <li><a href="installation_example_02.html">Example 02</a> - Advanced Theme Full</li>
106 <li><a href="installation_example_03.html">Example 03</a> - Advanced Theme Simplified</li>
107 </ul>
108 </p>
110 If you have any problems, you should check the forum on the <a href="http://tinymce.moxiecode.com/" target="_blank">TinyMCE web site.</a></p>
111 </div>
112 </div>
114 <div class="footer">
115 <div class="helpindexlink"><a href="index.html">Index</a></div>
116 <div class="copyright">Copyright &copy; 2003-2006 <a href="http://www.moxiecode.com">Moxiecode Systems AB</a></div>
117 <br style="clear: both" />
118 </div>
120 </body>
121 </html>