🌍
English
Pages: 1
Hello/Hi/Greetings,
When I click the mapicon, the default map is https://www.arkivfoto.net/osmmap.php?/c … es&v=3
I want it to be https://www.arkivfoto.net/osmmap.php?/c … es&v=4
Piwigo URL: https://www.arkivfoto.net
Offline
Smarty is looking for the template in the wrong folder:
Fatal error: Uncaught --> Smarty: Unable to load template 'file:/hd1/var/www/virtual/fotodb.net/arkiv/plugins/piwigo-openstreetmap/include/../template/osm-map4.tpl'
The templates are in "...plugins/piwigo-openstreetmap/template/"
Check if osm-map4.tpl is there.
The plugin adminpage does not offer version 4 in the dropdown-field. Did you make any changes to the code?
Edit: to show all map-versions in the adminpage, just edit "plugins/piwigo-openstreetmap/admin/admin-config"
// Available layout value $available_layout = array( '1' => 'osm-map.tpl', '2' => 'osm-map2.tpl', '3' => 'osm-map3.tpl', '4' => 'osm-map4.tpl', );
Last edited by gueba (2022-03-25 12:36:10)
Offline
Edit the admin-config did it. Thanks for the support:-) :-)
Offline
Pages: 1