Whenever I flush all caches, the layout stops working. If I open the view >Exposed Form > Exposed form style > Settings and hit apply without making any changes then the layout is back.

I went back and tried clearing each type of cache individually and I found that the issue occurred when I cleared: class registry, page and else, and theme registry.

Comments

skdrupal88’s picture

Hello Anna, thanks for feedback, I will check it.
Patches is always welcome by the way ;)

skdrupal88’s picture

Status: Active » Postponed (maintainer needs more info)

Can you please tell me which layout's settings do you use? Custom or Panels layout?

afem’s picture

I am using the settings: basic (with layout) - Three Column. Also, I am using the calendar module - https://www.drupal.org/project/calendar

This is not a panel page.

afem’s picture

I have noticed another thing that might help troubleshoot this. When I clear caches, all the layouts stop working, but when a resave a single view, all the views that use this module for layout are fixed.

  • korgik committed 0a445a7 on 7.x-1.x
    Issue #2489236: Fixed hook_theme_registry_alter.
    
skdrupal88’s picture

Unfortunately couldn't reproduce it ;(

I've added a small fix, but not sure if it'll help. Try current 7.x-1.x-dev version at first.

But you can help me to reproduce it:
1) -Install Devel module
- go to /devel/theme/registry
- find 'views_exposed_form' and send me data from this array

2) Export your views and send me (use Export link near Views edit link).

afem’s picture

Sorry it took me so long to get back to you, I was out of town for a week.

I updated to the latest dev version and I am still having the same issue.

I have taken two screenshots of the array.

Not working: https://www.dropbox.com/s/yxx0pasthdtjznu/Screenshot%202015-05-25%2012.4...
Working: https://www.dropbox.com/s/rtqv1uefeadqdqf/Screenshot%202015-05-25%2012.4...

It seems that the "vefl_preprocess_views_exposed_form" is missing from the site when vefl is not working.

afem’s picture

Because of time constraints, I have had drop using this module for now. My coworkers have used it successfully on other sites and I will try it on other sites in the future.

Thanks for taking a look for me.

  • korgik committed b457509 on 7.x-1.x
    Issue #2489236: Added preprocess function to hook_theme_registry_alter...
skdrupal88’s picture

Sorry for delay, thanks for your help.
I've added another possible fix, I'll be happy if you could test it in dev version.

sch4lly’s picture

Status: Postponed (maintainer needs more info) » Reviewed & tested by the community

Had the same problem in beta 2, but no more in current dev. Thanks!

skdrupal88’s picture

Version: 7.x-1.0-beta2 » 7.x-1.x-dev
Status: Reviewed & tested by the community » Fixed

Great! it fixed then

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.

hitesh.koli’s picture

I had similar issue but fixed in : 7.x-1.x-dev