开发者

Drupal Theming - Different themes for each webform

开发者 https://www.devze.com 2022-12-17 05:00 出处:网络
I am including a webform block in a page using module invoke. The block is included as a node, and says \"Submitted byadminon Wed, 2010-01-20 14:06\" on top of the form. The devel template informatio

I am including a webform block in a page using module invoke.

The block is included as a node, and says "Submitted by admin on Wed, 2010-01-20 14:06" on top of the form. The devel template information is as follows: Template called: node.tpl.php File used: sites/all/themes/david01/node.tpl.php Candidate template files: node-web开发者_运维百科form.tpl.php < node.tpl.php

I know how to theme the webform (webform-form-###.tpl.php), but how do I theme this node in particular (node-webform-####.tpl.php is not a candidate!)


Try to define node-[nid].tpl.php - a template for a single node.
Also look through this post.

0

精彩评论

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