This file contains hidden or 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
<?php | |
/** | |
* Implements hook_preprocess_HOOK(). | |
* | |
*/ | |
function MYTHEME_preprocess_html(&$vars) { | |
// Fixes page titles for login, register & password. | |
switch (current_path()) { | |
case 'user': | |
$vars['head_title_array']['title'] = t('Login'); |
This file contains hidden or 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
★ SESSION VIDEO & DESCRIPTION | |
http://bit.ly/R6GPPD | |
-------------------------------------------------- | |
★ DESIGN ARTICLES | |
Principles of User Interface Design | |
http://bokardo.com/principles-of-user-interface-design |
This file contains hidden or 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
$variables['planning'] = array( | |
'#theme' => 'item_list', | |
'#items' => array(), | |
'#attributes' => array( | |
'class' => 'icons-info unstyled floated', | |
) | |
); | |
$all_terms = array_merge($variables['field_bbcgf_planning'], $variables['field_bbcgf_diet'], $variables['field_bbcgf_healthy']); |
This file contains hidden or 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
<?php | |
/** | |
* Implements hook_form_alter(). | |
To Replace the -Any- value in filters by it's label text | |
*/ | |
function mp_form_alter(&$form, &$form_state, $form_id) { | |
kpr($form); | |
if ($form['#id'] == 'views-exposed-form-admin-people-block-1') { | |
// $my_label = 'label name'; |
This file contains hidden or 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
<?php | |
/** | |
* Implements hook_form_alter(). | |
To Replace the -Any- value in filters by it's label text | |
*/ | |
function theme_form_alter(&$form, &$form_state, $form_id) { | |
kpr($form); | |
if ($form['#id'] == 'views-exposed-form-admin-people-block-1') { | |
// $my_label = 'label name'; |
This file contains hidden or 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
<?php | |
/** | |
* Implements hook_form_alter(). | |
To Replace the -Any- value in filters by it's label text | |
*/ | |
function theme_form_alter(&$form, &$form_state, $form_id) { | |
kpr($form); | |
if ($form['#id'] == 'views-exposed-form-admin-people-block-1') { | |
// $my_label = 'label name'; |
NewerOlder