Active
Project:
NodeReferrer
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Anonymous (not verified)
Created:
26 Aug 2008 at 21:01 UTC
Updated:
26 Feb 2019 at 21:00 UTC
Is it possible to display unpublished referred nodes with NodeReferrer?
Comments
Comment #1
trailerparkopera commentedYes...but you have to modify the module.
Replace (on line 400 or so in nodereferrer.module):
With this:
Notice the change in the INNER JOIN line.
A colleague and I will work towards making a patch that adds this as a configuration option and submit it here for consideration for inclusion. Meanwhile, this will do what you want I think.
Comment #2
pztrick commentedThank you this is exactly was I was looking for. Works great.
I actually use a Views 2 block to display my node referrers field -- so even with this module edit it is still possible for me to block unpublished nodes by adding a views filter... perhaps the change trailerparkopera showed above should be the default behavior for this module, and let persons with other needs adjust it with views?
good luck adding a configuration option, trailerparkopera.
Comment #3
nardberjean commentedI plan to use the module revisionning in a way where it is important that unpublished refered nodes appear.
Comment #4
andypostThis should be implemented as option for field some kind of #416332: Option in views to only display the number of referrers node ( count the child node of a cck node and display the number )
Comment #5
sylvaticus commentedSAme need here.. it would be nice to have a field-option to include/exclude unpublished nodes (I use it as a list of reviewers for editors that are the only one that can access that field).