Drupal's use of content is strange to me

b83s - September 9, 2009 - 13:04

Hello,

I am pretty new to Drupal, and i really enjoy developing for it. But coming from Typo3 as my normal cms i have a bit of trouble with content/pages and blocks and the use of them. In typo3 you can configure per page what is being displayed, a bit similar like the "sitebuilding -> blocks" admin page, but you can do that per page. At the moment i am starting a new project and our Functional designers are custom to be able to configure the site per page.

For example:
Lets say in the right sidebar i have 3 blocks (or something else) that displays content in the form of a title, text and image and a link to an other page. 3 Totally different blocks with different content. And on every page the right side bar has a different amount of blocks and different content per block.

Could somebody explain to me what the best way is to tackle this, do i add a shitload of blocks in the right side bar and per block tell it on what page to display, but this looks a bit stupid so there should be a really nice solution for this.

Thanks in advance.
Greetings Gijs

_

WorldFallz - September 9, 2009 - 14:44

Please don't delete posts-- edit privileges are granted for corrections and clarifications, not deleting content.

As to your question, you're quite right-- blocks admin is a bit of a nightmare, but there are modules that can help. You might want to checkout the views, panels, and composite contributed modules.

_
Don't be a Help Vampire - read and abide the forum guidelines.
If you find my assistance useful, please pay it forward to your fellow drupalers.

Yeah, I can see why you'd be

dman - September 9, 2009 - 14:59

Yeah, I can see why you'd be disappointed if you expect it to work the other way.
Drupal block management is very centralized and about blocks showing up in types or parts of the site, not really so good for specific one-off pages.
Block assign apparently does things more like you want. I've not used it, but there are Drupal6 ports sitting in the issue queue.

ME, I've done that sort of thing before with cck_blocks.
Define that my page type can have a few extra text fields (eg 'sidebar' and 'pullquote') then configure cck blocks to get displayed in the appropriate region/column.
THIS approach totally eliminates any re-use of blocks, but does give me the "I want this text in a block on this page" result.

I'm thinking something could be developed to help choose blocks from pages ... but the UI would be a bit scary - the equivalent of the block admin page on every node!

.dan.

Thanks for your answers (both

b83s - September 10, 2009 - 09:00

Thanks for your answers (both of you) and from now i won't delete any content :) I will try the cck_block and will search the module repository for other solutions.

 
 

Drupal is a registered trademark of Dries Buytaert.