开发者

Drupal: Use separate theme for a front page

How to use separate theme fo开发者_运维问答r a front page and quite different theme for the other pages?


Instead of creating a completely separate theme, you can also override the front page template (page-front.tpl.php) in your current theme. I'm not saying that you should never use a separate front page theme, but overriding the template is often an easier solution with less overhead.


You can try the Themekey module, that allows setting different themes to given paths (you can use the path to target the frontpage).


You can also use the Context module.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜