From 63ac1aaf101da3e91bceaa41cbf3711cc67cfd44 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Kr=C3=B6ll?= Date: Sun, 3 Jan 2016 19:23:56 +0100 Subject: [PATCH 1/2] correct root directory for assets --- mod_osmod.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mod_osmod.php b/mod_osmod.php index 94aa8a7..d62de77 100644 --- a/mod_osmod.php +++ b/mod_osmod.php @@ -13,8 +13,8 @@ // include skripts/styles to the header $document = JFactory::getDocument(); -$document->addStyleSheet('media/mod_osmod/leaflet/leaflet.css'); -$document->addScript('media/mod_osmod/leaflet/leaflet.js'); +$document->addStyleSheet(JURI::root(true) . '/media/mod_osmod/leaflet/leaflet.css'); +$document->addScript(JURI::root(true) . '/media/mod_osmod/leaflet/leaflet.js'); $document->addStyleDeclaration( ModOsmodHelper::style($params, $module->id) ); // create javascript From e8c0dd8858971f8a5d25c64de43f43f4b0801330 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Kr=C3=B6ll?= Date: Mon, 13 Jun 2016 17:56:03 +0200 Subject: [PATCH 2/2] Change version to v1.12. --- CHANGES | 3 +++ README.md | 3 ++- mod_osmod.xml | 4 ++-- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/CHANGES b/CHANGES index 7adf46f..48037ea 100644 --- a/CHANGES +++ b/CHANGES @@ -1,6 +1,9 @@ OSModul Changelog ----------------- +v2.12 + - Fix root dir for asserts + v2.11 - Use https for supporting tile servers diff --git a/README.md b/README.md index 29bccbf..ce82cde 100644 --- a/README.md +++ b/README.md @@ -19,6 +19,7 @@ OSModul is a simple module to display a map from [OpenStreetmap](https://openstr ## Demo usage [http://hof-ronig.de](http://hof-ronig.de) +[http://www.sailcom.ch](http://www.sailcom.ch/de/flotte/bootsstandorte) ## Help -For help and more information, take a look to the [Wiki](https://github.com/Schlumpf/osmodul/wiki). \ No newline at end of file +For help and more information, take a look to the [Wiki](https://github.com/Schlumpf/osmodul/wiki). diff --git a/mod_osmod.xml b/mod_osmod.xml index a462d52..166ffb1 100644 --- a/mod_osmod.xml +++ b/mod_osmod.xml @@ -4,12 +4,12 @@ OSModul Martin Kröll - 02.05.2016 + 13.06.2016 (c) 2012-2016 Martin Kröll https://www.gnu.org/licenses/gpl-3.0.html GNU/GPL technikschlumpf@web.de https://extensions.joomla.org/extensions/owner/schlumpf - 2.11 + 2.12 MOD_OSMOD_DESCRIPTION