Documenting mapbuilder installation and testing [With correct mapbuilder zip file]
lambert - February 27, 2007 - 01:57
| Project: | Mapbuilder |
| Version: | 5.x-1.x-dev |
| Component: | Documentation |
| Category: | support request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | needs work |
Jump to:
Description
FWIW, I noted down what I did to install mapbuilder. It breaks off at testing the file because I'm not sure what to do there; nothing I tried got the module to run under FF 2.0.0.1.
Installing mapbuilder on Drupal 5.1
1. Requirements
PHP5 (compiled with --with-curl and --with-xml)
mapbuilder-5.x-1.x-dev.tar.gz from http://drupal.org/project/mapbuilder
mapbuilder-lib-1.5-alpha1.zip from http://docs.codehaus.org/display/MAP/Downloads
The clandestine operations have been kept secret, in some cases, by leaving the execution or the funding to the Saudis, or by finding other ways to work around the normal congressional appropriations process, current and former officials close to the Administration said.
2. Upload mapbuilder-5.x-1.x-dev.tar.gz to sites/all/modules.
3. tar xzf mapbuilder-5.x-1.x-dev.tar.gz
3. Upload mapbuilder-lib-1.0.1-release.zip to sites/all/modules/mapbuilder
4. cd mapbuilder
5. unzip mapbuilder-lib-1.5-alpha1.zip
6. In the following file sites/all/modules/mapbuilder/demo/config.xml
Check the relative paths in <skinDir> and <defaultModeUrl> and make
sure they match your installation.
7. Enable the mapbuilder module at admin/modules
8. Check paths at admin/settings/mapbuilder and revise if necessary. (The HTML
does not need to be revised)
9. Add mapbuilder input format at admin/settings/filters. choose the filters
'Expand mapbuilder tags' (weight 2) and 'HTML filter' (weight 1), and
optionally the 'Line break converter'. Configure the filter and add the
'<map>' tag to the Allowed HTML tags.
10. At admin/user/access , enable mapbuilder access controls.
Now, test the installation:It would be useful to have exact and explicit directions like:
1. Create a config node by ....

#1
After openwerel's latest revision, my maps display, so here is updated documentation that shows how to test the installation.
Installing mapbuilder on Drupal 5.1
1. Requirements
PHP5 (compiled with --with-curl and --with-xml)
mapbuilder-5.x-1.x-dev.tar.gz from http://drupal.org/project/mapbuilder
mapbuilder-lib-1.5-alpha1.zip from http://docs.codehaus.org/display/MAP/Downloads
2. Upload mapbuilder-5.x-1.x-dev.tar.gz to sites/all/modules.
3. tar xzf mapbuilder-5.x-1.x-dev.tar.gz
3. Upload mapbuilder-lib-1.0.1-release.zip to sites/all/modules/mapbuilder
4. cd mapbuilder
5. unzip mapbuilder-lib-1.5-alpha1.zip
6. In the following file sites/all/modules/mapbuilder/demo/config.xml
Check the relative paths in and and make
sure they match your installation.
7. Enable the mapbuilder module at admin/modules
8. Check paths at admin/settings/mapbuilder and revise if necessary. (The HTML
does not need to be revised)
9. Add mapbuilder input format at admin/settings/filters. choose the filters
'Expand mapbuilder tags' (weight 2) and 'HTML filter' (weight 1), and
optionally the 'Line break converter'. Configure the filter and add the
'' tag to the Allowed HTML tags.
10. At admin/user/access , enable mapbuilder access controls.
Now, test the installation:
11. Create a Map Configuration post
12. Pick a title (say, "Test config)
13. Put a map tag the body, making sure that the relative path matches your installation
as in step 6 above
<map>sites/all/modules/mapbuilder/demo/config.xml</map>WARNING: Currently, throws an error.
14. Put the following code into the Model Url box, again making sure that the relative path matches your installation
as in step 6 above:
sites/all/modules/mapbuilder/demo/demisWorldMap.xml15. Press Submit. Your map should display.
There can be a one-to-many relation between one config node and many posts.
16. Note down the node number for the config post (for example, "16). (If you do not have clean URLs turned on, you can get the node number from the URL of the config post. Otherwise, you can get the node number from the "devel load" tab, if you have developer tools installed.)
17. Create (for example) a blog entry.
18. Give the post a title (say, "Post test")
19. Put a map tag into the body (I am using the node ID "16" from step 16.
<map>mapbuilder/config/16</map>20. Under input format, select mapbuilder (see step 9).
21. Press submit. Your map should display.
#2
Installing mapbuilder on Drupal 5.1
1. Requirements
PHP5 (compiled with --with-curl and --with-xml)
mapbuilder-5.x-1.x-dev.tar.gz from http://drupal.org/project/mapbuilder
mapbuilder-lib-1.0.1-release.zip from http://docs.codehaus.org/display/MAP/Downloads
2. Upload mapbuilder-5.x-1.x-dev.tar.gz to sites/all/modules.
3. tar xzf mapbuilder-5.x-1.x-dev.tar.gz
3. Upload mapbuilder-lib-1.0.1-release.zip to sites/all/modules/mapbuilder
4. cd mapbuilder
5. unzip mapbuilder-lib-1.0.1-release.zip
6. In the following file sites/all/modules/mapbuilder/demo/config.xml
Check the relative paths in and and make
sure they match your installation.
7. Enable the mapbuilder module at admin/modules
8. Check paths at admin/settings/mapbuilder and revise if necessary. (The HTML
does not need to be revised)
9. Add mapbuilder input format at admin/settings/filters. choose the filters
'Expand mapbuilder tags' (weight 2) and 'HTML filter' (weight 1), and
optionally the 'Line break converter'. Configure the filter and add the
'' tag to the Allowed HTML tags.
10. At admin/user/access , enable mapbuilder access controls.
Now, test the installation:
11. Create a Map Configuration post
12. Pick a title (say, "Test config)
13. Put a map tag the body, making sure that the relative path matches your installation
as in step 6 above
<map>sites/all/modules/mapbuilder/demo/config.xml</map>WARNING: Currently, throws an error.
14. Put the following code into the Model Url box, again making sure that the relative path matches your installation
as in step 6 above:
sites/all/modules/mapbuilder/demo/demisWorldMap.xml15. Press Submit. Your map should display.
There can be a one-to-many relation between one config node and many posts.
16. Note down the node number for the config post (for example, "16). (If you do not have clean URLs turned on, you can get the node number from the URL of the config post. Otherwise, you can get the node number from the "devel load" tab, if you have developer tools installed.)
17. Create (for example) a blog entry.
18. Give the post a title (say, "Post test")
19. Put a map tag into the body (I am using the node ID "16" from step 16.
<map>mapbuilder/config/16</map>20. Under input format, select mapbuilder (see step 9).
21. Press submit. Your map should display.
#3
I have followed your wonderful instructions.
Two things happen-
1. When loading the map- first reports an error reading - en/WidgetText.xml
2. I press on
3. * warning: domxml_open_mem(): AttValue: " or ' expected in
......../html/modules/mapbuilder/php4.inc.php on line 16.
* warning: domxml_open_mem(): attributes construct error in
........./html/modules/mapbuilder/php4.inc.php on line 16.
* warning: domxml_open_mem(): Couldn't find end of Start Tag img line 251 in
......./html/modules/mapbuilder/php4.inc.php on line 16.
What can be the solution to this?
Thanks
Peter - http://www.udongo.org