added publications links and display of pubications pages

This commit is contained in:
Bachir Soussi Chiadmi
2015-07-16 15:46:48 +02:00
parent 54f496acad
commit cc657eaec4
9 changed files with 115 additions and 17 deletions

View File

@@ -13,6 +13,31 @@ function materio_publications_ctools_plugin_api($module = NULL, $api = NULL) {
}
}
/**
* Implements hook_image_default_styles().
*/
function materio_publications_image_default_styles() {
$styles = array();
// Exported image style: publication-couv.
$styles['publication-couv'] = array(
'label' => 'publication-couv',
'effects' => array(
16 => array(
'name' => 'image_scale',
'data' => array(
'width' => 480,
'height' => 480,
'upscale' => 1,
),
'weight' => 1,
),
),
);
return $styles;
}
/**
* Implements hook_node_info().
*/