Closed (fixed)
Project:
Drupal core
Version:
6.9
Component:
base system
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
17 Jan 2009 at 03:27 UTC
Updated:
15 Feb 2009 at 12:50 UTC
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
Comment #1
ainigma32 commentedSee here http://drupal.org/node/44711 for info on adding images to the menus.
The logged in user is available through the
$userglobal variable.Please post back if that works for you.
- Arie
Comment #2
ainigma32 commentedLooks 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