Compare commits

...
10 Commits
Author SHA1 Message Date
bachy 9d97a0b7b7 tode_url_outbound_alter improvement (path_alias)
Signed-off-by: bachy <git@g-u-i.net>
2012-03-18 14:38:35 +01:00
bachy 20ad82694b modale Tode creation
Signed-off-by: bachy <git@g-u-i.net>
2012-03-13 17:24:52 +01:00
bachy 9d10e145b4 micro debug
Signed-off-by: bachy <git@g-u-i.net>
2012-02-10 19:53:00 +01:00
bachy 6ab6fc916b views integration start, not sure to keep that
Signed-off-by: bachy <git@g-u-i.net>
2012-02-07 19:46:12 +01:00
bachy fbaa166db8 bug correction
Signed-off-by: bachy <git@g-u-i.net>
2012-02-04 12:29:28 +01:00
bachy 4fc8e542c3 fixed i18n_taxonomy missing
added module_exists('i18n_taxonomy')

Signed-off-by: bachy <git@g-u-i.net>
2012-02-04 11:47:59 +01:00
bachy 8690f4a165 càrrectif bug : term created even if node form validation fail
- remove taxonomy term save from tod, let taxonomy handle the term
- move all toed process from hook_node_validate to hook_node_submit
- handle node creation with hook_node_presave
- handle node update (with term form) in hook_node_submit

Signed-off-by: bachy <git@g-u-i.net>
2012-02-02 18:48:13 +01:00
bachy 66ff837039 RC
Signed-off-by: bachy <git@g-u-i.net>
2012-01-17 16:14:17 +01:00
bachy 626ec7eabc Parent term options
Signed-off-by: bachy <git@g-u-i.net>
2012-01-07 22:59:15 +01:00
bachy 691ecd7d61 add gui icon
Signed-off-by: bachy <git@g-u-i.net>
2011-10-04 11:37:57 +02:00
5 changed files with 786 additions and 259 deletions
BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 690 B

+11 -1
View File
@@ -1,3 +1,13 @@
.ctu-term-edit-form-box{border: 1px solid #ddd; padding:0.5em;}
#node-form fieldset.tcu-advanced-options,
#node-form fieldset.tcu-term-fields{width:45%; display:inline-block; vertical-align: top;}
#node-form fieldset.tcu-term-fields{width:45%; display:inline-block; vertical-align: top;}
.tode-add-modal-wrapper{
}
.tode-add-modal-wrapper .form-item{
display:inline-block;
}
.tode-add-modal-wrapper .tode-add-modal-links{
display:inline-block;
}
+742 -258
View File
File diff suppressed because it is too large Load Diff
+33
View File
@@ -0,0 +1,33 @@
<?php
/**
* Implements hook_views_data().
*/
// function tode_views_data() {
// // Code goes here. See example at http://views.doc.logrus.com/group__views__hooks.html#g227057901681e4a33e33c199c7a8c989
//
// $data['node']['tode_parent'] = array(
// 'group' => t('tode'),
// 'title' => t('Tode'),
// 'help' => t('Filtrer with tode parent term.'), // The help that appears on the UI,
// // 'real field' => 'field_pv_value',
// 'filter' => array(
// 'handler' => 'tode_views_handler_parent_filter',
// ),
// );
//
// }
function tode_views_data_alter(&$data) {
$data['tid']['tode_parent'] = array(
'title' => t('Tode parent'),
'group' => 'Tode',
'help' => t('Parent term of tode field'),
'real field' => 'field_tode_program',
'filter' => array(
'handler' => 'tode_views_handler_parent_filter',
),
);
}