Contributions

InfoBoxes (Category Index)
Search: 

My Account infobox V1.0

This was made to let customers quickly find which section of their account they wanted to go to, with out having to go to the account page.

It adds an info box on left/right column and only is activated by a customer logging in.

Has the same links as your account.php has.

Any qustions feel free to ask.

Eric

Expand All / Collapse All

Add "logoff" to infoboxtbox - Añadir "salir" al box 16 Nov 2007

Simply 2 step / Sólo 2 pasos:

1- Change / Cambia:

'<a href="' . tep_href_link(FILENAME_ACCOUNT_NOTIFICATIONS, '', 'SSL') . '">' . BOX_ACCOUNT_INFORMATION_EMAIL_NOTIFICATIONS_PRODUCTS . '</a>'

with / con:

'<a href="' . tep_href_link(FILENAME_ACCOUNT_NOTIFICATIONS, '', 'SSL') . '">' . BOX_ACCOUNT_INFORMATION_EMAIL_NOTIFICATIONS_PRODUCTS . '</a><br>' .
'<a href="' . tep_href_link(FILENAME_LOGOFF, '', 'SSL') . '">' . BOX_ACCOUNT_INFORMATION_LOGOFF . '</a>'

2- Add in your languaje file / añadir en tu fichero de lenguaje (espanol.php or similar / espanol.php o similar)

define('BOX_ACCOUNT_INFORMATION_LOGOFF', 'Salir');

(In english change "salir" with "log off")

Great contribution, thanks to the author / Gran contribución, gracias al autor.

My Account infobox V1.0 15 Jan 2007

Note: Contributions are used at own risk.