1

I am working on a custom theme that's inheriting defaults from Bartik. I want to specify that the 'recent content' block should appear in the content area on the homepage, but the left sidebar on article pages.

I see how to specify a specific area for the block on a specific page, but no way to set a different area on a different page or duplicate the block. I'm thinking it might be most logical to duplicate it, so I have front-page recent content and regular recent content, since they might look a little different. But not sure how would I go about doing that?

1 Answer 1

1

I am assuming 'recent content' is "just" the output of a view, so, if I that is correct, you can create any numbers of blocks with that content by just going into views and clone()ing the display and thus creating another block that could then be placed wherever you want.

4
  • it's just one of the blocks available in the list of blocks.. I'm actually not sure where it's coming from other than that, I think it's just there by default but I don't see any corresponding View under Views...
    – Damon
    Commented Dec 12, 2011 at 2:42
  • I recommend ignoring the recent content liste d in blocks and go with Jimajamma's recommendation to create your own view. That will give you greater control of the output format and theming as well as allowing two blocks on a page defined for different content types..
    – Ashlar
    Commented Dec 12, 2011 at 3:05
  • this 'recent content' thing is not under views (i don't have anything not greyed out under views except for a slideshow plugin i used) so no idea how to clone it..
    – Damon
    Commented Dec 12, 2011 at 3:50
  • 1
    my point is that you can create a view, filter it on node types you are interested in, sort it by post date, and format it to your site's specific heart's content, no pun, and then create as many blocks from that as you want.
    – Jimajamma
    Commented Dec 12, 2011 at 4:36

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.