开发者

Band specific pages in Drupal?

开发者 https://www.devze.com 2023-03-04 16:51 出处:网络
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:

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

精彩评论

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

关注公众号