- Posts: 14116
- Thank you received: 1639
Where to Fix Spelling Mistake in Search Results
-
ivan.milic
Support Staff - Moderator
Less
More
11 years 7 months ago #29041
by ivan.milic
Replied by ivan.milic on topic Where to Fix Spelling Mistake in Search Results
so
you create file:
/en-GB/overrides/en-GB.com_virtuemart.ini
and put content
PLG_SEARCH_VIRTUEMART_PRODUCTS="your text"
you create file:
/en-GB/overrides/en-GB.com_virtuemart.ini
and put content
PLG_SEARCH_VIRTUEMART_PRODUCTS="your text"
Please Log in to join the conversation.
-
NanL105
Inactive member - Topic Author
- Member
Less
More
- Posts: 64
- Thank you received: 0
11 years 7 months ago #29048
by NanL105
Replied by NanL105 on topic Where to Fix Spelling Mistake in Search Results
So sorry, I feel like I'm being dense... but where do I create this file?
I went into: joomla/language
clicked icon to create file
pasted in "/en-GB/overrides/en-GB.com_virtuemart.ini"
It said it was created but the file name is showing up as "en-GB.com_virtuemart.ini"
(it dropped the /overrides/ part.)
I didn't notice that at first and just opened that file and put in "PLG_SEARCH_VIRTUEMART_PRODUCTS="Product"
It saved and said it was created.
But when I went back to my site, and refreshed, the word "Produkte" is still in the search results.
What am I doing wrong?
I went into: joomla/language
clicked icon to create file
pasted in "/en-GB/overrides/en-GB.com_virtuemart.ini"
It said it was created but the file name is showing up as "en-GB.com_virtuemart.ini"
(it dropped the /overrides/ part.)
I didn't notice that at first and just opened that file and put in "PLG_SEARCH_VIRTUEMART_PRODUCTS="Product"
It saved and said it was created.
But when I went back to my site, and refreshed, the word "Produkte" is still in the search results.
What am I doing wrong?
Please Log in to join the conversation.
-
ivan.milic
Support Staff - Moderator
Less
More
- Posts: 14116
- Thank you received: 1639
11 years 7 months ago #29056
by ivan.milic
Replied by ivan.milic on topic Where to Fix Spelling Mistake in Search Results
Try putting:
PLG_SEARCH_VIRTUEMART_PRODUCTS="Product"
at bottom of original en-GB.com_virtuemart.ini file
PLG_SEARCH_VIRTUEMART_PRODUCTS="Product"
at bottom of original en-GB.com_virtuemart.ini file
Please Log in to join the conversation.
-
NanL105
Inactive member - Topic Author
- Member
Less
More
- Posts: 64
- Thank you received: 0
11 years 7 months ago #29066
by NanL105
Replied by NanL105 on topic Where to Fix Spelling Mistake in Search Results
Thank you.
I did that but it didn't fix it.
Don't know if this is helpful, but this is what the last 3 lines of code in that file now are:
COM_VIRTUEMART_YOUR_PASSWORD="your password: "
;COM_VIRTUEMART_CART_TOS_LINK_TEXT="Show me the terms of service"
PLG_SEARCH_VIRTUEMART_PRODUCTS="Product"
I show this because all the lines of code start with COM_VIRTUEMART
and a few start with the ;COM_VIRTUEMART)
And this line you had me add looks so different, so I'm wondering...
Is there anything else I can try?
Thank you!
I did that but it didn't fix it.
Don't know if this is helpful, but this is what the last 3 lines of code in that file now are:
COM_VIRTUEMART_YOUR_PASSWORD="your password: "
;COM_VIRTUEMART_CART_TOS_LINK_TEXT="Show me the terms of service"
PLG_SEARCH_VIRTUEMART_PRODUCTS="Product"
I show this because all the lines of code start with COM_VIRTUEMART
and a few start with the ;COM_VIRTUEMART)
And this line you had me add looks so different, so I'm wondering...
Is there anything else I can try?
Thank you!
Please Log in to join the conversation.
-
ivan.milic
Support Staff - Moderator
Less
More
- Posts: 14116
- Thank you received: 1639
11 years 7 months ago #29074
by ivan.milic
Replied by ivan.milic on topic Where to Fix Spelling Mistake in Search Results
Well then try this:
Open components\com_search\views\search\tmpl\default_form.php
find this (around line 53):
<label for="area-<?php echo $val;?>">
<?php echo JText::_($txt); ?>
</label>
replace with:
<label for="area-<?php echo $val;?>">
Product
</label>
Open components\com_search\views\search\tmpl\default_form.php
find this (around line 53):
<label for="area-<?php echo $val;?>">
<?php echo JText::_($txt); ?>
</label>
replace with:
<label for="area-<?php echo $val;?>">
Product
</label>
Please Log in to join the conversation.
-
NanL105
Inactive member - Topic Author
- Member
Less
More
- Posts: 64
- Thank you received: 0
11 years 7 months ago #29111
by NanL105
Replied by NanL105 on topic Where to Fix Spelling Mistake in Search Results
OK. I did that and it fixed the spelling. But now there is another problem.
In the search results, it now says:
"Search Only: Product, Product, Product, Product, Product, Product"
It used to be that there were different things:
"Search Only: Categories, Contacts, Articles, Newsfeeds, Weblinks, and Produkte."
What now?
Thanks!
In the search results, it now says:
"Search Only: Product, Product, Product, Product, Product, Product"
It used to be that there were different things:
"Search Only: Categories, Contacts, Articles, Newsfeeds, Weblinks, and Produkte."
What now?
Thanks!
Please Log in to join the conversation.
Time to create page: 0.086 seconds