I have one node type and two page types for this node.
http://site.com/themes/*
and
http://site.com/years/*
And i want to hide one of the "view-filed" in all "years" pages using the css.
Found this but it doesn't work
function mythemename_preprocess_page(&$variables,$hook) {
$alias = explode('/',drupal_get_path_alias(request_uri()));
if($alias[1]== "years") {
$vars['theme_hook_suggestions'][] = 'years';
}
}
https://groups.drupal.org/node/130944#comment-762483
I would be very grateful for any help.