Community Add-Ons

Maintainers: matrix2223
Add file to this package
Top » InfoBoxes

My Account infobox V1.0
for osCommerce Online Merchant v2.2

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

Legend:  Download   Report
Expand All / Collapse All
Add "logoff" to infoboxtbox - Añadir "salir" al box sandlersc 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 matrix2223 15 Jan 2007