OrdaSoft forum
Welcome, Guest
Please Login or Register.    Lost Password?
How to add Price Type as a suffix to Price in Main (0 viewing) 

Joomla Real Estate

Go to bottom Favoured: 0

How to add Price Type as a suffix to Price in Main

davidphuket (User)
Fresh Boarder
Posts: 6
graphgraph
User Offline Click here to see the profile of this user
How to add Price Type as a suffix to Price in Main 10 Years, 11 Months ago
Karma: 0  
How to add Price Type as a suffix to Price (without Price Type Label) in Main Tab of Properties Show such as

Price: 2,500.00 THB per month
Logged Logged
Last Edit: 2014/01/08 03:37 By davidphuket. Reason: add more photo
The administrator has disabled public write access.
admin (Admin)
Admin
Posts: 8367
graph
User Offline Click here to see the profile of this user
Re:How to add Price Type as a suffix to Price in Main 10 Years, 11 Months ago
Karma: 102  
Hello,

I am sorry, you use clear component or some our template ?

You need rebuild property view layout.
And depend what version component / template you use- you may do that in different places

In clear component last version - you need rebuild file:
{site}/components/com_realestatemanager/views/view_house/tmpl/default.php

Please backup that file first

Thanks,
OrdaSoft team
Logged Logged
The administrator has disabled public write access.
nickc (User)
Fresh Boarder
Posts: 6
graphgraph
User Offline Click here to see the profile of this user
Re:How to add Price Type as a suffix to Price in Main 10 Years, 5 Months ago
Karma: 0  
I added this in default.php:
Code:

  <?php
}
$price_type[0] = _REALESTATE_MANAGER_OPTION_SELECT;
$price_type1 = explode(',', _REALESTATE_MANAGER_OPTION_PRICE_TYPE);
$i = 1;
foreach($price_type1 as $price_type2) {
    $price_type[$i] = $price_type2;
    $i++;
}
if ($house->price_type != 0) {
?>
                <div class="row_text">
                    <span class="col_01"><?php echo _REALESTATE_MANAGER_LABEL_PRICE_TYPE; ?>:</span>
                    <span class="col_02"><?php echo $price_type[$house->price_type]; ?></span>
                </div>

                    <?php
} ?>

Logged Logged
The administrator has disabled public write access.
davidphuket (User)
Fresh Boarder
Posts: 6
graphgraph
User Offline Click here to see the profile of this user
Re:How to add Price Type as a suffix to Price in Main 10 Years, 4 Months ago
Karma: 0  
Thank you for your support.
But can you tell me where the default.php location is?
Logged Logged
The administrator has disabled public write access.
Taras (User)
Platinum Boarder
Posts: 2857
graphgraph
User Offline Click here to see the profile of this user
Re:How to add Price Type as a suffix to Price in Main 10 Years, 4 Months ago
Karma: 58  
Hello,

You need template folder and go to components/com_realestatemanager/views/view_house/tmpl/default.php.

Thanks,
OrdaSoft team.
Logged Logged
The administrator has disabled public write access.
davidphuket (User)
Fresh Boarder
Posts: 6
graphgraph
User Offline Click here to see the profile of this user
Re:How to add Price Type as a suffix to Price in Main 10 Years, 4 Months ago
Karma: 0  
I've try to do as your advise but it doesn't work.
So I've attached my default.php with this reply, could you do it for me please.
Logged Logged
The administrator has disabled public write access.
Go to top
»