[support] site::name and user::name goes blank....

Kamal Palei palei.kamal at gmail.com
Fri Jun 28 05:01:46 UTC 2013


Hi Earnie
Thanks for reply.

It is a D7 platform from starting.


I have one module, if I uninstall that, then these things works fine.


Not sure, how one module if enabled, causes this problem...

BR,
kamal




On Thu, Jun 27, 2013 at 8:50 PM, Earnie Boyd
<earnie at users.sourceforge.net>wrote:

> Did you do an upgrade or a copy from D6 to D7?
>
> The tokens changed, you'll need to modify the mail template to the
> current format.  The format is given on the form edit.
>
> Earnie
>
> On Thu, Jun 27, 2013 at 9:49 AM, Kamal Palei <palei.kamal at gmail.com>
> wrote:
> > Dear All
> > Recently I noticed when account is created (D7), Drupal send a welcome
> mail
> > to user  (mode is no_approval_required),
> >
> > the format of the mail is something like this ..
> >
> > user,
> >
> > Thank you for registering at <site>. You may now log in by clicking this
> > link or
> > copying and pasting it to your browser. Please set your password
> > accordingly.
> >
> > <link>
> >
> > username: user
> >
> > --  <site> team
> >
> >
> > This was working fine till recently.  Then I have written a custom
> module to
> > send group mails. It is very simple, reads all mail ids from a table and
> > send mail one by one just making use of PHP's inbuilt mail function.
> >
> > Then I noticed, all the yellow colored text above goes blank when Drupal
> > sends mail to user.
> >
> > On further debugging found that, in function _user_mail_text (in user
> > module), the variables site::name and user::name are blank.
> >
> > Did anybody face this kind of issue anytime?
> > Kindly give me some pointer how to approach to fix this issue.
> >
> > Thanks
> > Kamal
> > Net Cloud Systems
> >
> >
> > --
> > [ Drupal support list | http://lists.drupal.org/ ]
>
>
>
> --
> Earnie
> -- https://sites.google.com/site/earnieboyd
> --
> [ Drupal support list | http://lists.drupal.org/ ]
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.drupal.org/pipermail/support/attachments/20130628/8e809502/attachment-0001.html 


More information about the support mailing list