Advertisement:

Author Topic: Changing to Drop Down Region / City Facing Error  (Read 2603 times)

rizwan65

  • Newbie
  • *
  • Posts: 49
Changing to Drop Down Region / City Facing Error
« on: April 16, 2014, 06:40:37 am »
Hi
I have installed OSClass 3.3.2 with Real Estate Theme and trying to change Auto Complete to Drop Down Region/City
according to the tutorial
http://doc.osclass.org/Changing_between_drop-down_and_autocomplete_for_locations

I am facing error accessing item-post.php as under:

Fatal error: Call to undefined function osc_user_country_code() in /home/******/public_html/oc-content/themes/realestate/item-post.php on line 168

Help Plz

Regards
Rizwan

design

  • Hero Member
  • *****
  • Posts: 2619
  • Osclass 3.5 MAC/PC w/ Modern Browsers
Re: Changing to Drop Down Region / City Facing Error
« Reply #1 on: April 17, 2014, 02:51:53 am »
did you put that function in your functions.php file?

rizwan65

  • Newbie
  • *
  • Posts: 49
Re: Changing to Drop Down Region / City Facing Error
« Reply #2 on: April 28, 2014, 07:46:31 am »
How to put function in function.php

bazinga

  • Full Member
  • ***
  • Posts: 125
Re: Changing to Drop Down Region / City Facing Error
« Reply #3 on: April 28, 2014, 09:27:57 am »
@rizwan65

if you find how to fix,. that problem,. let me know,.

I have the same, problem,. since about 2 months ago,. and they give some help but still doesnt work for me,..

check out this:
http://forums.osclass.org/3-3-x/doesnt-work-for-me-changing-between-drop-down-and-autocomplete-for-locations/msg88823/#msg88823

probably,. it HELPS for you....

 :o

design

  • Hero Member
  • *****
  • Posts: 2619
  • Osclass 3.5 MAC/PC w/ Modern Browsers
Re: Changing to Drop Down Region / City Facing Error
« Reply #4 on: April 28, 2014, 05:48:44 pm »
find this function that is in the tutorial and put it in the functions.php file

osc_user_country_code()

bazinga

  • Full Member
  • ***
  • Posts: 125
Re: Changing to Drop Down Region / City Facing Error
« Reply #5 on: May 29, 2014, 05:10:50 am »
@design

pleeeease,. would you like to make an ABC, step bye step,.. tutorial,.
to make this happend.. "CHANGING TO DROP DOWN REGION AND CITY" using Osclass Theme MODERN,..

 :-[ :-[ :-[

design

  • Hero Member
  • *****
  • Posts: 2619
  • Osclass 3.5 MAC/PC w/ Modern Browsers