Advertisement:

Author Topic: Need to change the Lable name"Find a place, find a home,Luxury villas"  (Read 4935 times)

kuppusaj

  • Jr. Member
  • **
  • Posts: 53
  • Osclass is one of the wonderful Free Classified.
Dear All,
Can someone please help me to change the lable name like "Find a place, find a home,Luxury villas" from Real Estate theme and would like to change it to other names instead that.

frosticek

  • Hero Member
  • *****
  • Posts: 3948
Re: Need to change the Lable name"Find a place, find a home,Luxury villas"
« Reply #1 on: August 16, 2014, 02:09:34 am »
@kuppusaj
Modify this string in theme language file ;)

kuppusaj

  • Jr. Member
  • **
  • Posts: 53
  • Osclass is one of the wonderful Free Classified.
Re: Need to change the Lable name"Find a place, find a home,Luxury villas"
« Reply #2 on: August 23, 2014, 11:53:20 pm »
Wounder full help.. great...thank you so much... its working fine...
thanks a lot again :-) :-)

kuppusaj

  • Jr. Member
  • **
  • Posts: 53
  • Osclass is one of the wonderful Free Classified.
Re: Need to change the Lable name"Find a place, find a home,Luxury villas"
« Reply #3 on: August 24, 2014, 12:02:34 am »
Dear Friend,
One more help. I would like to change the default search text "Luxury Villas" from my theme?
i tried my best, but no luck... Can you please let me know where can we change that.


frosticek

  • Hero Member
  • *****
  • Posts: 3948
Re: Need to change the Lable name"Find a place, find a home,Luxury villas"
« Reply #4 on: August 25, 2014, 06:10:11 pm »
@kuppusaj
Isn't this in theme settings as search pattern?

kuppusaj

  • Jr. Member
  • **
  • Posts: 53
  • Osclass is one of the wonderful Free Classified.
Re: Need to change the Lable name"Find a place, find a home,Luxury villas"
« Reply #5 on: August 25, 2014, 07:09:12 pm »
Yes, this is not there in Theme setting.. in theme setting only i can see the Logo upload.. not like changing Default Search string.
Can you please help me to change the text? even i tried to find it out in Language and changed it accordingly, but no luck...
:-( :-[

frosticek

  • Hero Member
  • *****
  • Posts: 3948
Re: Need to change the Lable name"Find a place, find a home,Luxury villas"
« Reply #6 on: August 25, 2014, 10:50:24 pm »
@kuppusaj
This should be in each theme.

kuppusaj

  • Jr. Member
  • **
  • Posts: 53
  • Osclass is one of the wonderful Free Classified.
Re: Need to change the Lable name"Find a place, find a home,Luxury villas"
« Reply #7 on: August 25, 2014, 11:04:44 pm »
Yes, you are right... but that option is not available in Real estate theme.
I have attached screen shot which i took from my admin page. Please let me know whether we can change any where in code level or admin code level.

Really, am appreciating osclass forums.. i am getting good response not like others.

 

kuppusaj

  • Jr. Member
  • **
  • Posts: 53
  • Osclass is one of the wonderful Free Classified.
Re: Need to change the Lable name"Find a place, find a home,Luxury villas"
« Reply #8 on: August 25, 2014, 11:41:59 pm »
I am not able to change or find out the code to change the default Search key word 'Luxury Villas". even i have changed the same key word on Theme.po file too, but No luck. Please help on this. :( :(

#: /Users/feralou/git/public/osclass-themes/realestate/functions.php:23
msgid "Luxury Villas"
msgstr ""

kuppusaj

  • Jr. Member
  • **
  • Posts: 53
  • Osclass is one of the wonderful Free Classified.
Re: Need to change the Lable name"Find a place, find a home,Luxury villas"
« Reply #9 on: August 26, 2014, 12:46:12 am »
(This is tips also not working)..............

To change it we need to modify the file oc-content/themes/modern/inc.search.php:

- Around line 24 we will find:

var sQuery = '<?php _e("ie. PHP Programmer", 'modern') ; ?>' ;
- Around line 61 we will find:

<input type="text" name="sPattern"  id="query" value="<?php echo ( osc_search_pattern() != '' ) ? osc_search_pattern() : __("ie. PHP Programmer", 'modern') ; ?>" />
Just delete the ie. PHP Programmer part and put what you want or just leave the quotes. For example, if we want to change it for "rural house in Canada" it should be

var sQuery = '<?php _e("rural house in Canada", 'modern') ; ?>' ;
 
<input type="text" name="sPattern"  id="query" value="<?php echo ( osc_search_pattern() != '' ) ? osc_search_pattern() : __("rural house in Canada", 'modern') ; ?>" />

tomshaft

  • Hero Member
  • *****
  • Posts: 862
  • Osshaft for Osclass - Add 650 posts to my total
Re: Need to change the Lable name"Find a place, find a home,Luxury villas"
« Reply #10 on: August 26, 2014, 01:13:15 am »
@kuppusaj
I'm confused by your post.
There are settings for the realestate theme in admin, Appearance for what you want at least in my version...... :-\ 
See screenshot
 
tom.
 

kuppusaj

  • Jr. Member
  • **
  • Posts: 53
  • Osclass is one of the wonderful Free Classified.
Re: Need to change the Lable name"Find a place, find a home,Luxury villas"
« Reply #11 on: August 26, 2014, 10:27:18 am »
@tomshaft
Can you please try Realstate theme and let me know whether you are seeing the screen which you have attached image.

even i can able to change the Default Search String "ie. PHP Programmer" from other themes but not able to see option in My Realstate them.

tomshaft

  • Hero Member
  • *****
  • Posts: 862
  • Osshaft for Osclass - Add 650 posts to my total
Re: Need to change the Lable name"Find a place, find a home,Luxury villas"
« Reply #12 on: August 26, 2014, 01:40:01 pm »
Sorry, I spoke to soon. Seems that the latest Realestate theme version in market does NOT have the placeholder settings.

The only place the search placeholder settings are located are:
 oc-content\themes\realestate\functions.php  Line 23: osc_set_preference('keyword_placeholder',__('Luxury Villas', 'realestate'),'realestate');

  oc-content\themes\realestate\languages\en_US\theme.po  Line 100: msgid "Luxury Villas";

Change BOTH "Luxury Villas" above to whatever word(s) you want.

In my last post I showed the Osshaft_Realestate version that DOES have the ability to change in Admin but didn't know the MARKET version didn't have the setting. Seems that would be quite easy to add.
 
Tom
 
POST UPDATE:
I changed the term in both lines of code in the Market version and the term "'Luxury Villas' remained..... strange.
 
Tom
« Last Edit: August 26, 2014, 02:10:12 pm by tomshaft »

kuppusaj

  • Jr. Member
  • **
  • Posts: 53
  • Osclass is one of the wonderful Free Classified.
Re: Need to change the Lable name"Find a place, find a home,Luxury villas"
« Reply #13 on: August 26, 2014, 03:57:18 pm »
@tomshaft,
Thank for your immediate reply. but i have tried the same steps which someone posted earlier, but no luck. let me try to do it from the scratch and will let you know in few mins.. :(

tomshaft

  • Hero Member
  • *****
  • Posts: 862
  • Osshaft for Osclass - Add 650 posts to my total
Re: Need to change the Lable name"Find a place, find a home,Luxury villas"
« Reply #14 on: August 26, 2014, 04:26:27 pm »
I made all the changes I know of in all the files.
Seems the Market version of the realestate theme has problems.
This is going to take a little time.
 
Tom