I am trying to do a page using an input filter set up as in the README.txt. I am not using the line break filter. I have added the HTML filter - why is that even in there again? Regardless I set up weights as specified.
The syntax in the README shows the following:
<map config="path/to/config" />
Mine looks like the following:
<map config="modules/mapbuilder/demo/demisWorldMap.xml" />
This is the proper location for this file based on the drupal base_path (also as per the README.txt.) Using this (and NO OTHER CONTENT) for the body of the page produces blank page content (the theme loads ok) with the following error:
No defaultModelUrl found in config file 'http://10.0.0.141/modules/mapbuilder/demo/demisWorldMap.xml'
If I create a map config and give the same string (modules/mapbuilder/demo/demisWorldMap.xml) as the Model URL, it works just fine. Yet if I use the filter, it doesn't work.
Comments
Comment #1
jpulles commentedThe problem is that <map config="path/to/config" /> must refer to a mapbuilder config file. The demo/demisWorldMap.xml file is a mapbuilder context document. It can only be used as a modelUrl in a config node (as you did), but not in a filter.
Comment #2
hyperlogos commentedcool, just replying mostly to link http://drupal.org/node/118800 which was related.
Could you perhaps explain the difference somewhere between a config and a model url, if you haven't already? That would help.
Ideally the "model url" field, when it appears, would have some descriptive text to it. you could even add a link to an appropriate page about it on the community mapbuilder site or something. It would help people who haven't seen the community mapbuilder project before (like me) quite a bit.