Project:DIY Map
Version:5.x-1.1
Component:Code
Category:bug report
Priority:normal
Assigned:mediacteurs
Status:closed (fixed)

Issue Summary

Hello,

i have installed the 5.x.1.1 version of the module instead of the 5.x-1.x-dev but it is now impossible to use 'add states' or 'add regions' buttons.
It seems that updated fieds as colors are not included in xml file.

Thanks in advance for help.

Comments

#1

- Have you tried to flush the menu cache ?
- Which Drupal version ?
- What happens when you click 'add state' or 'add regions' ?

#2

Drupal version is 5.15.

When I click 'add state' or 'add regions', nothing happens.

#3

Hello,

I could solve this problem by changing the line 213 of diymap.module

drupal_add_js(drupal_get_path('module','diymap').'/diymap.js');

by

drupal_add_js(drupal_get_path('module','diymap').'diymap.js');

I also changed the line 948

$xml_dir = base_path() . file_directory_path()."/diymap/node${nid}.xml";

by the code from the dev version of the module.

Everthing is order expect of problems for deleting states ou other information.

Thanks in advance if you have the solution.

#4

I change del_states in del_state in the line 684 and it works now.

And also in the following lines for :

del_range
del_region
del_points

#5

Status:active» closed (fixed)

Please reopen if you're still having a problem with that.

nobody click here