civisualize links does not support non-clean URL in drupal.
Created by: johanvandyck
On the event view links are provided for upcomming events. These links are from the form "/event/". This works fine for clean URL. However if this option is not possible, links are broken.
Workaround: adapt the code a little bit:
- open /civisualize-master/templates/dataviz/event.pl
- around line 341 I found and changed the URL encoding: // dynamic columns creation using an array of closures .columns([ // non clean url form looks like "index.php?q=civicrm/dataviz/event/13" // original line: function(d) {return ""+d.title+""; }, // added line for non-clean url support function(d) {return ""+d.title+""; }, function(d) {return d.sd.getDate()+"/"+(d.sd.getMonth()+1)+"/"+d.sd.getFullYear();}, function(d) {return d.ed.getDate()+"/"+(d.ed.getMonth()+1)+"/"+d.ed.getFullYear();}, function(d) {return d.count;} ]) .sortBy(function (d) { return d.sd; });