Dear Wiki user, You have subscribed to a wiki page or wiki category on "Lenya Wiki" for change notification.
The following page has been changed by Kristen: http://wiki.apache.org/lenya/HowToIntegrateFCKEditor ------------------------------------------------------------------------------ {{{ <?xml version="1.0"?> + <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" - xmlns:xhtml="http://www.w3.org/1999/xhtml"> + xmlns:xhtml="http://www.w3.org/1999/xhtml" + > + + <xsl:param name="docname"/> <xsl:template match="/"> <xsl:apply-templates select="fckeditor"/> @@ -281, +285 @@ <html xmlns="http://www.w3.org/1999/xhtml"> <xsl:apply-templates select="xhtml:html/xhtml:[EMAIL PROTECTED] = 'EditorHead']"/> <body onload="invoke();"> - - <form id="myform" action="/default/authoring/index.html?lenya.usecase=fckeditor&lenya.step=save" method="POST"> + <form id="myform" action="{$docname}.html?lenya.usecase=fckeditor&lenya.step=save" method="POST"> - <textarea id="content" rows="40" cols="80"><xsl:copy-of select="xhtml:html/xhtml:body/node()"/></textarea> + <textarea name="content" id="content"> + <xsl:copy-of select="xhtml:html/xhtml:body/node()"/> + </textarea> - </form> + </form> - </body> </html> </xsl:template> @@ -293, +297 @@ <xsl:template match="xhtml:head"> <head xmlns="http://www.w3.org/1999/xhtml"> <xsl:for-each select="/fckeditor/namespaces/xmlns"> - <meta name="fckNS" content="{.}"/> + <meta name="fckNS" content="{.}"/> </xsl:for-each> <xsl:copy-of select="@*|node()"/> </head> </xsl:template> + + </xsl:stylesheet> - </xsl:stylesheet> }}} b. Modify asset.xsl to containt the following: --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
