Closed (fixed)
Project:
CMIS API
Version:
7.x-1.x-dev
Component:
User interface
Priority:
Major
Category:
Bug report
Assigned:
Reporter:
Created:
3 May 2013 at 18:36 UTC
Updated:
3 Jun 2013 at 13:34 UTC
Jump to comment: Most recent file
The CCK CMIS Field field type does not display the defined label in either the node view or edit form. This might be a minor issue for some, but if there are multiple CMIS Fields defined for a content type, it could become confusing for users.
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | cmis_field.zip | 1.32 KB | ndelattre |
Comments
Comment #1
adamtyoung commentedAny progress on this? This problem makes the field unusable.
Comment #2
ndelattre commentedIs there any workaround? The module is not usable with this.
Comment #3
ndelattre commentedThe code to display label is not setted.
So adding this line(+) in cmis_field.module seems to do the workaround! :
$element['title'] += array(
'#type' => 'textfield',
'#default_value' => $title,
'#attributes' => array('class' => array('edit-field-cmis-field')),
+ '#title_display' => 'before',
+ '#title' => check_plain($instance['label'])
);
Find the file cmis_field.module in attachment (in a zip file)
Comment #4
IanNorton commentedThanks firewire77 & ndelattre for raiding and fixing this.
Comment #5
IanNorton commentedFixed in 7.x-1.3 release