Skip to content

madbonkey/adminbar

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PyroCMS Adminbar

The Bar

A WordPress-style Frontend-Adminbar for PyroCMS. There are several areas in the bar:

  1. Control-panel button: This one has a dropdown with every enabled, installed, 'content'-Module that has a backend.
  2. "Add …" button: Dropdown, currently featured pages and blog module, planning on more but no idea how (maybe shortcuts section from module details?)
  3. "Edit" button: Currently works with pages and blog posts, on other views/… this is hidden
  4. Greeting
  5. Logout button: maybe include a dropdown with links to edit profile/user-management?

Installation

Put adminbar.php in addons/default/plugins, addons/<site_ref>/plugins or addons/shared_addons/plugins

Usage

  1. Add {{ adminbar:assets }} to your template, preferably inside of <head> after all the other styles
  2. then put {{ adminbar:show }} somewhere into <body>, preferably immediately after the opening tag

Todo

  • 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.

Screenshots

Screenshot Screenshot Screenshot Screenshot Screenshot Screenshot Screenshot

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published