How to hide mortgage calculator?

Questions and answers about change of functions, design, hosting etc.

Moderators: Koduc, Xpycm

Forum rules
Pay attention! Forum is not a means for guaranteed support of clients and users. An answer as well as a quick answer is not supposed on the forum. We post messages as soon as possible.

The message limit on the forum is 3 messages per day.
If you want to say "thank you" then use the function "Give good reputation point", which is a green icon "plus" under the nickname of the person, who answered the message.

How to hide mortgage calculator?

Postby Foton » 16 Nov 2017, 11:34

In a file themes/atlas/views/modules/apartments/views/_tab_general.php

Delete or comment the code:
Code: Select all
$this->widget('application.modules.loanCalculator.components.LoanCalculatorWidget', array(
    'amount' => $data->getPriceFrom()
));



If you want to leave it for objects only for sale you can change the code into
Code: Select all
if($data->type == Apartment::TYPE_SALE){
    $this->widget('application.modules.loanCalculator.components.LoanCalculatorWidget', array(
        'amount' => $data->getPriceFrom()
    ));
}
Foton
Web Developer
Web Developer
 
Posts: 117
Joined: 26 Jan 2012, 14:58
Reputation point: 1

Return to Questions and help for changes

Who is online

Users browsing this forum: No registered users and 7 guests