Advertisement:

Author Topic: Refurbished Real Estate Theme  (Read 20514 times)

AdNet

  • Jr. Member
  • **
  • Posts: 62
Refurbished Real Estate Theme
« on: October 12, 2013, 06:10:35 pm »
NOTE: Whenever I make changes to either the theme or plugin, I will be updating this post with updated files. Therefore, attachments to this post represent the latest theme and plugin.

If you need any customization for this theme or plugin, please inbox me. I will do it for you for a small fee (more like a beer) 8). Also, if you need a completely new real estate theme with certain custom features, design and layout, inbox me ASAP.

I have been having issues with the current real estate theme and decided to refurbish it to my liking. This is what the current theme can do:
  • Register and Login now working
  • Add item and edit item now working
  • Edit profile now working
  • Item preview now using lightbox
  • Added custom search fields on homepage (working)
  • Integrated the real estate attributes plugin and changed the slider to text input boxes
  • Send message to publisher and share links now working
  • Changed some css styling that was breaking
  • Among others  :)

For this theme to work properly, you will need the modified real estate attributes plugin which will be attached here.

I welcome comments and suggestions and if you feel that I have helped you in some way, you can buy me a coffee  ;). Remember this is absolutely free and you can own it and modify it as you please.

Here are some of the screenshots from my website.

Homepage

Publish Item

My Profile

Category View

Item page with lightbox

Item page without image
« Last Edit: November 04, 2013, 02:45:28 pm by AdNet »

AdNet

  • Jr. Member
  • **
  • Posts: 62
Re: Refurbished Real Estate Theme
« Reply #1 on: October 12, 2013, 06:23:05 pm »
Do not forget to change your logo. Also, you can enable the selection of country during item post and item edit. I had disabled it in my theme because my site targets a single country. To enable the choosing of countries, you will need to edit item-post.php and item-edit.php.
In item-post, find
Code: [Select]
<input type="hidden" name="countryId" value="KE" />
Replace it with
Code: [Select]
<div class="row">
          <label for="countryId"><?php _e('Country''modern'); ?></label>
          <?php ItemForm::country_select(osc_get_countries(), osc_user()) ; ?>
           </div>

In item-edit, find
Code: [Select]
<input type="hidden" name="countryId" value="KE" />
Replace it with
Code: [Select]
<div class="row">
          <label for="countryId"><?php _e('Country''modern'); ?></label>
          <?php ItemForm::country_select(osc_get_countries(), osc_user()) ; ?>
           </div>

pablo22

  • Newbie
  • *
  • Posts: 27
Re: Refurbished Real Estate Theme
« Reply #2 on: October 12, 2013, 10:49:03 pm »
There seems to be a problem with the latest listings. Only two listings are display even when they are more than two.
Have you encountered that problem?

AdNet

  • Jr. Member
  • **
  • Posts: 62
Re: Refurbished Real Estate Theme
« Reply #3 on: October 12, 2013, 11:00:33 pm »
Mine is actually doing okay. It is displaying all my listings.

pablo22

  • Newbie
  • *
  • Posts: 27
Re: Refurbished Real Estate Theme
« Reply #4 on: October 12, 2013, 11:14:00 pm »
Do you have more than two listings? I only see one latest listing on your website..
Try to create 3 more listings to see if they will be displayed

AdNet

  • Jr. Member
  • **
  • Posts: 62
Re: Refurbished Real Estate Theme
« Reply #5 on: October 12, 2013, 11:15:52 pm »
They are displaying alright on my local server. Let me try adding some more on my live server and see

pablo22

  • Newbie
  • *
  • Posts: 27
Re: Refurbished Real Estate Theme
« Reply #6 on: October 12, 2013, 11:31:10 pm »
I have the same problem on localhost and live/

AdNet

  • Jr. Member
  • **
  • Posts: 62
Re: Refurbished Real Estate Theme
« Reply #7 on: October 12, 2013, 11:36:53 pm »
I have just realized it  :). Thanx pablo22 for the observation. Let me fix it right away.

AdNet

  • Jr. Member
  • **
  • Posts: 62
Re: Refurbished Real Estate Theme
« Reply #8 on: October 13, 2013, 12:08:23 am »
Okay. Here is the solution.

In main.php, find

Code: [Select]
<div id="latest-ads">     
<?php if( osc_count_latest_items() == 0) { ?>

and replace it with

Code: [Select]
<div id="latest-ads">     
<?php osc_reset_latest_items(); ?>         
<?php if( osc_count_latest_items() == 0) { ?>

What was missing was the <?php osc_reset_latest_items(); ?>   just before the <?php if( osc_count_latest_items() == 0) { ?>

Please let me know if that solves the problem

pablo22

  • Newbie
  • *
  • Posts: 27
Re: Refurbished Real Estate Theme
« Reply #9 on: October 13, 2013, 12:42:14 am »
You rock!!!!! 8) 8) 8) 8)

pablo22

  • Newbie
  • *
  • Posts: 27
Re: Refurbished Real Estate Theme
« Reply #10 on: October 13, 2013, 01:46:54 am »
one more thing. How do I place the currency  sign in front of the amount instead of after it?

AdNet

  • Jr. Member
  • **
  • Posts: 62
Re: Refurbished Real Estate Theme
« Reply #11 on: October 13, 2013, 03:08:01 am »
To do that just go to your admin page, settings>>Languages>>select your language then click edit. Under currency format, simply change to {CURRENCY} {NUMBER}.

pablo22

  • Newbie
  • *
  • Posts: 27
Re: Refurbished Real Estate Theme
« Reply #12 on: October 13, 2013, 03:16:58 am »
Thank you

AdNet

  • Jr. Member
  • **
  • Posts: 62
Re: Refurbished Real Estate Theme
« Reply #13 on: October 13, 2013, 03:18:43 am »
Glad I could help.

pablo22

  • Newbie
  • *
  • Posts: 27
Re: Refurbished Real Estate Theme
« Reply #14 on: October 13, 2013, 05:35:22 am »
I haven't tried yet but does it indicate when a listing is marked as premium on the search results?