using d6.9 + webfrom 2.6

I'm trying to pass the %title or the URL path of a node, that has a block embedded webform, in an email. I've tried %title, %get[title], and other various combo's with no luck.

Even if I could pass one of the CCK fields from the node that would work too. Has anyone accomplished this with webform? Either passing custom CCK fields or the URL path...

Thanks in advance.

Comments

quicksketch’s picture

It's not clear where you're trying to use this token.

I'm trying to pass the %title or the URL path of a node, that has a block embedded webform, in an email.

First, there isn't a %title token to begin with, so it doesn't matter where you're trying to use it since it doesn't exist. The tokens that start with % are only available within the configuration of default values and descriptions within Webform. If you're trying to put this in your e-mails, you need to use the available PHP variables, such as print $node->title .

sunshinee’s picture

Is this what you're looking for: http://drupal.org/node/296453#webform-url-default ?

quicksketch’s picture

Status: Active » Closed (fixed)