I'm making a website wich will inform people about almost anything in any city in the Netherlands. To make everything a lot easier is I use custom made tags.
For instance the tag {PLAATS}. This tag displays the cityname, the city's wapon and so on... In the header I want to place a part of google's map displaying the city.
For this I ported Wadehammers script (google maps as website background). This script uses a little javascript file whit the coordinates of the location to be displayed.
The problem iv'e got whit this is the following:
In the original script this file is called "map.js"
Because of the way is use this script it should be called {PLAATS}.js
Sadly the tag is not accepted as an varaible wich could be called Beverwijk. So is everything would be perfect {PLAATS}.js would show up as Beverwijk.js.
Does anyone know how this problem can be solved? Here's a sample of my output:
<script language="Javascript" type="text/javascript" src="{PLAATS}.js"></script>
should be:
<script language="Javascript" type="text/javascript" src="Beverwijk.js"></script>
Thanks Guys and Girls!
By the way... If there's something that rocks... than its PHPWCMS!

