Hi, I am a brand newbie and am hoping that I am not bringing up something that has already been addressed. I have created some fields and on off check boxes with CCK that I am trying to organize with panels, but when I click on the url that I created, so that I can view the resulting page, the CCK fields or fieldgroups don't display. When I add content in panels pages into a column, it is entered as (""fieldgroup). If I am just making a stupid mistake, I would love to know what it is, any help would be appreciated.
| Comment | File | Size | Author |
|---|---|---|---|
| #9 | content_panels_render_field.323681.patch | 2.85 KB | aaron |
Comments
Comment #1
majestik commentedI am having the same issue, so clearly I have missed something... lots of searching hasn't led me anywhere... also tried it using the Oct-23 dev build
Comment #2
IRoar commentedGood to know that I am not alone. I have spent countless hours looking for info on this, but have little to show for my efforts.
Comment #3
majestik commentedSame here... I put a question up on the Panel2 group as well hoping to get a response..
http://groups.drupal.org/node/16153
Comment #4
ilakshmir commentedSame problem!! I have spent more than 30 hours trying to fix this. Any progress?
Comment #5
aaron commentedThis appears to be a bug. I've added panes for several types of fields, and none of them are ever displayed.
Comment #6
merlinofchaos commentedI don't believe the D6 version of CCK has updated its panels code at all, and since Panels is still in alpha they probably won't until we indicate we're ready for them to do so. That is, unless someone volunteers to do it for them. Really this is probably technically a CCK feature request more than anything.
Comment #7
ilakshmir commentedI have been working on Drupal for only a month or so and am still a newbie but will rey to see if I can help in any way to get this working. If someone can send me a pointer as to where to look in panels/CCK, I can compare with D5 code and update to D6.
Comment #8
aaron commentedi have a patch, hold on a minute
Comment #9
aaron commentedthis gets things working. works fine with single fields, haven't tested with multiple fields. however, i couldn't figure out the correct call to theme('content_field'), so i'm hoping someone else can give it a look over.
thanks,
aaron
Comment #10
jasontanner commentedHi,
I can confirm that this works with single fields, at least the few I tried but I was unable to get it to work with fields with multiple values or field groups.
Comment #11
yched commentedI committed an update to content.panel.inc that seems to work pretty well.
- fixes a bunch of warnings / notices
- uses a new API function I just added to CCK for the occasion, that centralizes field output and accounts for the various cases (single value, multiple values, label settings, formatters handling multiple values...). The fields will be themed using the regular content-field.tpl.php templates.
As a separate task, it would be cool to allow panel-specific template suggestions for content-field.tpl.php. Any taker welcome. More generally, see #329464: Maintainer needed for CCK / Panels integration :-)
Comment #13
niklp commentedSO not fixed or finished.
This issue and that of node reference as relationships really needs some love...
Comment #14
merlinofchaos commentedNikLP: Your comment isn't very valuable without specifying what isn't fixed/finished/etc.
You should also consider looking at the 'maintainer needed' link that yched posted, indicating that this needs a dev to really carry it forward.
Comment #15
michelleThis issue was about adding fields, which works.
Michelle