Hey,

I'm developing a website where I have a lot of node specific text that is going into a specific block on the site (above the links in the sidebar).

Instead of making a bunch of blocks and managing the text & which pages to view them on I'm wondering if it is possible to just create one sidebar block as a 'textholder' and then call a write a php snippet to call a field in different nodes as they load into this.

I've created a new content type called field_sidebarblurb - and add that to the content types I want to be editing this from (see http://www.tagsko.com/images/sidebar_text.jpg).

What I am wondering is; how do I call this field from a block with php?

the field is called field-field-sidebarblurb

Thank you!

Comments

tagsko’s picture

http://drupal.org/node/226032 seems to be exactly what I want!

nevets’s picture

You could also use CCK Blocks.

tagsko’s picture

ahhh. Even better! Thanks nevets :)