Posted by theactivedesigner on January 28, 2013 at 11:43am
Hi Drupal Commuity,
I'm a new drupal user and I've got a question. I know that I can exlude pages from displaying some blocks. But I want to realise a sidebar with different blocks (different text or images inside) for each page. Does anybody have an Idea how to do that very easy (without excluding every block for every page) so that the clients can change the content of the different blocks by theirselves? Maybe their is a drag and drop solution?
Greetings
activedesigner
Comments
You may look at
You may look at block_instances module, or perhaps you can create a custom block in custom module.
-Imran
I had a similar issue. I felt
I had a similar issue. I felt that the block administration interface was a little too intimidating to hand over to my administrators, but I needed them to be able to manage blocks. I could not find a module that would allow my admins to add and manage blocks in an easy way. So here is what I did:
First, I installed Views and Entity Reference.
Then, I created a simple new content type called Page Block that had fields for Title, Body, an entity reference to a page (let's call it "Page Visibility").
Then I created a Block View of Page Blocks, filtered by Page Visibility so that only the Page Blocks only showed up on pages referenced by it.
Embedded the View in a region and that's it. Now admins can add and manage content instead of blocks, which I think is easier. I also added a weight fields so they could be sorted. Things got bad when I added a checkbox for "Global Visibility" because Views could not handle an "OR" between the entity reference filter and a field filter. I ended up having to write a custom module to allow some "blocks" to be globally visible.
So, it's not perfect, but pretty easy to implement and it keeps your admins from having to use the block visibility settings, which I don't think are very user friendly.