Please take our Survey
logo       

Choosing A Webhost:
A web hosting service is a type of Internet hosting service that allows individuals and organizations to provide their own website accessible via the World Wide Web. Web hosts are companies that provide space on a server they own for use by their clients as well as providing Internet connectivity, typically in a data center. Web hosts can also provide data center space and connectivity to the Internet for servers they do not own to be located in their data center, called colocation. more...

svn commit: r533142 - /lenya/docu/src/documentation/content/xdocs/docs/modu: msg#00227

cms.lenya.cvs

Subject: svn commit: r533142 - /lenya/docu/src/documentation/content/xdocs/docs/modules/tinymce/index.xml

Author: andreas
Date: Fri Apr 27 08:33:09 2007
New Revision: 533142

URL: http://svn.apache.org/viewvc?view=rev&rev=533142
Log:
Added more TinyMCE docs (copied from readme file)

Modified:
lenya/docu/src/documentation/content/xdocs/docs/modules/tinymce/index.xml

Modified:
lenya/docu/src/documentation/content/xdocs/docs/modules/tinymce/index.xml
URL:
http://svn.apache.org/viewvc/lenya/docu/src/documentation/content/xdocs/docs/modules/tinymce/index.xml?view=diff&rev=533142&r1=533141&r2=533142
==============================================================================
--- lenya/docu/src/documentation/content/xdocs/docs/modules/tinymce/index.xml
(original)
+++ lenya/docu/src/documentation/content/xdocs/docs/modules/tinymce/index.xml
Fri Apr 27 08:33:09 2007
@@ -30,5 +30,84 @@
The <code>tinymce</code> module contains the integration of the
TinyMCE WYSIWYG editor.
</p>
</section>
+
+ <section>
+ <title>Installation</title>
+ <ol>
+ <li>
+ <p>
+ Download TinyMCE from <a
href="http://tinymce.moxiecode.com";>http://tinymce.moxiecode.com</a> and
+ unpack the archive in the resources directory of this module.
+ That should give you a subdirectory named <code>tinymce</code>.
+ </p>
+ <p>
+ <strong>or</strong>
+ </p>
+ <p>
+ Download TinyMCE and unpack the archive in
<code>$PUB_HOME/lenya/modules/tinymce/resource/</code>.
+ </p>
+ </li>
+ <li>
+ Optionally download additional language packs and unpack them
+ in the same place. (The new files will end up in
<code>tinymce/</code> as
+ well.)
+ </li>
+ <li>
+ Check the file permissions of the new "tinymce" directory.
+ It should not be world-writable for security reasons. On UNIX
systems,
+ you can fix that with
+ <source>chmod -R og-w tinymce/</source>
+ </li>
+ <li>
+ <p>
+ Add the appropriate permissions to
+ <code>$PUB_HOME/config/access-control/usecase-policies.xml</code>
+ (or use the usecase administration GUI), for example:
+ </p>
+ <source xml:space="preserve"><![CDATA[<usecase id="tinymce.edit">
+ <role id="admin" method="grant"/>
+ <role id="edit" method="grant"/>
+</usecase>
+
+<usecase id="tinymce.insertImage">
+ <role id="admin" method="grant"/>
+ <role id="edit" method="grant"/>
+</usecase>]]></source>
+ <p>
+ This will allow the "admin" and "edit" roles to access the
+ usecases to edit and upload images.
+ </p>
+ </li>
+ <li>
+ To add a menu entry, in <code>$PUB_HOME/config/publication.xml</code>
+ add <source><![CDATA[<module name="tinymce"/>]]></source> next to
the other module
+ declarations. This does not work in the default publication,
+ because it creates its own custom menus. But for a quick test,
+ you can append <code>?lenya.usecase=tinymce.edit</code> to your
+ address-bar URL.
+ </li>
+ </ol>
+ </section>
+ <section>
+ <title>Make your site plays well with TinyMCE</title>
+ <p>
+ You will find that TinyMCE does not look good with certain layout
styles.
+ Specifically, floating objects inside your editable area will result
in
+ sub-optimal layout when the editor is active. To achive true WYSIWYG,
try
+ to design your page so that editable areas have a fixed size and no
floats
+ (you can still have accessible design by using "em" instead of "px").
+ </p>
+ <p>
+ By default, TinyMCE will parse your CSS stylesheet and make all classes
+ available in its styling dropdown menu. That means you should not
+ introduce classes for one-shot stylings outside the editable area
(unless
+ you want to make those stylings available in the content area as well).
+ Use ids instead.
+ </p>
+ <p>
+ This module has been developed and tested with TinyMCE 2.1.0.
+ </p>
+ </section>
+
</body>
</document>


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
solaris.opensol...    editors.vim/200...    web.turbogears....    jakarta.ant.dev...    mathematics.max...    text.unicode.ge...    lang.ruby.core/...    xfce.announce/2...    network.centeri...    php.cvs.pear/20...    user-groups.lin...    kde.devel.quant...    file-systems.ar...    redhat.fedora.t...    apple.fink.auto...    gnome.orbit.gen...    qplus.devel/200...    culture.transpo...    video.dri.user/...    operators.nanog...   
Home | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe

Navigation