RSS
Home Forum v3
Welcome, Guest
Please Login or Register.    Lost Password?

Localities
(1 viewing) (1) Guest
Go to bottomPage: 1
TOPIC: Localities
#4068
Localities 1 Year, 9 Months ago Karma: 0
Hello,

i have set "Users can add Localities" to yes.
"Use Locality" to yes.

But when i try to some property, it anyway gives me only choose from added, i can't add new one in the front end.
What could be the reason?
If there isnt correct option, i have to choose the bad one :/
mangiz
Fresh Boarder
Posts: 18
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
Best regards,
Mangirdas Vicius
FINDRE - real estate network
 
#4106
Re: Localities 1 Year, 9 Months ago Karma: 14
You have the correct options.

Please check you code in
/components/com_propeties/views/panel/default_addproperty.php

When adding the house first you need to enter a state, then you can enter a locality.

Danny
Eagle-corp.nl
EagleCorp
Advanced com_properties user.
Admin
Posts: 308
graphgraph
User Offline Click here to see the profile of this user
Gender: Male dannyhab Eagle-Corp Location: The Netherlands Birthday: 07/23
The administrator has disabled public write access.
Best regards,

Danny
Eagle-Corp.nl
I will try to answer all your questions online for free.

If you require dedicated support you can contact me via an email/ Skype.

XML Export creation
XML Import
Dutch: Realworks XML import koppeling aanwezig voor com_properties.
 
#4109
Re:Localities 1 Year, 9 Months ago Karma: 0
Hello,

thank you for reply. Maybe you could post your file? Because i don't understand codes
mangiz
Fresh Boarder
Posts: 18
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
Best regards,
Mangirdas Vicius
FINDRE - real estate network
 
#4128
Re:Localities 1 Year, 9 Months ago Karma: 14
My file is highly modified, It now uses an Ajax dropdown after the postcode is typed. I can't share you this as it's custom made for a client (won't be nice to charge him and give it for free to others).
I can however assistyou in anymeans possible. Please copy/paste your code here. Please also upload a screendump of the following:
Select a country
Select a state
What happens with locality?

is Java enabled on your system?
can you also upload a screendump of your configuration page?

Danny
EagleCorp
Advanced com_properties user.
Admin
Posts: 308
graphgraph
User Offline Click here to see the profile of this user
Gender: Male dannyhab Eagle-Corp Location: The Netherlands Birthday: 07/23
The administrator has disabled public write access.
Best regards,

Danny
Eagle-Corp.nl
I will try to answer all your questions online for free.

If you require dedicated support you can contact me via an email/ Skype.

XML Export creation
XML Import
Dutch: Realworks XML import koppeling aanwezig voor com_properties.
 
#4909
Re:Localities 1 Year, 8 Months ago Karma: 3
Hi, I have this code in my default_addproperty file.

Code:

if($UseLocality==0)
{
?>
<input type="hidden" name="lid" id="lid" value="<?php echo $UseLocalityDefault; ?>" />
<?php
}
else

?>                
<tr>
<td class="key"><?php echo JText::_( 'Locality' ); ?>:</td>
<td>
<div id="AjaxLocality" style="float:left">     
<?php 
$row->id=0;
$row->cyid = $this->datos->cyid;
$row->sid = $this->datos->sid;
$row->lid = $this->datos->lid;
echo SelectHelper::SelectAjaxLocalities( $row,'localities',$UseLocality ); 
?>             
</div>
<div id="AjaxAddLocality" style="float:left">
  <!--
<a href="<?php echo JURI::base();?>index.php?option=com_properties&controller=ajax&format=raw&task=AddLocality&sid=<?php echo $row->sid;?>" onclick="return hs.htmlExpand(this, { objectType: 'ajax', preserveContent: true} )">
<?php echo JText::_( 'Add Locality');?>
</a>
-->
</div>
<div id="progressL"></div>                
<div id="progressAL"></div>                  
   
</td>
</tr>
<?php  
}?> 


Then i remove the comments <!-- --> and Add Locality appear on the front end. but problem is that it display Add Locality by default like in first picture.

On changing the City(State) i can see two Add Locality options why?? Like in picture below.

One more thing, i remember i had removed a default locality from my Locality list. does that creating problem. What should i do??
khaleel
Expert Boarder
Posts: 105
graphgraph
User Offline Click here to see the profile of this user
Last Edit: 2010/08/25 01:59 By khaleel.
The administrator has disabled public write access.
 
Go to topPage: 1