- Posts: 36
COMMUNITY FORUM
How to customise search page result from extra fld
- kalixo
-
Topic Author
- Offline
- Junior Member
Less
More
11 years 2 months ago - 11 years 2 months ago #125614
by kalixo
How to customise search page result from extra fld was created by kalixo
Dearl All!
I used the extra field "searchable Labels" and defined the query words.
Everything works fine, but I can't customise the result page. I modyfied files in "my_template\html\com search\search\default,php and removed page title, but it still appears on the result page. How to remove the title from the content of the page?
When I use "normal" search, the result page does not contain the page title.. What I am doing worng? Pls help.
And my other problem is that I don't know how to define defautl search parameters. Default setting is to search each word, and I want to set it as exactly match (the third option in search settings).
Thanks in advance and have nice day!
Best regards from Poland.
I used the extra field "searchable Labels" and defined the query words.
Everything works fine, but I can't customise the result page. I modyfied files in "my_template\html\com search\search\default,php and removed page title, but it still appears on the result page. How to remove the title from the content of the page?
When I use "normal" search, the result page does not contain the page title.. What I am doing worng? Pls help.
And my other problem is that I don't know how to define defautl search parameters. Default setting is to search each word, and I want to set it as exactly match (the third option in search settings).
Thanks in advance and have nice day!
Best regards from Poland.
Please Log in or Create an account to join the conversation.
- Lefteris
-
- Offline
- Platinum Member
Less
More
- Posts: 8743
11 years 2 months ago #125615
by Lefteris
Replied by Lefteris on topic Re: How to customise search page result from extra fld
Hi. I don't get in which search you have the issue. Searchable labels link to Joomla! default search so your override should work. Note that this affects only the results page. When you click to view the item then the title can be controlled by K2 settings.
Please Log in or Create an account to join the conversation.
- kalixo
-
Topic Author
- Offline
- Junior Member
Less
More
- Posts: 36
10 years 11 months ago #125616
by kalixo
Replied by kalixo on topic Re: How to customise search page result from extra fld
Thanks for the help.
I'm not sure if I described my problem correctly.
I use extra fields as a searchable labels, when I clik on the filed on the frontend I got search page resulsts as shown below:
darmolandia.pl/kupony-rabatowe-kupony-znizkowe/szukaj.html?searchword=kosmetyki (the extra field is: kosmetyki)
when I try to search for a word "kosmetyki" I got differnet page with results (it has different layout):
darmolandia.pl/component/search/?searchword=kosmetyki&searchphrase=all&Itemid=9999
is it possible to got same result page for the searchable labels as it is for search?
PS. Is it also possible to put the <searchword> into tha page title?
Thanks for the help in advance!
Best!
I'm not sure if I described my problem correctly.
I use extra fields as a searchable labels, when I clik on the filed on the frontend I got search page resulsts as shown below:
darmolandia.pl/kupony-rabatowe-kupony-znizkowe/szukaj.html?searchword=kosmetyki (the extra field is: kosmetyki)
when I try to search for a word "kosmetyki" I got differnet page with results (it has different layout):
darmolandia.pl/component/search/?searchword=kosmetyki&searchphrase=all&Itemid=9999
is it possible to got same result page for the searchable labels as it is for search?
PS. Is it also possible to put the <searchword> into tha page title?
Thanks for the help in advance!
Best!
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
-
- Offline
- Platinum Member
Less
More
- Posts: 15920
10 years 11 months ago #125617
by Krikor Boghossian
Replied by Krikor Boghossian on topic Re: How to customise search page result from extra fld
&Itemid=9999 this means that the search results render through a menu item.
Hence the different layout.
To ensure the same layout is forced you need to make a menu item to point to the search form.
Hence the different layout.
To ensure the same layout is forced you need to make a menu item to point to the search form.
Please Log in or Create an account to join the conversation.