Welcome, Guest
Username: Password: Remember me

TOPIC: How can I disable the Location Feature

How can I disable the Location Feature 3 years 1 month ago #1014

  • Nikos Kavvadas
  • Nikos Kavvadas's Avatar
  • Offline
  • Fresh Boarder
  • Posts: 18
  • Thank you received: 3
  • Karma: 0
Hello
I would like to disable the Location Feature that apears when someone registers his advert, because my Classifieds site targets at a certain area ,so there is no use of this feature.
Please show me the way to do it ,because i can't find it...
Thank you very much again for your help and time !!!
Greetings From Lefkada Greece !!
The administrator has disabled public write access.

How can I disable the Location Feature 3 years 1 month ago #1018

  • Super User
  • Super User's Avatar
  • Offline
  • Administrator
  • Posts: 2760
  • Thank you received: 292
  • Karma: 40
Remove Location:

Joomla 2.5

Root-->components-->com_jomclassifieds-->views-->user-->tmpl-->add.php
Remove the below code :
<div class="block">
      	<label class="key"><?php echo JText::_('LOCATION'); ?></label>
      	<?php echo JomclHTML::ListCountries(-1, 0, $config->showmap); ?>
       	 <span id="jcsregions_0"></span>
      	</div>

Root-->components-->com_jomclassifieds-->views-->user-->tmpl-->edit.php
Remove the below code :
<div class="block">
       	<label class="key"><?php echo JText::_('LOCATION'); ?></label>
       	<?php echo JomclHTML::ListCountries($item->country, 0, $config->showmap); ?>
        	<span id="jcsregions_0"><?php echo JomclHTML::ListRegions($item->country, $item->region, $config->showmap); ?></span>
      	</div>

Joomla 3.x

Root-->components-->com_jomclassifieds-->views-->user-->tmpl-->add.php
Remove the below code :
<div class="control-group">
      	<label class="control-label"><?php echo JText::_('LOCATION'); ?><span class="mandatory">*</span></label>
        	<div class="controls">
      	<?php echo JomclHTML::ListCountries($country, 0, $config->showmap); ?>
        	<span id="jcsregions_0">
        	<?php echo JomclHTML::ListRegions($country, $region, $config->showmap); ?></span>
     	 </div>
      	</div>

Root-->components-->com_jomclassifieds-->views-->user-->tmpl-->edit.php
Remove the below code :
<div class="control-group">
        	<label class="control-label"><?php echo JText::_('LOCATION'); ?></label>
        	<div class="controls"> <?php echo JomclHTML::ListCountries($item->country, 0, $config->showmap); ?> <span id="jcsregions_0"><?php echo JomclHTML::ListRegions($item->country, $item->region, $config->showmap); 	?></span> </div>
     	 </div>
The administrator has disabled public write access.
The following user(s) said Thank You: Nikos Kavvadas
Time to create page: 0.212 seconds