Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Hi,
I'm trying to expose filter on a view in my site, it's working very well when I use the default Bartik 7.43 theme, see attached image named Batrik.png.
But when using a sub-theme of the adaptivetheme it didn't show the filter, see attached image named at.png.
What should I do from this point?
Comment | File | Size | Author |
---|---|---|---|
#8 | ExposedView.png | 64.51 KB | naamaan |
#7 | ViewExport.txt | 7.67 KB | naamaan |
at.png | 4.03 KB | naamaan | |
Batrik.png | 5.92 KB | naamaan |
Comments
Comment #2
naamaan CreditAttribution: naamaan commentedComment #3
naamaan CreditAttribution: naamaan commentedHi,
I really needs answers here, is there any missing info or details I should provide in order to get a reply?
regards,
Comment #4
cilefen CreditAttribution: cilefen commentedCheck the browser console, Drupal's own log, and the web server log for related messages.
Comment #5
naamaan CreditAttribution: naamaan commentedI'd checked the browser console and enabled the debugging mode using the devel module, but no error messages had appeared.
It's that the html code that is supposed to contain the filter is not exist in the page html code!! is it a separate setting that enables rendering the exposed filter html?
Comment #6
naamaan CreditAttribution: naamaan commentedHi,
I noticed these two warning in the console:
But don't think they are related to this issue, they appears in all pages!!
The weird thing around is when using the my theme - a subtheme of the adaptivetheme - the following html block doesn't appear in the page:
Where it's being rendered and functioned well in the Bartik theme, is this the clue to solve it? I really don't know how to start digging into this !!
Best regards,
Comment #7
naamaan CreditAttribution: naamaan commentedAnother thing is that in the view page, the preview section, the exposed filter is working well!
Attached the the view exported details in file named "ViewExport.txt", might be helpful.
Comment #8
naamaan CreditAttribution: naamaan commentedHi,
I'm using the devel module to debug the page displaying the view, and I noticed that the html markup in the $page array variable is exists but not printed to the page actually!!!
see the attached snapshot named "ExposedView.png"
What's actually functions between the $page array variable and the printing it's values out?
Comment #9
naamaan CreditAttribution: naamaan commentedAnd now it's a CSS problem, there is a class:
.views-exposed-widgets {
display: none;
}
Don't know how it came to here :(
So frustrating...but thanks god it's done.
Will close this issue.
Comment #10
naamaan CreditAttribution: naamaan commentedComment #12
apaderno