How to change the List of Services

On the home page is displaying the service list in a few places fixed in the code. Example: Homes in New York, Homes in Ha Noi, etc However, you can change those locations. This tutorial will be helpful for customization.

Please back up your customizations because updating to new version will lose it

@php
$list_services = \App\Controllers\Services\HomeController::get_inst()->listOfHomes([
'number' => 4,
'location' => [
'lat' => '21.027763',
'lng' => '105.834160',
'radius' => 50
]
]);
@endphp

Change the latitude and longtitude. Visit https://www.latlong.net/ to get these 2 values

‚Äč