I've been debugging this issue, since I noticed that if I enabled user pictures in nodes on the theme settings, the picture wasn't showing up.
I dpm'ed $vars in basic_preprocess_node, and found out that the variable is called picture, but in node.tpl.php, basic is trying to print $user_picture;, which doesn't exist.
So basicaly all you have to do is change line 8 inside of node.tpl.php from:
print $user_picture;
to:
print $picture;
And you'll have your user pictures in your nodes as expected.
Couldnt find a minute to create a proper patch, but I thought I'd let you guys know anyway - it's not a big change so no sweat i guess =)
Greetings from Spain, and hopefuly see you in Paris!
Comments
Comment #1
manuel garcia commentedSame goes for comment.tpl.php, change line 12 to:
print $picture;Comment #2
Anonymous (not verified) commentedThanks for catching this ! Release 2.6 was a mess, I fixed this and some region bugs now in 2.7
Gold star @Manuel Garcia !