0

On my home page I want to have a series of 'blocks'. Here is a graphic illustrating what I would like to achieve

views prototype

The first two would be updated with the latest two blog post, the third would be the Facebook feed iframe, then the last three would be images promoting a different page on the site via a link.

I currently have each of these blocks prepared as separate views. Each of these are hard-coded into page.tpl with views_embed_view(). This isn't ideal as I want to be able to easily add and remove these boxes from within the Drupal admin.

How do I create a 'master view' to display on the front page that will hold these separate views?

5
  • are you using Context module?
    – Aboodred1
    Commented Mar 27, 2013 at 14:37
  • No, I'm quite new to Drupal, I'll check it out
    – tommyf
    Commented Mar 27, 2013 at 14:39
  • are you using custom theme or contributed one?
    – Aboodred1
    Commented Mar 27, 2013 at 14:44
  • I think the best would be a using context module or Page manager provided in the ctools package.
    – Jayaram
    Commented Mar 27, 2013 at 15:06
  • 1
    This sounds like a job for Panels.
    – Triskelion
    Commented Mar 27, 2013 at 15:07

1 Answer 1

1

It seems there are many ways to achieve the same result in Drupal. In the end I went for 'Context'. By using 'Panels', it does not appear to be flexible enough to easily add extra blocks when needed.

  • Set the condition to <front>
  • In reaction add blocks
  • Then drop in all the required views into content

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.