All posts by sanljiljan

Solution to hide amenities in Frontend Property page:

  1. Create new option with type category and name ‘hidden amenities’
  2. General amenities that you want to hide just replace/move to this category ‘hidden amenities’. And it will not be visible on Frontend property page.

*Please don’t hide all amenities, min. one must stay there ;-) If you want to hide all then you need to change template file (just remove amenities section from template file).

Begginer step-by-step instructions if you have cpanel on hosting, to create database:

  1. Open Cpanel -> “MySQL databases”
  2. Create New Database, enter name and click “Create”
  3. Add New User, enter username/password and click “Create user”
  4. Add User To Database, select created database and user and click “Add”
  5. Check for “ALL PRIVILEGES” and click “Make Changes”
  6. Open Cpanel -> “phpMyAdmin” -> Click on your database
  7. Click on operations, select Collation “utf8_unicode_ci” and click “go”
  8. Now enter this database data to configurator, something like “cpanelusername_databasename”, “cpanelusername_databaseusername”, “password” entered

How to lock google maps in one specific fixed location ?

By default map center is calculated based on center of all properties available on map.

You can also change zoom, this way: http://iwinter.com.hr/support/?p=166

If you want fixed location based on address:

Admin->Settings->Company contact->Check “Use as map center”->Save

If you want fixed location with additional configuration, you can do following:

If you want lock map to specify location, in ‘application/config/cms_config.php’ add line

$config['custom_map_center'] = '27.175015, 78.042155';

Where numbers represents GPS coordinates.

From new script version config can be also configured in template config file:

templates\{your-template}\config\template_config.php

Godaddy and simmilar hosting problems like “No input file specified.” or unexplained redirections problem.

Improved godaddy configuration instructions:

Go to your godaddy account file manager –> WebRoot directory –> Create php5.ini if it does not exist and place following line: cgi.fix_pathinfo = 1 and remove other lines if exists

Now you need to restart your Web Process: Log in to your Account Manager. Click Web Hosting. Next to the hosting account you want to use, click Manage. In the Stats & Monitors section, click System Processes.

In the list on the left, click the process you want to view or click All Processes to view all processes at once. To end a process, click the corresponding end button on the toolbar. Usual just click “End all”.

If you still have issue then configure specific settings in “application/config/config.php”, for me this works:

$config['base_url']    = 'http://example.com/';
$config['uri_protocol']    = 'PATH_INFO';

Or you can try old techniques (not suggested, above solution is much better):

  1. In file “application/config/config.php”
    On line 42, change from:

    $config['index_page'] = 'index.php';

    to

    $config['index_page'] = 'index.php?';
  2. If problem still exists, then On line 60, change from:
    $config['uri_protocol'] = 'AUTO';

    to

    $config['uri_protocol'] = 'QUERY_STRING';

CodeIgniter guide: https://github.com/EllisLab/CodeIgniter/wiki/Godaddy-Installation-Tips

Regarding hosting providers, my scripts are tested on:

a2_hosting_logo

And my suggestion if you decide to purchase by other hosting provider, please save your money/time and don’t buy from godaddy, goddady is good for domains but not for hosting because of many configuration limitations!

How to change currency?

In this script you can have different currency for different languages, can be prefixed or suffixed how you want…

Listing currency instructions if you using real estate version:
Login to Admin->Real estates->Fields->Price->Edit->Change Suffix/Prefix for wanted language

Listing currency instructions if you using classified version:
Login to Admin->Listings->Fields->Price->Edit->Change Suffix/Prefix for wanted language

So based on different scripts, “Listings” may be Locations, Vehicles, Cars etc, but path is same

currency-prefixed-sufixed

NOTE: Here you can also enter some special characters, like example for INDIAN RUPEE SIGN, ₹

You can check here to find your code:
http://www.w3schools.com/charsets/ref_utf_currency.asp

NOTE: If you using classified script then you should click on Listings instead of Real estate, If city guide then click on Locations instead of Real estate, example:

Login to Admin->Listings->Fields->Price->Edit->Change Suffix/Prefix for wanted language

PayPal currency instructions:
Login to Admin->Settings->System->Default PayPal currency

currencies

PayPal doesn’t support other currencies, but if you wish you can add it in: application\models\payments_m.php

More about PayPal supported currencies:

https://developer.paypal.com/docs/classic/api/currency_codes/

Rates prices currencies:

Also need to be supported by paypal.

You can change it in admin->settings->languages->Edit->Change currency->save.

After that you should also define rates again with this new currency.

 

 

 

How can i set up custom search form? Different for any types of estate….

 

Template file for this page is: templates\bootstrap2-responsive\page_customsearch.php

You can create more files like this…
page_customsearch1.php
page_customsearch2.php
page_customsearch3.php

And in each template file you can define different search fields…

Search fields are defined in part of code:
<div class="search-form">...</div>

So you can copy it and modify, numbers represents options/fields ID#

 

 

Clustering problem on map

You can find clustering configuration in template file.

in case of template bootstrap2-responsive can be found in:

templates\bootstrap2-responsive\components\head.php, line around 110:

In latest script version file: templates\{your-template}\widgets\head.php

// Cluster config start //
clusterConfig = {
radius: 60,
// This style will be used for clusters with more than 2 markers
2: {
content: "<div class='cluster cluster-1'>CLUSTER_COUNT</div>",
width: 53,
height: 52
},
// This style will be used for clusters with more than 5 markers
5: {
content: "<div class='cluster cluster-1'>CLUSTER_COUNT</div>",
width: 53,
height: 52
},
// This style will be used for clusters with more than 20 markers
20: {
content: "<div class='cluster cluster-2'>CLUSTER_COUNT</div>",
width: 56,
height: 55
},
// This style will be used for clusters with more than 50 markers
50: {
content: "<div class='cluster cluster-3'>CLUSTER_COUNT</div>",
width: 66,
height: 65
},

Or in case of realocation:

templates\realocation\assets\js\map_custom.js

 

How to change footer part details, logos, social buttons and links?

For logos:
Just replace wanted following images:

  • admin-assets/img/custom/logo-system-mini.png
  • templates/bootstrap2-responsive/assets/img/logo.png
  • templates/bootstrap2-responsive/assets/img/partners/winter.png

More details about logos: http://iwinter.com.hr/support/?p=168

Contact details:
Admin->Settings->Change Address Footer

Social buttons:
Admin->Settings->Design template->Change Facebook or Social code

For social buttons, you can generate code on this service: http://www.addthis.com and paste code there to textarea…

Links?
Other customizations can be changed in template file, for example:
templates\bootstrap2-responsive\components\footer.php

Left logo in footer?
templates\bootstrap2-responsive\components\footer.php, line around 6:

<img src=”assets/img/logo.png” alt=”Logo footer” />

Image file: templates/bootstrap2-responsive/assets/img/logo.png

Right logo in footer?
templates\bootstrap2-responsive\components\footer.php, line around 37:

<a class="developed_by" href="http://iwinter.com.hr" target="_blank"><img src="assets/img/partners/winter.png" alt="winter logo" /></a>

Image file: templates/bootstrap2-responsive/assets/img/partners/winter.png

In script version >= 1.5.6, different files:

templates\bootstrap2-responsive\widgets\footer_share.php
templates\bootstrap2-responsive\widgets\contactus.php
templates\bootstrap2-responsive\widgets\footer_logo.php

 

 

How to remove option / field like Energy efficiency?

 

Sometimes fields are locked because removing them require template customizations, specially red hard locked.

Here is instructions for black / soft locked fields:
locked_field

locked_field-1

Because this field is locked (used in template directly), you need also remove folder: templates\bootstrap2-responsive\assets\js\dpejes

or modify property.php template file to completely remove this option.