You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lenya.apache.org by fl...@apache.org on 2010/09/23 12:02:03 UTC
svn commit: r1000387 - in /lenya/branches/BRANCH_2_0_X/src/modules/tinymce:
README-INSTALL config/menu.xml
Author: florent
Date: Thu Sep 23 10:02:02 2010
New Revision: 1000387
URL: http://svn.apache.org/viewvc?rev=1000387&view=rev
Log:
- add an install file for the tinymce module
Added:
lenya/branches/BRANCH_2_0_X/src/modules/tinymce/README-INSTALL
Modified:
lenya/branches/BRANCH_2_0_X/src/modules/tinymce/config/menu.xml
Added: lenya/branches/BRANCH_2_0_X/src/modules/tinymce/README-INSTALL
URL: http://svn.apache.org/viewvc/lenya/branches/BRANCH_2_0_X/src/modules/tinymce/README-INSTALL?rev=1000387&view=auto
==============================================================================
--- lenya/branches/BRANCH_2_0_X/src/modules/tinymce/README-INSTALL (added)
+++ lenya/branches/BRANCH_2_0_X/src/modules/tinymce/README-INSTALL Thu Sep 23 10:02:02 2010
@@ -0,0 +1,33 @@
+
+****************************
+** Please follow theses steps for intall a working TinyMCE editor :
+****************************
+
+1)download the TinyMCE 3.3.9 version here :
+ http://sourceforge.net/projects/tinymce/files/TinyMCE/3.3.9/tinymce_3_3_9.zip/download [1]
+ and unzip in the tinymce/resources folder.
+
+2)select languages you want here :
+ http://tinymce.moxiecode.com/download_i18n.php
+ and unzip here tinymce/resources folder. FIXME : really the good folder ?
+
+3) Add (without cotes) in the menu.xml of resource-type you want tiny can edit :
+ "<item uc:usecase="tinymce.edit" href="?"><i18n:text>With TinyMCE</i18n:text></item>"
+ example patch for xhtml resource type :
+
+****** Begin patch ******
+ Index: xhtml/config/menu.xml
+===================================================================
+--- xhtml/config/menu.xml (revision 1000343)
++++ xhtml/config/menu.xml (working copy)
+@@ -39,6 +39,7 @@
+ <item uc:usecase="bxe.edit"><i18n:text>With BXE</i18n:text></item>
+ <item uc:usecase="editors.forms" href="?form=xhtml"><i18n:text>With Forms</i18n:text></item>
+ <item uc:usecase="editors.oneform"><i18n:text>editors.sourceEditor</i18n:text></item>
++ <item uc:usecase="tinymce.edit" href="?"><i18n:text>With TinyMCE</i18n:text></item>
+ </block>
+ </menu>
+****** END patch *******
+
+
+[1] You can find - at your own risk - a more recent version of this here : http://sourceforge.net/projects/tinymce/files/
\ No newline at end of file
Modified: lenya/branches/BRANCH_2_0_X/src/modules/tinymce/config/menu.xml
URL: http://svn.apache.org/viewvc/lenya/branches/BRANCH_2_0_X/src/modules/tinymce/config/menu.xml?rev=1000387&r1=1000386&r2=1000387&view=diff
==============================================================================
--- lenya/branches/BRANCH_2_0_X/src/modules/tinymce/config/menu.xml (original)
+++ lenya/branches/BRANCH_2_0_X/src/modules/tinymce/config/menu.xml Thu Sep 23 10:02:02 2010
@@ -22,8 +22,10 @@
xmlns="http://apache.org/cocoon/lenya/menubar/1.0">
<menus>
<menu i18n:attr="name" name="Edit">
- <block areas="authoring" resourceTypes="xhtml homepage">
- <item wf:event="edit" uc:usecase="tinymce.edit" href="?"><i18n:text>With TinyMCE</i18n:text></item>
+ <!-- <block areas="authoring" resourceTypes="xhtml homepage"> -->
+ <block areas="authoring" resourceTypes="xhtml">
+ <item uc:usecase="tinymce.edit" href="?"><i18n:text>With TinyMCE</i18n:text></item>
+ <!-- <item wf:event="edit" uc:usecase="tinymce.edit" href="?"><i18n:text>With TinyMCE</i18n:text></item> -->
</block>
</menu>
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@lenya.apache.org
For additional commands, e-mail: commits-help@lenya.apache.org