Re: External component integrated in a forrest page
Sjur Moshagen <[email protected]> Sat, 03 Sep 2016 14:06:55 +0300
| Newsgroups | gmane.text.xml.forrest.devel |
|---|---|
| Message-ID | <[email protected]> |
3. sep. 2016 kl. 02:32 skrev Brian M Dube <[email protected]>: > > On 09/02/2016 12:43 AM, Sjur Moshagen wrote: >> 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: >> >> $PROJECTROOT/src/documentation/resources/ckeditor/* >> >> 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> >> <match pattern="/ckeditor/**.js"> >> <location src="{properties:resources-dir}ckeditor/{1}.js"/> >> </match> > > I got it to work using {properties:resources} instead of > {properties:resources-dir}. I tried briefly with the locationmap, but > didn't get that working. Thanks a lot! Those two tips - removing ‘-dir’ from the location variable, and skipping the locationmap - solved the problem :-) Sjur