By amysragbag on
Hello. This is probably a dumb question, but hopefully a quick one!
I'm reading instructions where I'm to rename a file by putting a node id into it. It says, "rename the file "webform-mail-[node id here].tpl.php", replacing [node id here] with the node ID of the webform."
Say my node id is 33, what is the file name going to be? For example webform-mail-33.tpl.php, webform-mail-node-33.tpl.php, webform-mail-nid-33.tpl.php and some other guesses didn't work. I think I'm out of guesses. I have been clearing the cache after each attempt.
Thanks so much!
Comments
The issue is more likely to
The issue is more likely to be where you're storing the files you're creating ("webform-mail-33.tpl.php" is correct) are you putting them into your theme folder? If so, perhaps try deleting the webform tpl file in the module folder (for debug purposes).
Pobster
Thanks Pobster! The
Thanks Pobster! The instructions say "Copy (do not move!) the "webform-mail.tpl.php" file to your theme directory." So I put the new file in sites/all/themes. Is that the right location? I deleted the original file in the module folder on your advice, but that caused an error message so I put it back.
No you have to actually put
No you have to actually put it inside your theme folder, so say you're using ... Bluebreeze; sites/all/themes/bluebreeze/webform-mail.tpl.php
To get Drupal to recognise the new tpl file you have to flush the theme registry cache but it sounds like you've already worked that bit out ;o)
Pobster
That did the trick! Thanks
That did the trick! Thanks so much :D