×

Notice

The forum is in read only mode.
Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC: How to turn off the photo function

How to turn off the photo function 9 years 9 months ago #30081

  • theo
  • theo's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 2
  • Thank you received: 0
How to turn off the photo function ?

How to turn off the photo function 9 years 9 months ago #30083

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Away
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
If you don't want photo, just don't upload one.

How to turn off the photo function 9 years 9 months ago #30089

  • theo
  • theo's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 2
  • Thank you received: 0
No i mean in the search optie on the right of the maps.

You can make Wheter, traffic ..... and photo's now i like to turn off that one the Photo function in the maps

How to turn off the photo function 9 years 9 months ago #30116

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Away
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
Ah, weather and clouds together with photo will disappear from there in the next couple of months as google is cuting support for them.
You can create a template override right now and remove the photo. You need to override:
components\com_hotspots\views\hotspots\tmpl\default_settings.php

just remove
	<label class="checkbox">
		<input type="checkbox" name="panoramio" value="1" <?php echo HotspotsHelperSettings::get('panoramio_layer', 0) ? 'checked' : '' ?> />
		<?php echo JText::_('COM_HOTSPOTS_PHOTOS'); ?>
	</label>

Cheers,
Daniel
  • Page:
  • 1
Time to create page: 0.106 seconds