开发者

Band specific pages in Drupal?

I need some help coming up with a strategy to allow "band pages". Basically, I have a website for bands with products. The w开发者_运维问答ebsite is powered by Drupal, so:

  • there are views that display the bands
  • a band is stored as a taxonomy term
  • a taxonomy term is assigned to a user using "user_terms" (so I know which username belongs to which taxonomy term)

I have a view that displays pages in this format: mysite.com/band/BANDNAME

I want these pages to be themed differently depending on the band. So, I would assume:

  • I need to create a complete drupal theme per band?
  • I need to assign the new themes to the various pages

So my questions:

  1. Is this the best way to do it?
  2. What can I use to assign the themes to the various pages?

Thank you!


Depending on how much the different band sites need to vary, you could use something like the Context module to create separate "contexts" for each band based on the URL and then assign different page templates depending on the context.

If you wanted to switch themes entirely, you could use the Switchtheme module for that.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜