You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lenya.apache.org by Jörn Nettingsmeier <ne...@apache.org> on 2007/05/14 20:25:42 UTC

tinymce js location

hi everyone!


iirc, doug suggested a while ago to store the external tinymce code in 
the publication rather than the trunk, arguing that the trunk dir should 
not contain anything not in svn. makes sense, but i'm having issues with 
the following snippet from the tinymce xslt:

<script
   language="javascript"
   type="text/javascript"
 
src="{$contextPath}/{$publicationid}/modules/tinymce/tinymce/jscripts/tiny_mce/tiny_mce.js"
   >&#160;</script>

i don't like the $publicationid part, which implies a publication-local 
module. moreover, it complicates things when using a proxy setup.

i'm totally buying doug's argument that putting the tiny code into a 
publication is desirable over having to copy it into svn. but i think 
this should be accomplished by using the fallback mechanism, not by 
pretending to have a publication-local module.

i.e.:
src="{$contextPath}/modules/tinymce/tinymce/jscripts/tiny_mce/tiny_mce.js"

and then, in your publication, move modules/tinymce to 
lenya/modules/tinymce.

what do you think?


regards,

jörn



-- 
Jörn Nettingsmeier

Kurt is up in heaven now.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lenya.apache.org
For additional commands, e-mail: dev-help@lenya.apache.org