OrdaSoft forum
Welcome, Guest
Please Login or Register.    Lost Password?
Addressing is backwards in front end (0 viewing) 

Joomla Real Estate

Go to bottom Favoured: 0

Addressing is backwards in front end

leptserkhan (Visitor)
Posts: 0
graphgraph
User Offline
Addressing is backwards in front end 6 Years, 7 Months 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.
leptserkhan (Visitor)
Posts: 0
graphgraph
User Offline
Re:Addressing is backwards in front end - SOLVED 6 Years, 7 Months 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 . Reason: Solved trying to close ticket
The administrator has disabled public write access.
Go to top
»