BIG BIG BIG update
V0 of first interface going to refactor JS
This commit is contained in:
@@ -1,8 +1,9 @@
|
||||
<?php
|
||||
<?php
|
||||
|
||||
//dsm($vars);
|
||||
// dsm($vars);
|
||||
|
||||
$vars['theme_hook_suggestions'][] = 'field__' . $vars['element']['#view_mode'];
|
||||
$vars['theme_hook_suggestions'][] = 'field__' . $vars['element']['#field_type'] . '__' . $vars['element']['#view_mode'];
|
||||
$vars['theme_hook_suggestions'][] = 'field__' . $vars['element']['#field_name'] . '__' . $vars['element']['#view_mode'];
|
||||
|
||||
// dsm($vars['theme_hook_suggestions']);
|
||||
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
|
||||
// dsm($vars);
|
||||
// dsm($vars['content']);
|
||||
|
||||
$vars['theme_hook_suggestions'][] = 'node__'.$vars['view_mode'];
|
||||
$vars['theme_hook_suggestions'][] = 'node__' . $vars['type'] . '__' . $vars['view_mode'];
|
||||
@@ -13,3 +13,4 @@ $vars["title_attributes_array"]["class"] = implode(" ", $vars["title_attributes_
|
||||
|
||||
$vars["title_attributes"] = drupal_attributes($vars["title_attributes_array"]);
|
||||
|
||||
// unset($vars['content']['links']['node-readmore']);
|
||||
Reference in New Issue
Block a user