How can I print a nodes $links in a sidebar? What function can I call to retrieve them from outside the node.tpl.php and print them? I am still on the node. Also, I can’t use Panels.
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
From the
template_preprocess_nodefunction:You may want to alter the theme function a bit for your use case. I haven’t tested how this works with other modules, but if they use the node object instead to add their links it should be fine.