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
|
Drupal Views Title from Argument - Use Views Argument as Page Title<?php $view = views_get_current_view(); $args = $view->args; drupal_set_title($args[0]); // if argument is taxonomy // $termObject = taxonomy_get_term($args[0]); // drupal_set_title($termObject->name); ?> |