OrdaSoft forum
Welcome, Guest
Please Login or Register.    Lost Password?
Addressing is backwards in front end (0 viewing) 
RealEstateManager component support
Go to bottom Favoured: 0
TOPIC: Addressing is backwards in front end
#33756
leptserkhan (User)
Fresh Boarder
Posts: 18
graphgraph
User Offline Click here to see the profile of this user
Addressing is backwards in front end 3 Months, 2 Weeks ago Karma: 0  
When someone fills in the values for address - at least in the U.S. - the program is showing the values backwards for American readers.

See attached snapshot.

How to re-order the positioning of the values in the code?

Thank you.
 
Logged Logged  
  The administrator has disabled public write access.
#33760
leptserkhan (User)
Fresh Boarder
Posts: 18
graphgraph
User Offline Click here to see the profile of this user
Re:Addressing is backwards in front end - SOLVED 3 Months, 2 Weeks ago Karma: 0  
The following code works for U.S. based systems.

In /components/com_realestatemanager/views/view_house/tmpl/default.php

Search for fa-map-marker to find the area then substitute the following code for existing code.

<?php
} ?>
</div>
<div style="clear:both"></div>
<div class="rem_house_location">
<i class="fa fa-map-marker"></i>


<?php if (isset($house->hcountry) && trim($house->hcountry)) { ?>
<span class="col_text_2"><?php echo $house->hcountry; ?></span>,

<?php } if (isset($house->hlocation) && trim($house->hlocation)) { ?>
<span class="col_02"><?php echo $house->hlocation; ?></span>,


<?php } if (isset($house->hcity) && trim($house->hcity)) { ?>
<span class="col_text_2"><?php echo $house->hcity; ?></span>,

<?php } if (isset($house->hregion) && trim($house->hregion)) { ?>
<span class="col_text_2"><?php echo $house->hregion; ?></span>,

<?php } if (isset($house->hzipcode) && trim($house->hzipcode)) { ?>
<span class="col_text_2"><?php echo $house->hzipcode; ?></span>.



<?php } ?>
 
Logged Logged  
 
Last Edit: 2017/08/26 03:28 By leptserkhan. Reason: Solved trying to close ticket
  The administrator has disabled public write access.
Go to top
What are you looking for?
Anti-spam question: How many eyes has a typical person?