Compare commits

...
18 Commits
Author SHA1 Message Date
bachy 900155d078 Merge branch '7.x' of ssh://ssh.g-u-i.net/module-tode into 7.x 2012-10-11 18:25:43 +02:00
bachy aa8698232d field formatter "Tode" for term_reference
Signed-off-by: bachy <git@g-u-i.net>
2012-10-11 18:23:30 +02:00
bachy c952bd330f redirect node to term alpha
Signed-off-by: bachy <git@g-u-i.net>
2012-09-26 16:36:56 +02:00
bachy 35a5eb3a60 bug fixing tode_url_outbound_alter
Signed-off-by: bachy <git@g-u-i.net>
2012-05-22 22:40:31 +02:00
bachy 7ce8d94ed9 php notice fixing
Signed-off-by: bachy <git@g-u-i.net>
2012-05-21 17:46:20 +02:00
bachy 93b353922e widget settings défaut values fixe
Signed-off-by: bachy <git@g-u-i.net>
2012-05-09 08:13:15 +02:00
bachy 4eda04b2f0 improvement
Signed-off-by: bachy <git@g-u-i.net>
2012-05-06 22:50:02 +02:00
bachy 4a958da4df parent bug on node update fixed
parent selection used to works only on node creation, now works on node creation and update

add automatic node titles snippet fro term translation

Signed-off-by: bachy <git@g-u-i.net>
2012-04-16 23:07:27 +02:00
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 1000 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;
}
+956 -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',
),
);
}