Closed (duplicate)
Project:
Node clone
Version:
5.x-2.1
Component:
Miscellaneous
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
20 Apr 2008 at 21:32 UTC
Updated:
23 May 2008 at 02:18 UTC
I am using the upload module to upload an image to an event node, and then use the following code in my event template to display it:
<!-- event picture -->
<div id = "events_picture">
<?php if ($node->field_event_image[0]['view']): ?>
<?php print $node->field_event_image[0]['view']; ?>
<?php else: ?>
<!-- For some reason IE6 wants this to be an if else test -->
<?php endif; ?>
</div>
<!-- /event picture -->
Making a cloned node works great, but should I delete the cloned version of the node, the ORIGINAL node seems to lose it's connection to the picture, so it doesn't display.
| Comment | File | Size | Author |
|---|---|---|---|
| clone_deleates_pic_path.jpg | 212.6 KB | shawnpetriw |
Comments
Comment #1
shawnpetriw commentedAlso tested above with 2.x-2.0 - same problem.
Also, the "field_event_image" is a CCK field, and my Event type is a roll-your-own Event, not from the event module. It's completely built in CCK.
Comment #2
shawnpetriw commentedAlso, if I delete the original node, the cloned version of the node also loses it's connection to the picture - so it goes both ways.
Comment #3
pwolanin commentedsee README.txt - cooperation with CCK image fields is not supported. However, this has become a common enough problem that maybe it needs to be addressed in some fashion. Current support is limited to using the option to exclude that node type from being cloned.
see also: http://drupal.org/node/200092
Comment #4
shawnpetriw commentedThanks - I apologize for not reading the readme.txt more thoroughly. shawnptetriw -> RTFM!
Thanks also for pointing to the other thread.
Comment #5
pwolanin commentednote- I just fixed this problem (I think) in the other issue, http://drupal.org/node/200092