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

Attachment: htmlarea.js
Description: JavaScript source

********************************************
Hippocms-dev: Hippo CMS development public mailinglist

Reply via email to