Created
February 29, 2012 12:13
-
-
Save batandwa/1940420 to your computer and use it in GitHub Desktop.
Drupal 6 views snippet that goes into the header to help you see whic
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<h2>Arguments</h2> | |
<strong> | |
<?php | |
$view = views_get_current_view(); | |
print ucwords(str_replace('-', ' ',$view->args[0])); | |
print ucwords(str_replace('-', ' ',$view->args[1])); | |
print ucwords(str_replace('-', ' ',$view->args[2])); | |
//Add more lines and change the $view->args element for more arguments. | |
?> | |
</strong> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment