Maurizio,
I'm not 100% sure, but I know they guys at Xinha have started to refactor Xinha
a couple of months (maybe already a year ago).
The Xinha object will only be available with the latest version of Xinha (which
we are not using).
Regards,
Jeroen
-----Original Message-----
From: [EMAIL PROTECTED] on behalf of maurizio pillitu
Sent: Tue 4/8/2008 3:15 PM
To: hippocms-dev
Subject: [HippoCMS-dev] Embed a video picker in the Xinha editor
Hi everybody,
I need to enhance the Hippo CMS xinha editor with a video picker; I found
this[1] which fits pretty well my needs and I started working on the
integration within Hippo CMS, but I have some problems getting it working:
- my htmlarea.js configuration is attached
- my common business-logic.xml (imported on every backend template) I defined
<libs>
<lib src="/extensions/project-specific/js/htmlarea.js"/>
<lib src="/extensions/types/htmlarea.js"/>
</libs>
- the /extensions/xinha folder contains
- an easy sitemap.xmap
<map:sitemap xmlns:map="http://apache.org/cocoon/sitemap/1.0">
<map:pipelines>
<map:pipeline internal-only="false" type="noncaching">
<map:match pattern="**">
<map:read src="{1}"/>
</map:match>
</map:pipeline>
</map:pipelines>
</map:sitemap>
- plugins folder, containing all the plugins implemented here[1]
I currently get a JS error 'Xinha is not defined' which means I do something
*really* wrong trying to embed the extension in Xinha; I followed this[2]
documentation on the wiki.
Any ideas?
TIA
Met vriendelijke groet,
--
Maurizio Pillitu - 0031 (0)615655668
Sourcesense - making sense of Open Source: http://www.sourcesense.com
[1] - http://www.jljsolutions.co.uk/xinha.html
[2] - http://www.hippocms.org/display/CMS/Rich+text+editor
********************************************
Hippocms-dev: Hippo CMS development public mailinglist