Closed (fixed)
Project:
Content Construction Kit (CCK)
Version:
6.x-2.8
Component:
nodereference.module
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
30 Oct 2010 at 17:45 UTC
Updated:
8 Jun 2012 at 22:47 UTC
Comments
Comment #1
benanne commentedI'd also like to know how to remove this. I checked the field configurations and the views that use those fields to see if there are any options regarding this addition, but I haven't found any.
Comment #2
giorgio79 commentedComment #3
fgmThis does not seem to be the case currently. The referenced node is now just wrapped in a
<span class="node-unpublished">element, without additional words.Can you still see it in any way ?
Comment #4
giorgio79 commentedThanks will check, have not yet immersed myself in D7 but I was told I have to put such requests for D7. Perhaps benanne can confirm :)
Comment #5
danielb commentedI don't see anywhere in the Drupal 7 code that outputs (unpublished), whereas in the Drupal 6, it is there in the formatters:
theme_nodereference_formatter_default()
theme_nodereference_formatter_plain()
If you're still on Drupal 6, you can easily override this stuff, since it is themeable
Check out the theme guides if you don't know how http://drupal.org/node/457740
Comment #6
fgmReturning to CCK 6.2.8, according to #2 and #5
Comment #7
rlnorthcuttThe "(Unpublished)" string is properly wrapped with the t() function - so you can "translate" it to nothing. Use the strong override in the settings.php for your site and make it blank:
Since this is so old, I'm marking it closed as well.