Hey guys,
I need to add some links to my admin page, database link, counter tracking link etc.. I used to just edit the serendipty_admin.php file but after upgrade to v1.4beta I can not. Any help would be great.
Edit admin links
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Re: Edit admin links
Hi!
The best way is to create an event plugin that hooks into the various hooks (backend_sidebar_entries, backend_sidebar_images, ...) to emit your links.
If you want to hardcode the links directly, you now need to edit the templates/default/admin/index.tpl (or templates/bulletproof/admin/index.tpl, when you use bulletproof) file.
Regards,
Garvin
The best way is to create an event plugin that hooks into the various hooks (backend_sidebar_entries, backend_sidebar_images, ...) to emit your links.
If you want to hardcode the links directly, you now need to edit the templates/default/admin/index.tpl (or templates/bulletproof/admin/index.tpl, when you use bulletproof) file.
Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
-
Don Chambers
- Regular
- Posts: 3657
- Joined: Mon Feb 13, 2006 2:40 am
- Location: Chicago, IL, USA
- Contact:
Re: Edit admin links
FYI - Bulletproof does not use its own /admin/index.tpl.... it only has a stylesheet and graphics. If you are using bp, and you do want a custom /admin/index.tpl, copy the index.tpl file from /templates/default/admin to /templates/bulletproof/admin/garvinhicking wrote:If you want to hardcode the links directly, you now need to edit the templates/default/admin/index.tpl (or templates/bulletproof/admin/index.tpl, when you use bulletproof) file.
=Don=