Anssi Posted February 18, 2019 Posted February 18, 2019 A simple module to enable easy navigation between the public and the admin side of the site. After installation a green bar will appear to the upper side of the screen, containing a few navigation elements and displaying the PW version number. Heavily inspired by @apeisa's great AdminBar (Thanks!). I needed a bit simpler tool for my projects and as a result, this was made. Available on GitHub . 14
Mike-it Posted July 23, 2019 Posted July 23, 2019 As simple as helpful, very appreciated! Thanks! For full compatibility of the module I would add in the settings "you admin path" because the default "processwire" may not always be used. And (as in my case) this leads to a page not found. Or alternatively in the readme file make it known. 1
bernhard Posted July 24, 2019 Posted July 24, 2019 You don't need a setting for that, it's already available as $config->urls->admin ? 3
Anssi Posted July 24, 2019 Author Posted July 24, 2019 @Mike-it @bernhard Thanks, I've now updated the module on GitHub. I'm not sure how to update the version number in the module directory, but the updated version is downloadable from GitHub. It states "If your module's source code is hosted at GitHub, the directory will keep the version and README fields up-to-date automatically (once daily)", but I'm not familiar with the method that the directory uses for version number detection. 1
gmclelland Posted July 24, 2019 Posted July 24, 2019 I think you can just increment the version number from 100 to 101? 1
Anssi Posted July 25, 2019 Author Posted July 25, 2019 I'd guess so too, but when I edit the version number to 1.0.1 at https://modules.processwire.com/edit/tiny-bar, it's still 1.0.0 after saving.
teppo Posted July 25, 2019 Posted July 25, 2019 1 hour ago, Anssi said: I'd guess so too, but when I edit the version number to 1.0.1 at https://modules.processwire.com/edit/tiny-bar, it's still 1.0.0 after saving. In your .module file you've specified version 100 (1.0.0), so that probably overrides the value at modules.processwire.com. You should update your module file (in GitHub) instead, and the modules directory entry will auto-update after a while. 2
bernhard Posted July 25, 2019 Posted July 25, 2019 24 minutes ago, teppo said: modules directory entry will auto-update after a while. Or just submit the module edit form ? 2
teppo Posted July 25, 2019 Posted July 25, 2019 6 minutes ago, bernhard said: Or just submit the module edit form ? Yeah, or do that (after updating the version in the module file) if you're in a hurry ? 2
Anssi Posted July 25, 2019 Author Posted July 25, 2019 Of course... I can't believe I missed this. Thanks. 1
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now