开发者

How to have a three column home page in Drupal

开发者 https://www.devze.com 2023-01-04 18:32 出处:网络
The home page of this site will have basically a 3 column layout. I can create these as either content or blocks. I like using content because its easy for the user to understand, they login to the s

The home page of this site will have basically a 3 column layout.

I can create these as either content or blocks. I like using content because its easy for the user to understand, they login to the site, they browse to the page they want to edit, they click edit, but with blocks they have to go into Administer > B开发者_运维知识库locks etc

Any suggestions on this?


I would be managing the actual content as nodes(content) and then looking at blocks(or something like it) to arrange them how you like in your template regions.

If you are looking at creating custom home and/or landing pages, you might also want to look at http://drupal.org/project/panels - it can be a little heavy, but quite powerful for arranging content into columns and whatnot.


Not really sure what you're asking... Administer > Blocks is for moving the blocks around into regions / disabling them, not really for creating content.

You can use the Node as Block module to easily turn your nodes into blocks, and they would still edit it from the content administration section.

Or, you could create a blank block, and in its associated template file (block-whatever.tpl.php) embed the node (node_embed, pretty much what the Node as Block module does) or query for it with a view and embed that (views_embed_view)

Or, if you're using views, you could create a view that queries for the node(s) you want and create a block display for that.

When you're actually building the Drupal site, you should consider what paradigm you're most comfortable with since there are so many ways to get your content together.


i would say boxes will help you. http://drupal.org/project/boxes


Many themes have block edit links/images as a part of them. Fusion is one such example.


I would suggest looking into Panels for layout and block editing, and also to download a version of open atrium. The layout management is uses is much easier than the administer blocks pattern.

0

精彩评论

暂无评论...
验证码 换一张
取 消