By agerson on
Drupal 7
Views
Bootstrap theme sub theme in use
I have a views-view-table.tpl.php file in my sub theme and I am trying to preprocess some of the variables sent to this tpl. I created a function bootstrap_preprocess_views_view(&$vars) in my template.php and it is not getting called when I visit one of my views pages. Why would this be? Other preprocess functions are getting called from the same template file. I have tried flushing the cache.
<?php
function bootstrap_preprocess_views_view(&$vars) {
dsm($vars);
dsm("aaaa");
die;
}
?>
Comments
bootstrap should be the name
bootstrap should be the name of your subtheme
Bootstrap is the name of the
Bootstrap is the name of the parent theme. It would not make sense to name my subtheme bootstrap. I have tried placing the and naming the function in both the parent and child theme. No effect.
Did you clear cache? (When
Did you clear cache? (When in your theme functions in template.php should start with you theme name)