My Forward module, just downloaded a few minutes ago, does not fill in the %name and %site placeholders. The email arrives with this in the subject and the body:

%name thought you would like to see this page from the %site web site.

I was surprised not to find a previous bug report filled out. My previous version of Forward, downloaded about 6 months ago behaved the same way. I am sorry if there was a bug report earlier and I didn't see it.

Comments

geoffb’s picture

I had the same issue but then realised that even though '%name thought you would like to see this page from the %site web site' was in the form field by default, the instructions below the form field said 'The sender's name will appear in place of !name in the message body. The web site name will be inserted in place of !site'.

I switched the % to ! and, viola, it worked!

Aleet’s picture

Hello, thanks for your reply.

My version actually uses % sign.

Message Subject: %name has forwarded a page to you from %site
Message Body: %name thought you would like to see this page from the %site web site.

seanr’s picture

Title: %name thought you would like to see this page from the %site web site. » %string updated to !string in module, breaking variables from older installs
Status: Active » Fixed

This would have happened if you updated from an older version after saving the settings page. Just update the strings and it'll work. Please do me a favor and download the latest forward.install from CVS (DRUPAL-5 branch) then run update.php and check the strings to make sure they're properly converted.

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.