Welcome, Guest
Username: Password: Remember me

TOPIC: How can I disable the Location Feature

How can I disable the Location Feature 4 years 7 months 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 4 years 7 months ago #1018

  • Super User
  • Super User's Avatar
  • Offline
  • Administrator
  • Posts: 2941
  • Thank you received: 336
  • Karma: 45
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.200 seconds

Contact us

  No.2/A, Venkateshwara Nagar,
1st Main Road, 100 Feet Road, SBM Towers, Velachery,Chennai - 600 042,India.
 skype.jomclassifieds
 
 
Copyright © 2013-2018 Jomclassifieds.com. All rights reserved. The Joomla! name, and logo are used under a limited license granted in the United States and other countries.

We accept cookies to provide you the best viewing experience. By using our services, you agree to our use of cookies