Hi All,

This must be something simple to do, but I have been searching haven't come up with the answer.

I've got a view that displays several nodes. In this case they are bio pieces for various individuals. At the top of the page we would like some introductory text that says something like "Our advisory board is composed of..."

How do I do this? Surely there is a clean, simple way. The best I have been able to come up with is to create a "block" display for my view, then put that block in the "content" area and configure it to only show up on a specific page.

The problem is that a) the content is themed as a block, not like the rest of the content in the content area, and b) it seems unwieldy to have to do this every time we want introductory text for a view--if we have a dozen views, and all need introductory text, we'll wind up with the "content" area on the blocks admin page having 12 different view "blocks" in it. What do we do if that number grew to 100 views? 1000?

Thanks for any tips!

-Josh

Comments

dopedwizard’s picture

In the view itself there is a header section that you can edit. Not sure what it is called if no one replied to your post till I get home I let you know.

jbeall’s picture

I didn't think of this because I was so intent on looking for a way to use another node as the header.

This will work, but has the unfortunate drawback of meaning that in order to allow a site editor to change text of the header, they need to be able to administer views.

For our site editors, this may be a bit overwhelming. Views are powerful and complex, and it would be easy for them to either get lost, or break something when they go to the views administration.

If there is a way we can just use a node as the header, that would solve this problem. Then the editors just need rights to edit that header node.

Thanks!

-Josh

agerard’s picture

I know this is an old thread but I just came across it - when specifying a header in a view it does give you the option of selecting a node to use (via id), but then there doesn't seem to be a way to get it not to display the node title - and worse, it makes it linked to this standalone piece of intro text. Anyone have any workarounds for that?

jeffyt’s picture

Except I want to put some introductory text before the forum page.

shady_gun’s picture

Use blocks but make sure your forum topics are uniquely aliased as forum/title etc .. Then you can easily put a block using show on listed pages ..

mcfilms’s picture

You guys may be interested in this module:
http://drupal.org/project/views_ui_basic

This looks like the perfect solution. I have not tried it yet, but I am so using it on the next site I do.

A list of some of the Drupal sites I have designed and/or developed can be viewed at motioncity.com

ayesh’s picture

This worked everytime and all of my clients were happy to get rid of Views console!