Giter Club home page Giter Club logo

adminbar's Introduction

Hi there 👋

adminbar's People

Contributors

jayelkaake avatar mrpaulphan avatar sergeifilippov avatar wbrowar avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

adminbar's Issues

Category pages throw exception

Hi, I updated to the latest version of your plugin and when accessing a page with "category" not "entry" I get the following exception thrown:

Craft\CategoryModel and its behaviors do not have a method or closure named "section".

In ideas please?

Thanks in advance.
Daniel

PHP Errors on PHP5.3

I've run into couple of issues enabling this on a server running php 5.3.x

It worked without a hitch locally, but on the production server I'm getting:

Fatal error: Using $this when not in object context in ../craft/plugins/adminbar/AdminbarPlugin.php on line 18

I also had to change https://github.com/wbrowar/craft-admin-bar/blob/master/adminbar/services/AdminbarService.php#L23-L30 to use array() rather than just []

Any help would be appreciated and looking forward to your multi entry solution ;-)

Change settings link to use cpTrigger instead of hardcoded /admin/settings URI?

Love this, as I do a lot of Drupal work and find that content authors love having an admin bar at the top of the screen for editing the current content.

That being said, I cannot use this as it currently stands as I often override the cpTrigger, so /admin/settings does not work for me.

If instead you grabbed the cpTrigger (below) in your variables, it would make the settings link more versatile when users have overridden their default trigger:

craft()->config->get('cpTrigger') . '/settings'

Reorganize repo so it can be used as a submodule

If the repo is restructured so that the /services ,/templates, /variables and AdminBarPlugin.php are at the top level of the repo, then others could use it as a Git Submodule in their Craft projects under the /plugins dir (this make updates, pr's etc, easier)

LICENSE and README, etc can stay at the top, as Craft will just ignore those.

Remove admin bar from Live Preview

Though, technically, I could wrap the admin bar in a {% if not craft.request.isLivePreview %} it would be better if the admin bar did not show up in live preview by default.

When Adminbar is active, cannot clear cache or update Asset indexes

I've installed Adminbar and it shows up and works just fine on the front end. The problem is, when Adminbar is enabled, none of the bottom row of maintenance stuff on the Settings screen works (Asset indexes, clear cache, backup db, etc). When i disable or uninstall the plugin, they all work just fine.

Edit Label in the adminbar

Would prefer the "Edit" button in the adminbar to just say "Edit" without appending the section name. Our section names don't always make sense and it makes this button a little ugly/confusing/inconsistent.

Some examples
Edit Pages
Edit For Rent
Edit Inventory

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.