Download & Extend

Controling displaying of CC group when creating a node

Project:Creative Commons
Version:6.x-1.x-dev
Component:User interface
Category:feature request
Priority:normal
Assigned:Unassigned
Status:closed (fixed)

Issue Summary

Hello,

I don't understand how the Creative Commons group is displayed when creating a node. At this moment I am using a custom content type with several fields and the Creative Commons options appear between some of these fields. I thought I could fix that by changing the fields order but no matter what I do, the CC options are displayed after the 5th field and before the last two fields.

Is there any way of controling it after you're done with CCK fields integration?

Regards

Comments

#1

Hmm, it just uses hook_form_alter() at adds a 'creativecommons' element to the node form array. (There was a bug #552022, but I'm not sure that's related.)

I can investigate this further. Any advice on how to replicate? Does it only happen for the one custom content type, or are you having trouble with other types as well? (Always 5th?)

#2

Hello,

I used it in another custom content type and the CC group is placed after the 5th field as well (in this case there were six different fields). Hope this helps

#3

Is there any progress about this feature? It seems that developing this module has been stopped. Is there any prevision about when will be released the following stable version? I'm really looking forward to use it...

Thanks

#4

Sorry about the delay. Development still happening, though slow through the last two months as I've been caught up with many other things. I'll be sure to investigate this soon, didn't figure out what was causing this before but I'll play around with some custom content types.

#5

The vertical tabs module might help you. I'm using it to tidy up lots of fieldsets on the node form, including the cc-license

#6

Just dropping in my ideas for this matter:
- Either implement a hook_form_alter() in your site module and tweak the form output.
- Either implement the necessary CCK hooks so the fieldset is available in the field admin UI.

#7

Some extra things I found out connected with my previous comment:

- Using hook_form_alter might (it depends on order of execution) not work since CC module is using hook_form_alter itself for injecting the license form. Another solution might be to theme the form: See Theming Forms

- CCK integration has already an issue opened at: #538250: CCK fields Integration

#8

Status:active» fixed

Added hook_content_extra_fields. You can now adjust the weight of the CC portion of the form.

#9

Status:fixed» closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.