Closed (fixed)
Project:
Content Construction Kit (CCK)
Version:
6.x-2.3
Component:
General
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
15 Jun 2009 at 23:56 UTC
Updated:
24 Dec 2009 at 10:30 UTC
Jump to comment: Most recent
Comments
Comment #1
markus_petrux commentedIf this section in the node edit form is added by another module, then this module needs to implement hook_content_extra_fields() in order to tell CCK it should show the item in the "Manage fields" screen.
Examples on how hook_content_extra_fields() works can be found in CCK code itself.
Comment #2
izmeez commentedMarkus,
Thanks for this reply. Can you or someone else help me in terms of how to direct my question?
In terms of theme selection by role, I believe that is in core, so maybe I should open this issue in core under some component?
It sounds like I should also open this issue under the location module.
Is that correct?
Thanks,
Izzy
Comment #3
izmeez commentedI have gone ahead and opened two related issues:
One for a theme select anchor, http://drupal.org/node/492948
and one for a location anchor, http://drupal.org/node/492956
I am also changing the status of this item to closed. I hope this is the right thing to do.
Thanks for your help.
Izzy
Comment #4
izmeez commentedEven though I closed this ticket, I discovered something else that relates to the original problem I described where the theme selection was appearing in between some of the unique cck fields that were created.
I created a field group, 'mytype_details" and moved all the unique cck fields so the were indented as part of that new field group. I then found that the theme selection appears on its own further down the submission form as one would expect.
This came about while resolving another issue as described at http://drupal.org/node/373983#comment-1710062 but I thought it might come in handy if someone is faced with the same problem of the theme selection showing up in an odd position.
Izzy
Comment #5
Anonymous (not verified) commentedI put this in location.module, it shows up in Manage Fields, BUT it doesn't work:
Does anyone know the solution? How to f-ing move the location fieldset in a preferred order?
Comment #6
markus_petrux commentedhook_content_extra_fields() get the $type_name as argument, so it should look like this:
Also, you cannot only drop this stuff in the code and expect it to work for existing content types. You should first clear the content cache.