Nick Sergeant :: Drupal 6ers… register your theme functions! Here's how. - 3 views
-
<? function name_of_module_theme() { return array( 'name_of_theme_function' => array( 'arguments' => array('items' => NULL) ) ); }
-
<? function theme_name_of_theme_function($items = NULL) { $output = 'hey, this is some output that gets generated when theme_name_of_theme_function($items) is called from somewhere'; return $output; }
Advanced theme settings | drupal.org - 4 views
-
here. dman - April 6, 2009 - 22:10 This worked fo me. An additional logo (Appeared in the footer everywhere) Not sure why I had to put the submit handler into the #validate pass :-/ It was copied from the existing theme settings funcs. 'campaign_' is the theme name.
FixComputerpProblemsSite Surely Knows How to Fix Computer Problems! - 1 views
I was having problems with my laptop before. Good thing FixComputerpProblemsSite helped me fix it. And they are really the experts when it comes to solving any computer related issues. They can eas...
Theming the User Registration Form in Drupal 6 | Trellon - 0 views
-
<?phpfunction themename_theme($existing, $type, $theme, $path) { return array( ... // tell Drupal what template to use for the user register form 'user_register' => array( 'arguments' => array('form' => NULL), 'template' => 'user-register', // this is the name of the template ), ... );}?>
-
<div id="registration_form"> <div class="field"> <?php print drupal_render($form['account']['name']); // prints the username field ?> </div> <div class="field"> <?php print drupal_render($form['account']['pass']); // print the password field ?> </div> <div class="field"> <?php print drupal_render($form['submit']); // print the submit button ?> </div> </div></div>
-
<?php print '<pre>'; print var_export($form); print '</pre>';?>
- ...3 more annotations...
Theming Views In Drupal 6.x | Drupaler | Drupal Blog, Collaborative Drupal Resource - 0 views
-
<?phpfunction garland_preprocess_views_view__my_view(&$variables) { $variables['foo'] = 'some text';}?>
‹ Previous
21 - 31 of 31
Showing 20▼ items per page