Examples in README do not produce a map
| Project: | Mapbuilder |
| Version: | 5.x-1.x-dev |
| Component: | Documentation |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Jump to:
The following strings are provided in the README.txt:
<map>mapbuilder/config/1</map>1 what? What does the 1 represent? It's explained lower down, but how it is used should be explained first. Otherwise this is just confusing. I know I'm not the only user to actually put this into a file only to find out that it does not work.
<map config="path/to/config">Obviously this doesn't work. Just a smidge lower down <map>modules/mapbuilder/config.xml</map> is suggested. This file does not exist. It should be <map>modules/mapbuilder/demo/demisWorldMap.xml</map> (Assuming it is installed into the modules/ directory and not sites/all/modules/ - see http://drupal.org/node/117613
I eventually found http://drupal.org/node/111926 which is how I even found out about that file, but the installation of this module is the most confusing I've dealt with yet...

#1
The README.txt was clarified a bit.
I added a config.xml file to the demo folder. Note that the demis xml is a context file and not a config file.
#2
Okay I can't get any map output out of this module now.
Looking at the config.xml you provide you make references to mapbuilder/mapbuilder-1.5-alpha1. So we're supposed to be using 1.5a1? You STILL don't specify in the README.txt which mapbuilder to install (http://drupal.org/node/118782) and while I got 1.0 to come up and produce a map previously, THIS file makes references to 1.5a1. So could you please specify a version of mapbuilder to be installed?
I got the thing to produce a map from the demo file after editing config.xml a bit, but it worked with 1.0 as well, before. So... what's the story? As it is, with 1.5a1 the little animation and message "Loading Mapbuilder program" never goes away (when using as my page content
<map>sites/all/modules/mapbuilder/demo/config.xml</map>#3
In essence, "me too" to what drinkypoo is saying, except to me it's even less clear.
1. "In this example, '1' represents the drupal node id of the mapconfig node. OK, what is "the" "mapconfig" node? The node I'm putting the MAP tag in?
2. "If a mapbuilder context node has been added, it can be used in a config node" OK, what is a context node??
3. For the config files, I just assumed that the "alpha" path hadn't been updated, and changed it to the paths for my own installation.
So, the animation just goes and goes... I'm going to go tinker some more, because this module is one that I really, really want to use.
#4
To repeat what I've said elsewhere, complete failure after a fresh installation and a suggested patch to the JavaScript.
"Most confusing," indeed. Which is too bad, because the functionality looks great.