Closed (fixed)
Project:
Webform
Version:
4.7.x-1.x-dev
Component:
Documentation
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
2 Sep 2006 at 01:43 UTC
Updated:
16 Sep 2006 at 06:30 UTC
The theming.txt file included with the 4.7 release of webforms includes the following:
function phptemplate_webform_form_nodeIdHere ($form) {
return _phptemplate_callback('webform_form_nodeIdHere', array('form' => $form));
}
and
- Create a new file in your theme's directory named
"webform_component_nodeIdHere.tpl.php", once again replacing nodeIdHere
with the node ID of the webform.
This did not work. When changed to:
function phptemplate_webform_form_nodeIdHere ($form) {
return _phptemplate_callback('webform_component_nodeIdHere', array('form' => $form));
it works.
Alternatively it works if you changed the name of the theme file to webform_form_nodeIdHere.tpl.php. This may be more consistent?
Comments
Comment #1
quicksketchThanks, looks like your 'alternative' way is the better way to go. I've fixed the line and commited. Thanks again!
Comment #2
(not verified) commented