1

I am using Views Responsive Grid module in a project.

This module uses a preprocess function like template_preprocess_views_view_responsive_grid().

Now I am trying to override it by either of following way:

MYTHEME_preprocess_views_view_responsive_grid() in template.php

OR

MYMODULE_preprocess_views_view_responsive_grid() in mymodule.module

Problem:

It is not overriding. Is there any other way?

I am using Drupal 7.51 and Views 3.0.

  • You did constantly clear the cache, right? – leymannx Nov 29 '16 at 11:01
  • yes, I had cleared it. – Hiranya Sarma Nov 29 '16 at 11:02
  • So, when having the Devel module enabled and do a dpm('HELLO') inside your functions there is no output on the front-end of your view? – leymannx Nov 29 '16 at 11:07
  • no output is giving – Hiranya Sarma Nov 29 '16 at 11:23
  • you have something wrong, @leymannx comments are rigth. have you a subtheme? doble check what you have. – pinueve Nov 29 '16 at 17:31

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.