Closed (outdated)
Project:
Bibliography Module
Version:
6.x-1.14
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
23 Jun 2010 at 09:17 UTC
Updated:
21 Dec 2018 at 19:11 UTC
Jump to comment: Most recent
Comments
Comment #1
rjerome commentedOK, I know why this doesn't work, but I'm not yet sure how to fix it in an abstract manner. I'll look into the nodereference stuff a bit deeper.
Ron.
Comment #2
rjerome commentedI have a bit of a hack if you would like to test it...
Just replace the render function in the biblio_handler_citation.inc file with the following...
Comment #3
adr75 commentedHello Simon and Ron,
Bit of a newbie question and not sure if this is the appropiate place to ask, but would you mind expanding a bit more on how you managed to set up the biblio relationship? (e.g. node reference set up, view setup) I followed your description, but can't get anything to display with Views.
Comment #4
looplog commentedhi Ron,
I've hit up against this issue. It's quite odd, as displaying citations in a view via a nodereference relationship used to work for me (I can give a link to the dev version of my site that works if you like). I tried the code above and it didn't seem to work, though it was an improvement. Rather than not displaying the citation, it just displayed the NID of each reference.
Have you had any progress trying to fix this?
Comment #5
looplog commentedJust a follow up. I re-tested the above code and it doesn't display the NID as I stated. So any view using the citation field on a referenced biblio node remains broken.
If there's anything I can do to help this along, let me know.
Comment #6
rjerome commentedI haven't had a chance to look at this yet, I'll see if I can get to it tomorrow.
Comment #7
looplog commentedThanks Ron,
In the meantime, a partial workaround is to use Nodereference_views module to output the nodereference as a citation field. It doesn't play well with multiple values though.
Comment #8
molenick commentedI encountered this problem as well, and tried out rjerome's code in #2. This workaround works for the most part, except that
doesn't necessarily work for every situation, since I believe that the presence of that key depends on what fields your view is returning. To get this to work, all I had to do was add a field that provided the referenced biblio node's nid, exclude it from display, check for that field, and load the biblio node based on its nid value.
Comment #9
liam morlandThis version is no longer maintained. If this issue is still relevant to the Drupal 7 version, please re-open and provide details.