GetSimple Support Forum
Changing Admin Panel start page - Printable Version

+- GetSimple Support Forum (http://get-simple.info/forums)
+-- Forum: GetSimple (http://get-simple.info/forums/forumdisplay.php?fid=3)
+--- Forum: Scripts & Components (http://get-simple.info/forums/forumdisplay.php?fid=11)
+--- Thread: Changing Admin Panel start page (/showthread.php?tid=782)



Changing Admin Panel start page - Carlos - 2010-06-07

When you log in GetSimple admin panel, you are taken directly to Page Management.
You may prefer to start with a different tab, or your favourite plugin.

To do this, edit /admin/inc/configuration.php line 16 (GS 2.0x) or line 18 (GS 3.0):
Code:
$cookie_redirect = 'pages.php';

Examples:

Start with File Management:
Code:
$cookie_redirect = 'upload.php';

Start with your typical plugin:
Code:
$cookie_redirect = 'load.php?id=typicalplugin';

Start with SquareIt GS Gallery:
Code:
$cookie_redirect = 'loadtab.php?id=squareit-gallery&item=squareit-gallery';

(Sorry, I haven't found a way to do this without patching the core... don't think it can be done with a plugin right now)

(Edit: updated for GS 3.0)


Changing Admin Panel start page - Zegnåt - 2010-06-07

Carlos Wrote:Don’t think it can be done with a plugin right now
I think you’re right. I don’t think we’ll make it able for plugins to do either, plugins battling to be the first screen you get is something I would try to avoid.

It’s a pretty nice trick though, thanks for sharing.


Changing Admin Panel start page - Carlos - 2011-06-04

This trick was for GS 2.0x
In GS 3.0, it's line 18 instead of 16.