I’m trying to figure out how to get the value “[name] => Washington” from below. field_an_events_state is a D7 field type “Term reference” that looks up the state from a taxonomy vocabulary. For a normal field, I can just do
But everything I’ve tried to get “[name] => Washington” from here fails me. This is in a node tpl file.
Get related info by terms in D6 2 years 41 weeks ago
I have a great working snippet on D5 site. I would like to convert it to D6, can anyone help to try to move this snippet to D6? What would be the output please?
Thanks a lot in advance for helping me!
theming location 2 years 13 weeks ago
How can I print adminarea from the array below in a tpl?
block visibility condition if multiple images are attached 1 year 48 weeks ago
I’ve created a block slideshow that shows the attached images of an image node’s parent. Maid a view to do this, all works fine. But i want to hide this block if the number of attached images is less then 2.
Because if i show the block on an image node page where the parent just has 1 image attached, it’s a useless block because the image is already displayed in the image node body.
So i tried to apply some php code as block display condition, but my code is not working: