Giter Site home page Giter Site logo

gergo85 / oc-backend-plus Goto Github PK

View Code? Open in Web Editor NEW
23.0 5.0 22.0 392 KB

Backend toolkit plugin for October CMS and Winter CMS.

Home Page: http://octobercms.com/plugin/indikator-backend

License: MIT License

PHP 87.62% HTML 11.62% CSS 0.22% JavaScript 0.54%
octobercms octobercms-plugin wintercms wintercms-plugin

oc-backend-plus's Introduction

Backend toolkit plugin

This plugin extend the back-end to useful features and some new dashboard widgets. The Backend Plus will get only minor updates. If you want premium features, please use the Backend Elite plugin.

Advantages of plugin

  • Delete the unused files and folders! - Scan and find the unnecessary elements.
  • Be simpler the back-end interface! - Hide the unused elements and texts.
  • Make an informative nice dashboard! - Add some new widgets to dashboard.

More cool features

  • Increase the speed of your webpage! - Enable the gzip compression of server.
  • Let's work effectively and quickly! - Extend the operation of input fields.
  • Set the back-end features as global! - Available the settings for other users.
  • Modern, re-design dashboard widgets! - New look for stable OctoberCMS.
  • Brand new form widget elements! - Datepicker, Timepicker and Colorpicker.
  • Turn on useful automatic operations! - Delete cache, October.Demo plugin, etc.

If you like this extra features, use the Backend Elite plugin. This is the extended version of Backend Plus.

New back-end features

  • Focus the search field automatically.
  • Hide the menu description in sidebar.
  • Rounded profile image is optional in top menu.
  • Hide the search field in sidebar.
  • Show a right-click menu on Back-end.
  • Show the virtual keyboard by input fields.
  • Hide the label in top menu.

New menu in System panel

Delete the unused files and folders of OctoberCMS such as text files (readme and license), old files, empty folders and unnecessary database settings. You can find this feature on the Settings > System > Trash items page. For compatibility reasons you can use the latest version of OctoberCMS and plugins! The automatically operation will be available in the Backend Elite plugin.

New dashboard widgets

  • System status plus (updates, plugins and themes)
  • Versions (CMS, PHP and GD library)
  • RSS viewer (title, date and description)
  • Logs (event, access and request)
  • Cache storage (view diagram and delete files)
  • Random images (hundreds of high-quality photos)
  • Last logins (date, user name and IP address)
  • Administrators (users, groups and last login)
  • PHP settings (upload limit, memory limit and timezone)
  • Server info (host, IP address and operation system)

The brand new, re-design style is available in the Backend Elite plugin.

Available languages

  • en - English
  • de - Deutsch
  • ru - Русский
  • es - Español
  • hu - Magyar
  • pt-br - Português
  • sl - Slovenščina
  • tr - Türkçe

Installation

  1. Go to the Settings > Updates & Plugins page in the Backend.
  2. Click on the Install plugins button.
  3. Type the Backend Plus text in the search field.

Activate features

  1. Go to the Settings > Back-end preferences page in the Backend.
  2. Click on the Display or Behavior tab.
  3. You can activate any new features.

Add widget

  1. Go to the Dashboard page in the Backend.
  2. Click on the Manage widgets > Add widget button.
  3. Select the any Backend Plus widgets from the list.

Credits

oc-backend-plus's People

Contributors

b0gok avatar damsfx avatar gergo85 avatar jh2odo avatar kksudo avatar lincolnbrito avatar magiczne avatar mahony0 avatar mokeev1995 avatar tobias-kuendig 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

Watchers

 avatar  avatar  avatar  avatar  avatar

oc-backend-plus's Issues

Hiding wrong icon when used in combination with Static Pages

When using Backend plus and setting it to hide the file manager it hides it correctly but when keeping this setting and then installing the plugin Static Pages it hides that link instead and file manager link reappears next to it.

It uses the wrong css selector to hide the link #layout-mainmenu li:nth-child(3) since its not always the third link.

Cache Widget

Clean install, getting the following message when trying to clear cache with the widget

Обработчик AJAX не найден: 'onClearCache'.

In english

AJAX Handler not found for: 'onClearCache'

Issue with october 3

Hello,
for everyone getting errors like this after October3 upgrade:

A syntax error was detected in /plugins/indikator/backend/updates/version.yaml. The string "!!! Updated for October 420+." could not be parsed as
  it uses an unsupported built-in tag at line 60 (near "1.6.6: !!! Updated for October 420+.") at line 43 (near "/vendor/october/rain/src/Parse/Yaml
  .php").

A simple fix is to remove the "!!!" at line 60 on the file /plugins/indikator/backend/updates/version.yaml

bug in "unused database settings" !

According to the condition in the line below, the "slick_slider_settings" setting in the database will be deleted, because the files in this plugin are stored in the "/plugins/peterhegman/slickslider/" folder, and not in the "/plugins/slick/slider/" as checked by you.

if ($name[0] != 'backend' && $name[0] != 'system' && isset($name[2]) && !File::exists(base_path().'/plugins/'.$name[0].'/'.$name[1]) && Items::where('path', $row->item)->count() == 0) {

Here is the link to the plugin https://octobercms.com/plugin/peterhegman-slickslider (https://github.com/phegman/October-CMS-Slick-Slider)

Still doesn't work with latest October

There are some references to Backend\Models\UserPreferences class in Plugin.php and in partials/_settings_menu_items.htm which are incompatible with latests October release.

Error in event log about gzip

Hello, the OctoberCMS event log gets spammed with this every time someone is accessing backend -

Illuminate\Contracts\Filesystem\FileNotFoundException: File does not exist at path plugins/indikator/backend/assets/gzip.txt in [...]/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php:40

but the file exists, containing single zero character.

Server is Caddy with HHVM in PHP7 mode

Edit: Sorry, this is a dublicate issue.

Path to gzip.txt issue

Hello! I have this error.

[2016-08-04 15:10:05] local.ERROR: Illuminate\Contracts\Filesystem\FileNotFoundException: File does not exist at path plugins/indikator/backend/assets/gzip.txt in /home/vagrant/code/shedule/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php:40
Stack trace:
#0 /home/vagrant/code/shedule/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(215): Illuminate\Filesystem\Filesystem->get('plugins/indikat...')
#1 /home/vagrant/code/shedule/plugins/indikator/backend/Plugin.php(100): Illuminate\Support\Facades\Facade::__callStatic('get', Array)
#2 /home/vagrant/code/shedule/modules/system/Classes/PluginManager.php(261): Indikator\Backend\Plugin->boot()
#3 /home/vagrant/code/shedule/modules/system/Classes/PluginManager.php(243): System\Classes\PluginManager->bootPlugin(Object(Indikator\Backend\Plugin))
#4 /home/vagrant/code/shedule/modules/system/ServiceProvider.php(87): System\Classes\PluginManager->bootAll()
#5 [internal function]: System\ServiceProvider->boot()
#6 /home/vagrant/code/shedule/vendor/laravel/framework/src/Illuminate/Container/Container.php(507): call_user_func_array(Array, Array)
#7 /home/vagrant/code/shedule/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(734): Illuminate\Container\Container->call(Array)
#8 /home/vagrant/code/shedule/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(717): Illuminate\Foundation\Application->bootProvider(Object(System\ServiceProvider))
#9 [internal function]: Illuminate\Foundation\Application->Illuminate\Foundation{closure}(Object(System\ServiceProvider), 21)
#10 /home/vagrant/code/shedule/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(718): array_walk(Array, Object(Closure))
#11 /home/vagrant/code/shedule/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/BootProviders.php(17): Illuminate\Foundation\Application->boot()
#12 /home/vagrant/code/shedule/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(203): Illuminate\Foundation\Bootstrap\BootProviders->bootstrap(Object(October\Rain\Foundation\Application))
#13 /home/vagrant/code/shedule/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(208): Illuminate\Foundation\Application->bootstrapWith(Array)
#14 /home/vagrant/code/shedule/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(105): Illuminate\Foundation\Console\Kernel->bootstrap()
#15 /home/vagrant/code/shedule/artisan(35): Illuminate\Foundation\Console\Kernel->handle(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#16 {main}

I think problem here

if ((bool)File::get('plugins/indikator/backend/assets/gzip.txt')) {
            ob_start('ob_gzhandler');
        }

My fix

if ((bool)File::get(base_path('plugins/indikator/backend/assets/gzip.txt'))) {
            ob_start('ob_gzhandler');
        }

Context Menu improvement

The context menu is a really great feature, but it would be even better if it were to include links to other backend routes provided by plugins. Seems to me, looking at the code that make it work, that you could probably scrape the page for the available menu items, rather than just being limited to the handful of hardcoded options.

Prevents october update

Hello. Can you please advise on the issue below. I can't update ocms from 2.1.7 to 2.1.8.
Thank-you.

λ composer update
Loading composer repositories with package information
Updating dependencies
Your requirements could not be resolved to an installable set of packages.

Problem 1
- Root composer.json requires indikator/backend-plugin ^1.6, found indikator/backend-plugin[v1.6.13] in the lock file but not in remote repositories, make sure you avoid updating this package to keep the one from the lock file.

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.