- Posts: 22
COMMUNITY FORUM
Customize Search Results page
- Mihir Patel
-
Topic Author
- Offline
- Junior Member
I want that the search should display results like category view of category only. so either i will hv to get access to all the fields of the searched property. Can anyone tell me is there any easy way to display the search results just like the category view of items of k2 ???
Please Log in or Create an account to join the conversation.
- Yiota
-
- Visitor
Please Log in or Create an account to join the conversation.
- Mihir Patel
-
Topic Author
- Offline
- Junior Member
- Posts: 22
Any way ?
Please Log in or Create an account to join the conversation.
- Yiota
-
- Visitor
Please Log in or Create an account to join the conversation.
- Mihir Patel
-
Topic Author
- Offline
- Junior Member
- Posts: 22
Between one more question I hope you won't mind?? when the K2 item is opened from backend by administrator then the creater ie the author changes to administrator..... Would be great if you can help me out with that as well.... :)
Please Log in or Create an account to join the conversation.
- Yiota
-
- Visitor
Please Log in or Create an account to join the conversation.
- Mihir Patel
-
Topic Author
- Offline
- Junior Member
- Posts: 22
Please Log in or Create an account to join the conversation.
- Yiota
-
- Visitor
Please Log in or Create an account to join the conversation.
- Mihir Patel
-
Topic Author
- Offline
- Junior Member
- Posts: 22
Please Log in or Create an account to join the conversation.
- Mihir Patel
-
Topic Author
- Offline
- Junior Member
- Posts: 22
Note:- There was no com_k2 folder within html....
Still i copied it...but what changes shall i do in the files you mentioned......Can you guide me more...Thnx
Please Log in or Create an account to join the conversation.
- Yiota
-
- Visitor
There you will edit the files to achieve the result you want.
Please Log in or Create an account to join the conversation.
- Mihir Patel
-
Topic Author
- Offline
- Junior Member
- Posts: 22
But the main thing is K2 displays items with the item image, its extrafields etc. How will I be able to access those in the overridden files ???
Please Log in or Create an account to join the conversation.
- Yiota
-
- Visitor
You can set the parameters for that list in K2 general parameters.
Please Log in or Create an account to join the conversation.
- Mihir Patel
-
Topic Author
- Offline
- Junior Member
- Posts: 22
Please Log in or Create an account to join the conversation.
- Yiota
-
- Visitor
Please Log in or Create an account to join the conversation.
- Mihir Patel
-
Topic Author
- Offline
- Junior Member
- Posts: 22
Thanks for the prompt support...
Please Log in or Create an account to join the conversation.
- Fone
-
- Offline
- New Member
- Posts: 16
And how could I edit the CSS of that search folder? there isn't a search.css file, just php. I want to edit the header, background, etc, like the rest of my template overrides so it looks like all my K2 items.
Thank you!
Please Log in or Create an account to join the conversation.
- Yiota
-
- Visitor
Please Log in or Create an account to join the conversation.
- Fone
-
- Offline
- New Member
- Posts: 16
I will have 2 pages which will have the same images: search results and user registration, both with the same title (as my header is an image, not an image background + a text title).
Thats why I need to insert these in a K2 item, so I can style them separately!
Thank you!
Please Log in or Create an account to join the conversation.
- Yiota
-
- Visitor
In all K2 pages you have stated .catItemIntroText, for the other page define in the file an outer container like searchContainer and write to your CSS .searchContainer .catItemIntroText.
This way you won't change anything that already exists.
Please Log in or Create an account to join the conversation.