I have some Views which display specific content types.
On these views I want to display a block containing a menu.
What I have found is that I can restrict the block containing the menu to certain pages and include the views in those pages, and this works fine but when a user clicks on the teaser through to the actual article it is no longer in the page list and so doesn't display the menu.
I can also restrict the menu block to specific content types in which case the situation is reversed i.e. it displays on the page containing the node (because it is of the content type) but not on the page containing the view.
开发者_StackOverflowIs there a way I can display a block so that it meets both a specific page criteria and a content type criteria?
If I'm understanding you correctly... In the block's configuration page you can choose which pages to show the block. If your content type was article, and your view was a page display with a path of path/to/view
, you could use settings like this:
精彩评论