SearchRecent postsThe Random ToolboxDrupal 7 Setting up variables for use in a template (preprocess and process functions) Rendering Drupal 7 fields (the right way) Linux Secure Copy (scp) command Restrict Free Shipping in Magento Quickbooks Text Connection Ticket Cross-Site Request Forgery (CSRF) jQuery Events: MouseOver / MouseOut vs. MouseEnter / MouseLeave Monthly archive
|
June 2012Set Views Title Programatically in Drupal 7<?php function YOUR_MODULE_preprocess_views_view(&$vars) { // If it is the view you want to change if ($vars['view']->name == 'your_view') { // Override view's title, drupal_set_title() was not working $vars['view']->build_info['title'] = $my_title; } } Create a Numeric Pager for Views Slideshow in Drupal 7
|