A WordPress-style Frontend-Adminbar for PyroCMS. There are several areas in the bar:
- Control-panel button: This one has a dropdown with every enabled, installed, 'content'-Module that has a backend.
- "Add …" button: Dropdown, currently featured pages and blog module, planning on more but no idea how (maybe shortcuts section from module details?)
- "Edit" button: Currently works with pages and blog posts, on other views/… this is hidden
- Greeting
- Logout button: maybe include a dropdown with links to edit profile/user-management?
Put adminbar.php
in addons/default/plugins
, addons/<site_ref>/plugins
or addons/shared_addons/plugins
- Add
{{ adminbar:assets }}
to your template, preferably inside of<head>
after all the other styles - then put
{{ adminbar:show }}
somewhere into<body>
, preferably immediately after the opening tag
- Make the code nicer
- Add more "New X"
- Make Multilanguage done
- Make Module-aware done
- Make Permissions-aware (currently the adminbar displays whenever there is an active, logged-in user)
- Add an Events trigger so other people can add content to this thing
- Move away from WordPress-style, because.
- …