ProcessWire - adding scripts and styles
Aus Wikizone
Beispiel im Modul
$this->config->styles->add('http://cdn.leafletjs.com/leaflet-0.7.3/leaflet.css');
$this->config->styles->add($assetPath . "assets/leaflet-markercluster/MarkerCluster.css");
$this->config->styles->add($assetPath . "assets/leaflet-markercluster/MarkerCluster.Default.css");
$this->config->scripts->add('http://cdn.leafletjs.com/leaflet-0.7.3/leaflet.js');
$this->config->scripts->add($assetPath . 'assets/leaflet-markercluster/leaflet.markercluster.js');
$this->config->scripts->add($assetPath . 'assets/leaflet-providers/leaflet-providers.js');
$this->config->scripts->add($assetPath . 'MarkupLeafletMap.js');