mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-18 05:53:24 +01:00
17710c20ab
see tinymce.moxiecode.com/ for more info
123 lines
4.1 KiB
HTML
123 lines
4.1 KiB
HTML
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
<html>
|
|
<head>
|
|
<title>Installation instructions</title>
|
|
<link href="css/screen.css" rel="stylesheet" type="text/css" />
|
|
</head>
|
|
<body>
|
|
|
|
<div class="header">
|
|
<h1>Installation instructions</h1>
|
|
</div>
|
|
|
|
<div class="content">
|
|
<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>
|
|
|
|
<div class="separator"></div>
|
|
|
|
<h2>Requirements</h2>
|
|
<div class="section">
|
|
<p>TinyMCE has no direct requirements except for <a href="compatiblity_chart.html">browser compatiblity</a> and of course JavaScript needs to be turned on. There is NO backend code distributed with TinyMCE.
|
|
</p>
|
|
</div>
|
|
|
|
<div class="separator"></div>
|
|
|
|
<h2>Downloading</h2>
|
|
<div class="section">
|
|
<p>For download instructions check our <a href="http://tinymce.moxiecode.com">website.</a></p>
|
|
</div>
|
|
|
|
<div class="separator"></div>
|
|
|
|
<h2>Extracting the archives</h2>
|
|
<div class="section">
|
|
<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>
|
|
<p>
|
|
You should extract TinyMCE in your wwwroot or site domain root folder
|
|
</p>
|
|
<h3>Extract example using a shell:</h3>
|
|
<div class="example">
|
|
<pre>
|
|
$ cd wwwroot
|
|
$ gzip -d tinymce_1_44.tar.gz
|
|
$ tar xvf tinymce_1_44.tar
|
|
</pre>
|
|
</div>
|
|
<p>
|
|
<h3>A folder structure looking like this is created:</h3>
|
|
<div class="example">
|
|
<pre>
|
|
/tinymce/
|
|
/tinymce/docs/
|
|
/tinymce/docs/zh_cn/
|
|
/tinymce/examples/
|
|
/tinymce/examples/zh_cn/
|
|
/tinymce/jscripts/
|
|
/tinymce/jscripts/tiny_mce/
|
|
/tinymce/jscripts/tiny_mce/langs/
|
|
/tinymce/jscripts/tiny_mce/plugins/
|
|
/tinymce/jscripts/tiny_mce/plugins/<plugin folders>
|
|
/tinymce/jscripts/tiny_mce/themes/
|
|
/tinymce/jscripts/tiny_mce/themes/advanced/
|
|
/tinymce/jscripts/tiny_mce/themes/default/
|
|
/tinymce/jscripts/tiny_mce/themes/simple/
|
|
</pre>
|
|
</div>
|
|
</p>
|
|
</div>
|
|
|
|
<div class="separator"></div>
|
|
|
|
<h2>Making changes on your website</h2>
|
|
<div class="section">
|
|
<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 website.</p>
|
|
<p>
|
|
<h3>The most basic page integration (converts all textarea elements into editors):</h3>
|
|
<div class="example">
|
|
<pre>
|
|
<html>
|
|
<head>
|
|
<title>TinyMCE Test<title>
|
|
<strong><script language="javascript" type="text/javascript" src="../jscripts/tiny_mce/tiny_mce.js"></script>
|
|
<script language="javascript" type="text/javascript">
|
|
tinyMCE.init({
|
|
mode : "textareas"
|
|
});
|
|
</script></strong>
|
|
</head>
|
|
<body>
|
|
<form method="post">
|
|
<textarea name="content" cols="50" rows="15">This is some content that will be editable with TinyMCE.</textarea>
|
|
</form>
|
|
</body>
|
|
</html>
|
|
</pre>
|
|
</div>
|
|
</p>
|
|
<p>
|
|
Here are a few different example of how you could integrate TinyMCE.
|
|
</p>
|
|
<p>
|
|
<ul>
|
|
<li><a href="installation_example_00.html">Example 00</a> - Simple Theme</li>
|
|
<li><a href="installation_example_01.html">Example 01</a> - Advanced Theme</li>
|
|
<li><a href="installation_example_02.html">Example 02</a> - Advanced Theme Full</li>
|
|
<li><a href="installation_example_03.html">Example 03</a> - Advanced Theme Simplified</li>
|
|
</ul>
|
|
</p>
|
|
<p>
|
|
If you have any problems, you should check the forum on the <a href="http://tinymce.moxiecode.com/" target="_blank">TinyMCE website</a>.
|
|
</p>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="footer">
|
|
<div class="helpindexlink"><a href="index.html">Index</a></div>
|
|
<div class="copyright">Copyright © 2005 Moxiecode Systems AB</div>
|
|
<br style="clear: both" />
|
|
</div>
|
|
|
|
</body>
|
|
</html>
|