Greetings from New Zealand.

I would like to edit the 'Login successful' message so it also contains a username, such as 'Welcome $username' I have tried adding this to the loginToboggan.module file, but it only displays the text 'Welcome $username' and does not display the username.

Is there a way I can edit this to get it to display the username?

If there is could you please provide a full explanation of the procedure.

Many thanks,

Shane.

Comments

hunmonk’s picture

Status: Active » Fixed

If there is could you please provide a full explanation of the procedure.

free support doesn't get you that... ;)

but here's the general idea so you can dig further into it: a) don't ever hack a module directly if you can avoid it, b) learn how to do theme overrides, c) check out theme_lt_login_successful_message().

good luck!

Status: Fixed » Closed (fixed)

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