BIG BIG BIG update

V0 of first interface
going to refactor JS
This commit is contained in:
Bachir Soussi Chiadmi
2015-03-06 11:40:59 +01:00
parent e61e4c779d
commit 81f57b8f4e
153 changed files with 27621 additions and 356 deletions
@@ -0,0 +1,33 @@
<?php
/**
* Implements hook_menu().
*/
function jeemod_menu() {
$items = array();
$base = array(
'type' => MENU_CALLBACK,
'file' => 'jeemod.pages.inc',
);
$items['jee/chapter'] = $base+array(
'title' => 'Matrio base ajax',
'page callback' => 'jeemod_chapter',
'page arguments' => array(2),
'access callback' => TRUE,
// 'access arguments' => array('use materio search api'),
);
return $items;
}
/**
* Implements hook_entity_info_alter().
*/
function jeemod_entity_info_alter(&$entity_info) {
$entity_info['node']['view modes']['chapter'] = array(
'label' => t('chapter'),
'custom settings' => TRUE,
);
}