Closed (won't fix)
Project:
Views (for Drupal 7)
Version:
6.x-3.x-dev
Component:
exposed filters
Priority:
Normal
Category:
Feature request
Assigned:
Reporter:
Created:
26 Feb 2010 at 14:12 UTC
Updated:
26 Jul 2017 at 10:56 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
jordanmagnuson commentedSubscribing... I'm trying to theme my exposed filters in Views 3, and not having any luck so far.
Comment #2
tribe_of_dan commentedSubscribe
Comment #3
dawehnerIt would be easy to show the exposed filter tpl. But you cannot make it currently per view.
Comment #4
dagmarMmm, I'm are not completely sure if exposed forms cannot be used with templates.
In my opinion only this info is not provided by the View UI.
Dereine, what do you think about this patch?
if you see this function
And this line of code:
$form['#theme'] = views_theme_functions('views_exposed_form', $view, $display);
It seems to be loading all this template functions.
So this patch make this template alternatives visible when there are exposed forms for the current display.
Comment #5
gooddesignusa commentedsubscribing
Comment #6
Bilmar commentedHello,
I applied the patch at #4 and now see the section 'Exposed form output' in Theming Information. However, it seems like the exposed form template file that is being used is not highlighted after clicking [Rescan template files].
I currently have views-exposed-form--search.tpl.php in the theme folder and it is being registered properly by drupal when looking at the exposed form (just in the Theming Information section it is not highlighted as the template being used).
Regards
Comment #7
Bilmar commentedoops, the image didn't attach properly
Comment #8
YK85 commented+1 subscribing
Comment #9
giorgio79 commented#6
Comment #10
Bilmar commentedAs per my comments in #6, this isn't working properly yet.
This should be 'needs work' or 'needs review' so others can further test the patch at #4.
As this feature might get lost in the 'needs work' world, I'm setting back to 'needs review' =)
Thanks
Comment #11
dagmarCorrect status is need works.
Comment #12
xjmTracking.
Comment #13
Letharion commentedAssigning to Merlin to draw some attention to this issue. :)
Comment #14
mustanggb commented