question:

1. how to add image icon to primary or secondary links?
for example: I want use a shopping cart icon with text "your cart" as a secondary link, how can I add the cart icon on to it. it seems only accept text as links.

2. when a user logged in, where or how can I get the user name for further use? in a variable or stored in database, either way, how can get it and used in the preprogrammed files?

thanks a lot

george

Comments

ainigma32’s picture

Assigned: zlu526 » Unassigned
Status: Active » Postponed (maintainer needs more info)

See here http://drupal.org/node/44711 for info on adding images to the menus.

The logged in user is available through the $user global variable.

Please post back if that works for you.

- Arie

ainigma32’s picture

Status: Postponed (maintainer needs more info) » Fixed

Looks like zlu526 won't be posting any feedback so I'm setting this to fixed.

Feel free to reopen if you think that is wrong.

- Arie

Status: Fixed » Closed (fixed)

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