I've created a two column panel that lists three sections for specific taxonomy terms- health, diet, beauty in right hand column. Each section/block lists 7 node titles linked to the node. So in Views, I essentially created a health block, health page, etc (see attached). For three taxonomy terms this is manageable, but I have other sites with many more taxonomy terms.

Is there a better way to do this?

Comments

merlinofchaos’s picture

Status: Active » Fixed

You can create just one view, and use the taxonom: Term ID argument.

Then, in the panel, create a context for each taxonomy term you want to display. Then, choose the appropriate term context to fill in the argument.

Thomasr976’s picture

Thanks. This sounds similar to what u did in the Panel Demo. Is that correct?

merlinofchaos’s picture

Similar, but it doesn't actually use contexts, which makes it hide what's going on a little bit.

Thomasr976’s picture

Really appreciate your help. Just one more question please:

Then, in the panel, create a context for each taxonomy term you want to display. Then, choose the appropriate term context to fill in the argument

So for each pane (say I have 4 taxonomy terms) in the panel, I will create that context. Right? Thanks.

merlinofchaos’s picture

That's right. You will probably want to make sure the contexts are named appropriately, as well, as their identifiers will show up in the admin title of the page (which is the primary reason to do it).

Thomasr976’s picture

Thanks. Very grateful for your help and the great mods you have developed. Thomas.

Thomasr976’s picture

I created that view and did exactly what you said. it worked like a charm. Many thanks.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.