I'd like to create pages listing headlines by various tags; all nodes tagged "politics" would appear on the politics page, for instance. I know you can do this with a dynamic page, but I want a real page, so that I can specify where certain blocks appear, for instance, a "Vote Now" block would appear only on the politics page. How can this be accomplished? Thanks,

Ed

Comments

drupal777’s picture

As with most things in Drupal, you need to set things up properly. Once done, what you want to accomplish is easy-peasy. It looks like you want to install taxonomy_theme so that a given node can be assigned to a given taxonomy term and then, in turn, taxonomy_theme can define which theme to use. Finally, you set up your blocks specific to that theme so that only the blocks you want to show up, actually show up.

drupalfan’s picture

But I only have one theme. I want to assign a taxonomy to a node, have a page which displays only that taxonomy and have blocks which only appear on that page. I know how to do this with a static page, but not one that is dynamically created.

TBurg News

nevets’s picture

If you go to administer -> blocks, there will be a 'configure' link for each block. You can control the visibility under 'Page specific visibility settings'. From what you say you want to select 'Show on only the listed pages.', then for path use the form 'taxonomy/term/#' where # is a number (ex: taxonomy/term/4) and the block will only show for that term. You can have more than one path so the block could appear for for than one taxonomy term.

drupal777’s picture

With the method I proposed you can not only alter what shows, but where it shows. With the method just suggested it will work, but a specific block will either show up or not show up and its placement will be dependent solely on what other blocks are visible.

drupalfan’s picture

Configuring the blocks to appear only on page with taxonomy/term/# works as I wanted. Another hurdle removed.

TBurg News