Drupal: can I specify a view for my search results?

I have a Search box on my website and I was wondering if I can assign my view to the search results, rather than using the default list.

Is it possible? How?

thank

+3
source share
4 answers

I really found the “Search” element in my “Filters” settings in “Views”. I do not know how I could ignore this. It really exists and works quite well. Solvable.

+1
source

You can handle the search output using the view using the default search forms without filtering:

  • , ,
  • set :/search/ node/%
  • ": ", " " " URL" " " "3".

, node , , . % - , . , "%".

+4

. , , , . "", " " . ... http://groups.drupal.org/node/18582

, , -, , , "" . , (CCK ..) " " > "" . , Theme Developer, .

+1

You can use presentations for searches with open filters, etc., but this is not the functionality that you can use in the search you already found. You can create a block in your search view and replace what you have instead.

This probably requires some work, as the search box is usually not located in the area.

0
source

Source: https://habr.com/ru/post/1742508/


All Articles