简体   繁体   English

Drupal网站中的多个标头

[英]Multiple header in Drupal website

I want to make 2 headers one for home page and one for rest of website (they would be almost same just have little change). 我想为首页设置2个标头,为网站其余部分设置2个标头(它们几乎相同,只是几乎没有变化)。 I'm using Drupal 7. Please guide me any simple way because I know bit difficult way through using its url. 我正在使用Drupal7。请以任何简单的方式指导我,因为我知道使用URL的方式有些困难。

Thanks in advance :) 提前致谢 :)

Put each of headers in a separate block then position these 2 blocks in the header of your theme (menu structure then blocks). 将每个标题放置在单独的块中,然后将这两个块放置在主题的标题中(然后菜单结构)。

For the one on the front page, go inside the settings of the block then check "Only the listed page" and add : <front> 对于首页上的内容,进入块的设置内,然后选中“仅列出的页面”并添加: <front>

For the one everywhere but on the front page, go inside the settings of the block then check "All pages except those listed" and add <front> . 对于除首页以外的所有页面,进入块的设置,然后选中“除列出的页面之外的所有页面”并添加<front>

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM