Reply to comment

 

Thanks for putting this out there. I was almost ready to bail from using preprocess for a project I'm working on because of problems I was having accessing node information. I could see that the node information was available in $variables, but when I tried to access it by calling out the array keys it just threw errors about not liking that.

I feel silly thinking about it now, but at the time I didn't even think of doing a node_load, because I figured I was just doing something wrong and that *certainly* I would already have access to the node object/information within the preprocess function. :p

Reply

The content of this field is kept private and will not be shown publicly.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <blockquote> <ul> <ol> <li>
  • Lines and paragraphs break automatically.