Welcome to Geeklog, Anonymous Tuesday, January 14 2025 @ 06:13 pm EST
Geeklog Forums
Admin Block Menu Items
Status: offline
the Modfather
Forum User
Newbie
Registered: 03/09/03
Posts: 6
Does anyone know how to add menu items to the Admin Block? Would like to have a couple of links for site admins only, but not sure how to incorporate that.
Any help is appreciated.
10
11
Quote
Status: offline
Ruatha
Forum User
Junior
Registered: 01/31/03
Posts: 26
Take a look at the Menu plugin. You can add items for different groups/users.
11
10
Quote
Status: offline
suvi
Forum User
Chatty
Registered: 11/20/05
Posts: 44
Location:Zurich
I have tried to move the statistics to the admin block.
I have added
$retval .= '<a href="http://localhost/geeklog-1.4.0b1/public_html/stats.php">Site Statistics</a><br>';
// This function will show the user options for all installed plugins
// (if any)
to function COM_userMenu( $help='', $title='' ) in lib-common.php. This added a menu entry. Not in the Admins only block, but in the User Functions block.
I have added
Text Formatted Code
$retval .= '<a href="http://localhost/geeklog-1.4.0b1/public_html/stats.php">Site Statistics</a><br>';
// This function will show the user options for all installed plugins
// (if any)
to function COM_userMenu( $help='', $title='' ) in lib-common.php. This added a menu entry. Not in the Admins only block, but in the User Functions block.
13
11
Quote
Status: offline
Dirk
Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
Quote by suvi: function COM_userMenu( $help='', $title='' ) in lib-common.php. This added a menu entry. Not in the Admins only block, but in the User Functions block.
Well, that's what you would expect, given the function's name. Hint: There's also a function COM_adminMenu ...
bye, Dirk
10
9
Quote
suvi
Anonymous
anyway. Loclahost is not good for a link ;-)
10
9
Quote
All times are EST. The time is now 06:13 pm.
- Normal Topic
- Sticky Topic
- Locked Topic
- New Post
- Sticky Topic W/ New Post
- Locked Topic W/ New Post
- View Anonymous Posts
- Able to post
- Filtered HTML Allowed
- Censored Content