Problem with textformat filter order.
I want to use the "PHP-Evaluator" filter with the "GMap Macro expander".
The PHP-code writes the macro for "GMap Macro expander".
It does not work because the "GMap Macro expander" expands only texts which are already in the source-text of the PHP-code.
The order of the filter is set correct, but it is not respected.
See attached screenshots.
When I write the GMap-Macro as text in the code, it works:
echo '
[gmap markers=sv restoV::47.5001,8.73125| markers=sv restoF::46.2687,8.68466| markers=sv restoF::47.4842,7.61787| markers=sv restoV::46.1704,8.79327| markers=sv restoV::47.3764,8.54412| zoom=8 |center=46.7828958,8.280945 |width=100% |height=500px |control=Small |type=Map]';
When I make the GMap-Macro with PHP-code, it doesn't work:
$m = '[gmap '.$setmarkers.'zoom=8 |center=46.7828958,8.280945 |width=100% |height=500px |control=Small |type=Map]';
echo $m;
Comment | File | Size | Author |
---|---|---|---|
GMAP-tag not working.png | 15.46 KB | vegi | |
Filter order.jpg | 12.43 KB | vegi |
Comments
Comment #1
vegi CreditAttribution: vegi commentedComment #2
vegi CreditAttribution: vegi commentedNo one can help?
Beside the GMap main module, I use only "GMap Macro Builder" Version 7.x-2.9.
And the "PHP filter" version is of course the same as Drupal: 7.26
Comment #3
shubham_narlawar CreditAttribution: shubham_narlawar at Google Summer of Code commentedComment #4
shubham_narlawar CreditAttribution: shubham_narlawar at Google Summer of Code commented