Author Topic: show greeting in virtuemart login module  (Read 3981 times)

miamia

  • Jr. Member
  • **
  • Posts: 82
show greeting in virtuemart login module
« on: August 27, 2008, 23:50:54 pm »
How can I show greeting in virtuemart login module (or vituemart module)?

I need somwthing like joomla mod_login:
Hello Username.

thanks

paradise4

  • Beginner
  • *
  • Posts: 26
Re: show greeting in virtuemart login module
« Reply #1 on: October 29, 2008, 13:26:28 pm »
Hi,

I would recommend to insert the greeting into the virtuemart module. Publish the module and make shure the account maintenance link is published in the module properties.
Open [root]/modules/mod_virtuemart/mod_virtuemart.php and find the line "// Show the Account Maintenance Link".

Below

Code: [Select]
if ($perm->is_registered_customer($auth["user_id"]) && $show_accountlink == 'yes') {
  ?>
    <tr>
      <td colspan="2">


enter

Code: [Select]
Hello <?php echo ($my->name)?>
<br />

This will show the greeting with customer's full name above the account maintenance link when logged in.

Greetz
p4


gags

  • Beginner
  • *
  • Posts: 17
Re: show greeting in virtuemart login module
« Reply #2 on: November 12, 2008, 15:32:27 pm »
works well for me thanks