Hi Everyone. It would be nice if I could get some advice...

I'm looking to create a very simple looking page - not hugely different from the default Drupal homepage. The page will have a pagable list of nodes (View) but I would like the place some static content (Page) above it. What would be the best way of placing a node at the top of a Views Page?

Node As Block? Panels?

Any advice would be much appreciated. Thanks.

Comments

nevets’s picture

Views include the ability to specify a page header and/or footer. Look under 'Basic settings'.

scarecrow-rye’s picture

Thanks. But I'm thinking about this from an end-user point of view - once I've built the site and handed it over to the client, I really don't want them delving into Views. I want to limit them to creating and editing nodes.

nevets’s picture

Panels would be one way. Also since the header can use PHP, you could have a header something like

$nid = 123; // Node id for header
$node  = node_load($nid);
print node_view($node);
scarecrow-rye’s picture

I've taken a look at Panels, but it seems a bit of an overkill to use it just to display one additional Node.

Placing PHP within the header of a View could be the best option. Thank you. The only downside I can see is that the Node ID has to be embeded within the PHP. Deffinitely a step in the right direction though.

scarecrow-rye’s picture

Just because of the flexability, I think I shall go ahead and use Node Blocks (http://drupal.org/project/nodeblock) to display my headers and target them to specific pages.