Posted by ithacaindy on April 30, 2010 at 4:52pm
Can I create a new context (or clone an existing one) that would allow me to have more control over when blocks appear?
My idea is to create a "movie_page" context that is a duplicate of the standard context page, except it places some movie review blocks only on that page. Is this possible?
(Contexts are opening creating many possibilities.)
Comments
There's several possibilities
There's several possibilities for that:
1) Create a normal drupal page and name it what you like.
2) Create a content type called movie_review (imo better solution) and create a new view called movie_review
Make sure that content is seen for a normal user.
From there go to admin/build/context/add
For 1) you can select the path that the page has
For 2) under "Views" select the view that you created.
Slect the content to be seen from there as well.
Then go to your page/view and check how fine you did :)
Ronald
Thanks; I also like option
Thanks; I also like option #2. Once I began editing contexts, the mystery went away and I saw all the possibilities. Before views and context, I was driving myself slowly insane trying to place a block visible only on a certain taxonomic term. Since the block view feature works only with actual pages, I was going nowhere very fast.
As for the context/view to create different sections, I'm thinking of cloning the front_page context and using it as a template for the various sections. For instance, instead of front page articles, I would have an entertainment section with views to my movie reviews, music and so on.
How Do I Disable the General View?
I want to create contexts for individual sections of my news site. Currently, there is a front page and then a sitewide general context. Here's the problem: even if I clone the front page context for my sections, the sitewide general context still controls the layout. I've tried disabling the general context, but it still seems to remain active.
Here is what I want to do:
Thanks in advance.