refactoring and a lot of new design

This commit is contained in:
2017-02-10 18:07:21 +01:00
parent 30577d3c6b
commit 290b8ac157
9 changed files with 696 additions and 186 deletions
@@ -2,10 +2,10 @@
// dsm($vars, 'vars');
$display = $vars['display'];
$node_ctx = $display->context['requiredcontext_entity:node_1'];
// $display = $vars['display'];
// $node_ctx = $display->context['requiredcontext_entity:node_1'];
// dsm($node_ctx, 'node_ctx');
// change css id with node alias to be able to link it with anchors on top menu
$vars['css_id'] = drupal_get_path_alias('node/'.$node_ctx->data->nid);
// $vars['css_id'] = drupal_get_path_alias('node/'.$node_ctx->data->nid);
// dsm($vars['css_id'], 'css_id');