forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sjur Moshagen <>
Subject External component integrated in a forrest page
Date Fri, 02 Sep 2016 07:43:20 GMT
Hello all,

We’re trying to make CKEditor [1] work in a forrest page (and as part of it, a speller plugin
we have developed to support the languages we work on). CKEditor is all JS and CSS, and I
have tried following the descriptions here [2] to make it work, with no success so far.

The main issue is that of getting url’s mapped to the correct directory on disk. I though
I had done it correctly, but still no success. The CKEditor code is located in:


and I have the following entry in $PROJECTROOT/src/documentation/content/locationmap.xml:

    <match pattern="ckeditor/**.js">
        <location src="{properties:resources-dir}ckeditor/{1}.js"/>
    <match pattern="/ckeditor/**.js">
        <location src="{properties:resources-dir}ckeditor/{1}.js"/>

I also added the following to $PROJECTROOT/src/documentation/sitemap.xmap:

            <map:match pattern="ckeditor/**.js">
              <map:read src="{lm:project.resources-dir.{1}.js}" mime-type="text/javascript"

But no success.

Any feedback would be most welcome.



View raw message