1 markfaulkner Jan 10, 2006 02:03
3 markfaulkner Jan 14, 2006 22:16
This technique does not seem to change the default link to the admin area from this:
user_admin_link( '<li>', '</li>' )
I know there is a way to edit the bits between ( ) to hard code the page the user is directed to but what I was hoping was that upon login the user would not be taken to what now appears as the default 'Tab' in the admin area (http://testing.nthview.com/admin/b2edit.php?blog=0), which is the post to blog 'Tab' but instead some other tab would be the default tab. I've looked in the _admin.php thinking it might be there but no luck.
I've created a sort of landing page (blog_home.php) with its own tab and had hoped to automatically redirect users to this tab upon login.
-Mark
Thanks
4 personman Jan 14, 2006 22:23
user_admin_link( '<li>' , '</li>', 'blog_home.php' )
5 blueyed Jan 15, 2006 20:08
Just for info:
I've just committed a fix, so that the $page param for user_admin_link() defaults to '' (empty) and therefor will respect /admin/index.php in the future (from Phoenix-beta onwards).
/admin/index.php has these lines:
If you create a new file for your page, you could just put its filename where b2edit.php is in the code above.