I've made a view which allows a user to search my site by content type, however the actual block looks ugly and I want to customize its appearance via the FCK WYSIWYG editor with a custom block. How would I go about creating a form that would pass the content type to the view as an argument. I'm having trouble reading the tutorials available on this site.

My view has only 2 filters:
Search Term
Node Type

Thanks in advance for any help.

Comments

marcor’s picture

Fine, I'm looking exactly for the same and have not been finding anything.

As far as I see there is no “advanced search”-form that can be customized by hook_form_alter(). For example the node type restriction is given by get-parameter that is appended to the url. Guess that some snippets might exist already.