Si vous avez des idées, envies particulières, je vous laisse poster les liens vers les articles ici
Budget max : ~50€ par personne, on est 4, bientôt 5 donc ~250€ au total pour notre bureau
/** | |
* Implements hook_enable() | |
* @link https://api.drupal.org/api/drupal/modules%21system%21system.api.php/function/hook_enable/7 | |
*/ | |
function MYMODULE_NAME_enable() { | |
db_update('system') | |
->fields(array('weight' => WEIGHT_VALUE)) | |
->condition('type', 'module') | |
->condition('name', 'MYMODULE_NAME') | |
->execute(); |
<?php | |
/** | |
* Implements hook_entity_info_alter(). | |
* @link http://www.wunderkraut.com/blog/drupal-7-custom-node-view-modes/2010-12-20 | |
*/ | |
function MYMODULE_entity_info_alter(&$entity_info) { | |
$entity_info['node']['view modes']['another_teaser'] = array( | |
'label' => t('Another teaser'), | |
'custom settings' => FALSE, // TRUE pour avoir le nouveau d'affichage déjà activé dans l'onglet Custom display settings | |
); |
<?php | |
/** | |
* Ajouter les méta spécifiques aux Devices Apples | |
* */ | |
function THEME_NAME_preprocess_html(&$variables) { | |
//regular apple-touch-icon | |
$apple = array( | |
'#tag' => 'link', // The #tag is the html tag - <link /> | |
'#attributes' => array( // Set up an array of attributes inside the tag | |
'rel' => 'apple-touch-icon', |
Si vous avez des idées, envies particulières, je vous laisse poster les liens vers les articles ici
Budget max : ~50€ par personne, on est 4, bientôt 5 donc ~250€ au total pour notre bureau