How do you add custom text to an "exposed form in block"? i.e. maybe you just want to add some informational/descriptive line. Thanks.
How do you add custom text to an "exposed form in block"? i.e. maybe you just want to add some informational/descriptive line. Thanks.
Comments
Comment #1
dawehnerYou can do this with theming.
Therefore copy views-exposed-form.tpl.php into your theme and add the text where you need it
In Views3 you could write a exposed form to make this configurable
Comment #2
seg108 commentedThanks very much. Your tip brings me to: How can I insert my text between exposed widgets? - it seems that all the widgets are grouped as one in
print $widget->widget;Comment #3
seg108 commentedGot nowhere on this, so ended up placing the text in the header of the view's page (as close as possible to the exposed form block). Not so great a result, but at least delightfully simple to do (thanks to Views)!