[Lenya Wiki] Update of "HowToInstallTinyMCE3.x" by Ra inerSchoepf
Apache Wiki <[email protected]> Sat, 28 Jan 2012 07:42:08 -0000
| Newsgroups | gmane.comp.cms.lenya.devel |
|---|---|
| Message-ID | <[email protected]> |
Dear Wiki user,
You have subscribed to a wiki page or wiki category on "Lenya Wiki" for change notification.
The "HowToInstallTinyMCE3.x" page has been changed by RainerSchoepf:
http://wiki.apache.org/lenya/HowToInstallTinyMCE3.x?action=diff&rev1=9&rev2=10
. as shown by the attached diff output: [[attachment:tinymce_sitemap.patch]] .
+ . {{{
+ Index: src/modules/tinymce/sitemap.xmap
+ ===================================================================
+ --- src/modules/tinymce/sitemap.xmap (revision 1024205)
+ +++ src/modules/tinymce/sitemap.xmap (working copy)
+ @@ -75,7 +75,7 @@
+ <!-- Check for language pack to render TinyMCE according to the
+ requested locale. If it does not exist, fall back to English. -->
+ <map:select type="resource-exists">
+ - <map:when test="fallback://lenya/modules/tinymce/resources/tinymce/jscripts/tiny_mce/langs/{request:locale}.js">
+ + <map:when test="fallback://lenya/modules/tinymce/resources/tinymce/jscripts/tiny_mce/langs/{request:locale/language}.js">
+ <map:transform src="fallback://lenya/modules/tinymce/xslt/page2edit.xsl">
+ <!-- the proxy path is set manually, since the document has already been
+ though the proxy transformer in the publication sitemap, and we can't
+ @@ -84,7 +84,7 @@
+ <map:parameter name="continuationId" value="{flow-continuation:id}"/>
+ <map:parameter name="usecaseName" value="{request-param:lenya.usecase}"/>
+ <map:parameter name="publicationId" value="{page-envelope:publication-id}"/>
+ - <map:parameter name="locale" value="{request:locale}"/>
+ + <map:parameter name="locale" value="{request:locale/language}"/>
+ <map:parameter name="content" value="{request-param:tinymce.content}"/>
+ </map:transform>
+ </map:when>
+ @@ -95,6 +95,7 @@
+ <map:parameter name="usecaseName" value="{request-param:lenya.usecase}"/>
+ <map:parameter name="publicationId" value="{page-envelope:publication-id}"/>
+ <map:parameter name="locale" value="en"/>
+ + <map:parameter name="content" value="{request-param:tinymce.content}"/>
+ </map:transform>
+ </map:otherwise>
+ </map:select>
+
+ }}}
+