Category Archives: Customizations

Customizations related to Real estate agency portal

Grid or Columns number on results

Each template is designed for different columns num in row which best suits design so we suggest to purchase design with wanted number of columns.

You can also customize if you are familiar with basic coding, in our script hints:

You should find all template files with result listings, some hints: http://iwinter.com.hr/support/?p=5891

After that, example for widget from classified template:

screenshot_2

Same thing in results.php template file (used for ajax calls)

screenshot_3

And in result_item, changes is also required:

screenshot_4

Example for 4 columns:

screenshot_3

 

 

PDF and characters issue

PHP PDF library only supports croatian and english characters. Customizations for other langauges can be added in application\libraries\Pdf.php

Hints:

screenshot_3

If you found solution for your language will be nice if you can share it with us so we can integrate it into future updates. ( NOTE: You will receive free gift from us ;-) )

Thanks

 

Open search results on another page?

Something like this is not supported and additional coding is required.

If you are not familiar with coding, please follow this guide: http://iwinter.com.hr/support/?page_id=1870

Customization hints for your developer:

Script version >= 1.5.9:

In your cms_config.php add:

$config['search_listing_page'] = 2;

where number 2 represents page ID where you wish to show results. Of course this page should have template which showing results or it not be visible.

For older script versions:

templates\{your-template}\widgets\head.php, customize javascript function manualSearch, it is triggered when user click “search” button and contains all parameters.

You should develop redirect to another page, with search json for api, details: http://real-estate.iwinter.com.hr/documentation/#!/public_api_rss

Example:

example-redirect

 

Visual search form builder tricks

If you using template which support visual search form builder like:

Property Listing and Hotel Booking Portal #02
Real Estate Retro Template #03
Horse Market Sell & Rent Portal

You can customize forms by guide:

http://geniuscript.com/wbooking/user_guide_theme/#!/custom_search_form

But if you wish for example split row into 3 columns or add custom css class then you can add it also:

split_example

then depend on bootstrap version or custom classes you can add for example “bootstrap3″:

Screenshot_1

More detail about bootstrap grid system:

http://www.w3schools.com/bootstrap/bootstrap_grid_examples.asp

Search by specific price related to purpose

By default search by price works based on defined purpose “Sale “or “Rent”

By default Sale price is used, field ID #36

If user select purpose which contains word “Rent” then field ID #37 (Rent is used)

Only Rent price (excl.) is used for search, other is only used for information, to show on property preview page.

If you want to add new prices for search or customize this functionality, probably you should look into application\controllers\frontend.php, ajax method, code inside comment block:

/* Define purpose */
/* End define purpose */

Currently there is code to automatically change from sale price to rent if user select purpose which contain word “Rent”. You should do same thing for your new price/purpose.

Also don’t forget to enable filtering for your new price field in administration, guide: http://iwinter.com.hr/support/?p=5804

If you are not familiar with PHP I can provide customization for you (cost additional). Details: http://iwinter.com.hr/support/?page_id=1870

Related posts:

http://iwinter.com.hr/support/?p=322

http://iwinter.com.hr/support/?p=5804

Add additional sort / order on homepage

Some PHP + HTML knowledge is required for this.

For version >= 1.5.5.:

This feature is only available for this type of fields: ‘INPUTBOX’, ‘DECIMAL’, ‘INTEGER’

For example that you want to enable filtering by: “Energy efficient”

Go to Admin->Real estates->Fields->Edit “Energy efficient” and click on “Enable numerical filtering”:

numeric_filtering

Now you need to add additional field in dropdown on homepage.

For realocation template for example open templates\{your-template}\widgets\center_recentproperties.php (or another if you using) add additional option in:

<select class="form-control pull-right selectpicker-small" placeholder="<?php _l('Sort'); ?>">
    <option value="id ASC" <?php _che($order_dateASC_selected); ?>><?php _l('DateASC'); ?></option>
    <option value="id DESC" <?php _che($order_dateDESC_selected); ?>><?php _l('DateDESC'); ?></option>
    <option value="price ASC" <?php _che($order_priceASC_selected); ?>><?php _l('PriceASC'); ?></option>
    <option value="price DESC" <?php _che($order_priceDESC_selected); ?>><?php _l('PriceDESC'); ?></option>
</select>

For example:

<option value="field_59_int ASC" <?php _che($order_field_59_int_ASC_selected); ?>><?php _l('Energy efficient'); ?></option>

Also you should add it in: templates\{your-template}\results.php

if value is not numeric then you should:

into property_lang database table add:

varchar(200)utf8_unicode_ci

Add this:

<option value=”field_7 ASC”>Your option name</option>

7 in that case represents field ID

One example:

ordering_default

ordering_example_selection