If in a single drupal node, more than 1 carto filter block occurs, errors messages are given by smarty because it tries to write the compiled text to file.
This will be solved by writing the content of a carto filter block to a database table and referring to it by node id and carto filter sequence number (same as id in generated html code).

Comments

jpulles’s picture

Multiple blocks containing cartographic widgets are possible now in a page. This includes an overview block in the left OR right column.
Each carto filter block gets an id of carto-filter-{sequence number}, and the content is cached in a database table together with the crc value (to check if the content has changed) and a timestamp.

Anonymous’s picture

Anonymous’s picture

Anonymous’s picture

Anonymous’s picture

Tobias Maier’s picture

Anonymous’s picture

jpulles’s picture

Version: » master

In drupal, multiple nodes containing multiple carto blocks can appear in e.g. the page listing all the blogs. Release 0.3 of mappingwidgets handles this correctly if the target maps of buttons are specified in relative terms, i.e. values 'previous' or 'next'; note that in this case the map widgets should not be given an explicit id.

Anonymous’s picture

Status: Fixed » Closed (fixed)