Download & Extend

The hook_preprocess_node() implementation does not work on any pages showing more than one parent node (e.g. a view or taxonomy)

Project:Node Reference Variables
Version:6.x-1.1
Component:Code
Category:bug report
Priority:normal
Assigned:greg.harvey
Status:active

Issue Summary

Because the module uses the $vars['id'] variable to only execute on the first pass of nodereference_variables_preprocess_node(), if there is more than one node on a page then it will never load the children of any nodes other than the first in the list.

Need to rewrite this with a custom counter to handle lists of nodes.

Comments

#1

Greg, thanks for this great module!

Is there any chance that this issue above will be fixed anytime soon? Is there a simple workaround that I can use in the meantime?

#2

Hi,

Thanks for bumping this - I forgot about it. It's not a difficult fix, but I haven't had chance to look at it. If I get a spare few hours over the holidays I'll take a look, but I'm afraid I can't promise anything.

nobody click here