Welcome to Our Community

Wanting to join the rest of our members? Feel free to sign up today.

Sign Up

Drupal: how to add a field of content to the sidebar(a block)

Discussion in 'Web Design Forum' started by Lafaso870, Jan 7, 2011.

  1. Lafaso870

    Lafaso870 Banned

    The fields only showed in the content area. Can I configure one or two fields to display in the sidebar (or a block)?

    Thank you.
  2. michelledancer

    michelledancer New Member

    Are you talking about a CCK field? You want to display the node in the main section of the page, but then display the CCK field(s) in the sidebar?

    If I'm understanding correctly, you could create a block using Views that displays only the field(s) you need, then set that block to take the currently displayed node's ID as an argument so it always displays the fields related to the shown node.

    You can stop fields from showing up in the main content area by setting them to "hidden" in your content type settings.

Share This Page