Giter VIP home page Giter VIP logo

cakephp-adminlte-theme's Introduction

CakePHP AdminLTE Theme (2.0.0)

What's the news

The AdminLTE was updated version to 2.4.5.

The CakePHP was updated version compatible to 4.0.0.

This release 2.0.0 is can be considered the stable version, as indicated in the SemVer.org recommendations.

Installation

You can install using composer.

composer require maiconpinto/cakephp-adminlte-theme

Enable Plugin

// src/Application.php

public function bootstrap()
{
    $this->addPlugin('AdminLTE');
}

Enable Theme

// src/Controller/AppController.php
use Cake\Event\EventInterface;

public function beforeRender(EventInterface  $event)
{
    $this->viewBuilder()->setTheme('AdminLTE');
}

Enable Form

// src/View/AppView.php

public function initialize()
{
    $this->loadHelper('Form', ['className' => 'AdminLTE.Form']);
}

Configure

// new config/adminlte.php file

return [
    'Theme' => [
        'title' => 'AdminLTE',
        'logo' => [
            'mini' => '<b>A</b>LT',
            'large' => '<b>Admin</b>LTE'
        ],
        'login' => [
            'show_remember' => true,
            'show_register' => true,
            'show_social' => true
        ],
        'folder' => ROOT,
        'skin' => 'blue'
    ]
];

// config/bootstrap.php

Configure::load('adminlte', 'default');

Customize Layout

If you want to Customize Layout

What's the features

Layouts

There are 10 layout files.

  • boxed
  • collapsed
  • default it's the main layout
  • documentation
  • fixed
  • lockscreen
  • login
  • print
  • register
  • top

View Blocks

There are 3 Blocks where you can extend your theme.

  • css
<?php echo $this->fetch('css'); ?>

One example is src/Template/Pages/home.ctp:

<?php echo $this->Html->css('AdminLTE./bower_components/morris.js/morris', ['block' => 'css']); ?>
  • script
<?php echo $this->fetch('script'); ?>

One example is src/Template/Pages/home.ctp:

<?php echo $this->Html->script('AdminLTE./bower_components/morris.js/morris.min', ['block' => 'script']); ?>
  • scriptBottom
<?php echo $this->fetch('scriptBottom'); ?>

One example is src/Template/Pages/home.ctp:

<?php $this->start('scriptBottom'); ?>
    <script>
      $.widget.bridge('uibutton', $.ui.button);
    </script>
<?php  $this->end(); ?>

Elements

There are 7 element files.

  • Element/
    • aside/
      • form
      • sidebar-menu
      • user-panel
    • aside-control-sidebar
    • aside-main-sidebar
    • footer
    • nav-top

Flash Message

The theme is prepared to show Flash Messages.

<?php echo $this->Flash->render(); ?>
<?php echo $this->Flash->render('auth'); ?>

Bake

One of the better Cake features. The theme is prepared to use Bake.

bin/cake bake all user --theme AdminLTE

View

  • AdminLTEView

This is one the better theme feature. It change the pattern how Cake show view files.

Basically, you overwrite any theme, plugin and prefix files.

  1. src/Template/Plugin/$theme/Plugin/$plugin/$prefix/
  2. src/Template/Plugin/$theme/Plugin/$plugin/
  3. src/Template/Plugin/$theme/$prefix/
  4. src/Template/Plugin/$theme/

FormHelper

FormHelper by default has format template based on Foundation template. This helper overwrite these templates.

Behavior

  • DatepickerBehavior

When you configure App.defaultLocale to pt_BR this Behavior is util.

Locale

When you configure App.defaultLocale to pt_BR this Locale is util.

Page debug

Added link to default page of CakePHP.

Page debug

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request

cakephp-adminlte-theme's People

Contributors

ajibarra avatar anthonnygm avatar dcoturel avatar ferama avatar ignaciocarre avatar lightbyte avatar maiconpinto avatar maxmasetti avatar mirwalk avatar nicolaszanghi avatar nima-rahbar avatar nmeyer-otto avatar tsmsogn avatar waffle-iron avatar yild 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  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  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

cakephp-adminlte-theme's Issues

Deprecation Message

Cake 3.7 , in debug kit deprecation panel :
AdminLTE/src/View/Helper/FormHelper.php:94
FormHelper::input() is deprecated. Use FormHelper::control() instead

Install assistance

Anyone have experience installing into cakephp 1.3?
I don't understand composer.... it is asking to choose the command-line PHP I want to use. I don't know what or where this is.
prtscr capture_2

Is there a step-by-step, manual install process?
Sorry, I'm a newb.

--theme not working

--theme not working

in release 1.0.7 the command cake bake all users --theme AdminLTE not running.

In 1.0.6 is ok.

Help me please.

Thanks

DateTime Picker

Hi There,
I'm having some difficulties and was wondering if you could suggest the best way to implement the Bootstrap DateTime Picker?

Thanks Heaps,

┆Issue is synchronized with this Asana task

CSS&JS file not found...

I try to use on the manual.
Layout is available but css and js file is not found.
That reference "/admin_l_t_e/bootstrap/css/bootstrap.min.css"....
Create ”webroot” admin_l_t_e folder and copy their files?
Is Collect??
Or another way? ....settings or else?

Missing "include" in readme

Hi,

In order to use Configure::read in appcontroller you should "use Cake\Core\Configure;". At least using cakephp 3.1.2.

Parabéns, ficou top

Textarea with validation error throwing warning

While text inputs and other inputs as well seem to work ok, when a textarea field has a validation error it is throwing me this warning

Warning (2): trim() expects parameter 1 to be string, array given [CORE/src/View/Helper.php, line 190]

I solved it by editing cakephp's native Helper::addClass() method as follows

public function addClass(array $options = [], $class = null, $key = 'class')
{
/* added this check to fix adminlte's textareas */
if (is_array($options[$key])) {
$options[$key][] = $class;
return $options;
}
if (isset($options[$key]) && trim($options[$key])) {
$options[$key] .= ' ' . $class;
} else {
$options[$key] = $class;
}

    return $options;
}

I don't know if it's a cakephp error or adminlte's formhelper's.

Best regards!

Warning (2): trim() expects parameter 1 to be string, array given [CORE/src/View/Helper.php, line 190]
Code Context
trim - [internal], line ??
Cake\View\Helper::addClass() - CORE/src/View/Helper.php, line 190
Cake\View\Helper\FormHelper::_initInputField() - CORE/src/View/Helper/FormHelper.php, line 2499
Cake\View\Helper\FormHelper::textarea() - CORE/src/View/Helper/FormHelper.php, line 1574
AdminLTE\View\Helper\FormHelper::textarea() - ROOT/vendor/maiconpinto/cakephp-adminlte-theme/src/View/Helper/FormHelper.php, line 94
Cake\View\Helper\FormHelper::_getInput() - CORE/src/View/Helper/FormHelper.php, line 1171
Cake\View\Helper\FormHelper::input() - CORE/src/View/Helper/FormHelper.php, line 1074
AdminLTE\View\Helper\FormHelper::input() - ROOT/vendor/maiconpinto/cakephp-adminlte-theme/src/View/Helper/FormHelper.php, line 82
include - APP/Template/Element/Contacts/form.ctp, line 80
App\View\AppView::_evaluate() - APP/View/AppView.php, line 67
Cake\View\View::_render() - CORE/src/View/View.php, line 975
Cake\View\View::_renderElement() - CORE/src/View/View.php, line 1365
Cake\View\View::element() - CORE/src/View/View.php, line 501
include - APP/Template/Quotes/edit.ctp, line 75
App\View\AppView::_evaluate() - APP/View/AppView.php, line 67
Cake\View\View::_render() - CORE/src/View/View.php, line 975
Cake\View\View::render() - CORE/src/View/View.php, line 599

Change configuration from $theme to Configure::read

Change configuration from $theme to Configure::read, in Layouts.

For example:

// src/Template/Layout/default.ctp line 3
// from
<title><?php echo isset($theme['title']) ? $theme['title'] : 'AdminLTE 2'; ?></title>
// to
<title><?php echo Configure::read('Theme.title'); ?></title>

So, don't you need to set $theme var in AppController->beforeRender, just use Configure::write in your bootstrap.php when you want.

Bake - Implementar modelo para view.ctp

Implementar a view para o método view do controller.
Atualmente o modelo é um formulário igual ao edit.ctp porém com campos readonly.
Implementar um layout adequado.

┆Issue is synchronized with this Asana task

Material Design

Hi,
first of all, my compliments for the job you have done here.

Now, what I want to ask is: Are you already working on a material design variant of this implementation?
Would be nice to have it for a nice and modern view of the template.

Thanks in advance,
Salvo

Baking no longer working with --theme AdminLTE in 1.0.7

After installing and enabling the theme as directed, when i bake, for example: cake bake all users --theme AdminLTE, the generated views are no longer using the theme's bootstrap appearance. However this used to work perfectly in 1.0.6...

Some pages won't load CSS properly

Hi,

I'm kinda new to cakephp so please bare with me, I have successfully managed to install your theme but some pages doesn't load up the proper css files. How can I fix this? Did i miss something?

screen shot 2017-03-15 at 8 38 35 pm

menu autogenerate

hello

can you help us to autogenerate menu not working when i try to

use this command

can u help me on this command cake bake all algumacoisa --theme AdminLTE

i want to auto generate menu link on left sidebar

Unable to get primary namespace for package maiconpinto/cakephp-adminlte-theme

Hello,

When I try to install I get this 👍

`Using version ^1.0 for maiconpinto/cakephp-adminlte-theme
./composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)

  • Updating maiconpinto/cakephp-adminlte-theme (dev-master 52588d9 => 1.0.0)
    Checking out f51ae20

Installation failed, reverting ./composer.json to its original content.

[RuntimeException]
Unable to get primary namespace for package maiconpinto/cakephp-adminlte-theme.
Ensure you have added proper 'autoload' section to your plugin's config as stated in README on https://github.com/c
akephp/plugin-installer`

Configuration Not Clear

I don't understand How To Modiy the layout
I removed The Folder
C:\xampp\htdocs\app\vendor\maiconpinto\cakephp-adminlte-theme
And Copy everything included to C:\xampp\htdocs\app
But It Still calling for that folder vendor\maiconpinto\cakephp-adminlte-theme
I commented thoses line but still the same
// $this->viewBuilder()->setTheme('AdminLTE');
// $this->viewBuilder()->setClassName('AdminLTE.AdminLTE');
// $this->loadHelper('Form', ['className' => 'AdminLTE.Form']);

Form date options

The options minYear, maxYear and monthNames does not work in date/datetime input forms.

┆Issue is synchronized with this Asana task

Previous and First pagination buttons marked as Active

CakePHP Paginator Helper creates the Previous and the Numbers with class="active" automatically.
When it's loaded the third page (for example), the number "3" will be active with blue color, but the first one will be active too.

I changed the line 94 in the default.ctp layout and it solve the problem:

I added this:
&& !a.parent().parent().hasClass('pagination')

so it looks like this:

93. var a = $('a[href="<?php echo $this->request->webroot . $this->request->url ?>"]');
94. if (!a.parent().hasClass('treeview') && !a.parent().parent().hasClass('pagination')) {
95.     a.parent().addClass('active').parents('.treeview').addClass('active');
96. }

What I have to do to apply this changes in the branch?

composer commands fails

H:\web\mahallu\mahallu>composer require maiconpinto/cakephp-adminlte-theme
Using version ^1.1 for maiconpinto/cakephp-adminlte-theme
./composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.

Problem 1
- cakephp/cakephp 3.3.9 requires aura/intl 1.1.* -> satisfiable by aura/intl[1.1.0, 1.1.1] but these conflict with your requirements or minimum-stability.
- cakephp/cakephp 3.3.8 requires aura/intl 1.1.* -> satisfiable by aura/intl[1.1.0, 1.1.1] but these conflict with your requirements or minimum-stability.
- cakephp/cakephp 3.3.7 requires aura/intl 1.1.* -> satisfiable by aura/intl[1.1.0, 1.1.1] but these conflict with your requirements or minimum-stability.
- cakephp/cakephp 3.3.6 requires aura/intl 1.1.* -> satisfiable by aura/intl[1.1.0, 1.1.1] but these conflict with your requirements or minimum-stability.
- cakephp/cakephp 3.3.5 requires aura/intl 1.1.* -> satisfiable by aura/intl[1.1.0, 1.1.1] but these conflict with your requirements or minimum-stability.
- cakephp/cakephp 3.3.4 requires aura/intl 1.1.* -> satisfiable by aura/intl[1.1.0, 1.1.1] but these conflict with your requirements or minimum-stability.
- cakephp/cakephp 3.3.3 requires aura/intl 1.1.* -> satisfiable by aura/intl[1.1.0, 1.1.1] but these conflict with your requirements or minimum-stability.
- cakephp/cakephp 3.3.2 requires aura/intl 1.1.* -> satisfiable by aura/intl[1.1.0, 1.1.1] but these conflict with your requirements or minimum-stability.
- cakephp/cakephp 3.3.16 requires aura/intl 1.1.* -> satisfiable by aura/intl[1.1.0, 1.1.1] but these conflict with your requirements or minimum-stability.
- cakephp/cakephp 3.3.15 requires aura/intl 1.1.* -> satisfiable by aura/intl[1.1.0, 1.1.1] but these conflict with your requirements or minimum-stability.
- cakephp/cakephp 3.3.14 requires aura/intl 1.1.* -> satisfiable by aura/intl[1.1.0, 1.1.1] but these conflict with your requirements or minimum-stability.
- cakephp/cakephp 3.3.13 requires aura/intl 1.1.* -> satisfiable by aura/intl[1.1.0, 1.1.1] but these conflict with your requirements or minimum-stability.
- cakephp/cakephp 3.3.12 requires aura/intl 1.1.* -> satisfiable by aura/intl[1.1.0, 1.1.1] but these conflict with your requirements or minimum-stability.
- cakephp/cakephp 3.3.11 requires aura/intl 1.1.* -> satisfiable by aura/intl[1.1.0, 1.1.1] but these conflict with your requirements or minimum-stability.
- cakephp/cakephp 3.3.10 requires aura/intl 1.1.* -> satisfiable by aura/intl[1.1.0, 1.1.1] but these conflict with your requirements or minimum-stability.
- cakephp/cakephp 3.3.1 requires aura/intl 1.1.* -> satisfiable by aura/intl[1.1.0, 1.1.1] but these conflict with your requirements or minimum-stability.
- cakephp/cakephp 3.3.0 requires aura/intl 1.1.* -> satisfiable by aura/intl[1.1.0, 1.1.1] but these conflict with your requirements or minimum-stability.
- cakephp/cakephp 3.2.9 requires aura/intl 1.1.* -> satisfiable by aura/intl[1.1.0, 1.1.1] but these conflict with your requirements or minimum-stability.
- cakephp/cakephp 3.2.8 requires aura/intl 1.1.* -> satisfiable by aura/intl[1.1.0, 1.1.1] but these conflict with your requirements or minimum-stability.
- cakephp/cakephp 3.2.7 requires aura/intl 1.1.* -> satisfiable by aura/intl[1.1.0, 1.1.1] but these conflict with your requirements or minimum-stability.
- cakephp/cakephp 3.2.6 requires aura/intl 1.1.* -> satisfiable by aura/intl[1.1.0, 1.1.1] but these conflict with your requirements or minimum-stability.
- cakephp/cakephp 3.2.5 requires aura/intl 1.1.* -> satisfiable by aura/intl[1.1.0, 1.1.1] but these conflict with your requirements or minimum-stability.
- cakephp/cakephp 3.2.4 requires aura/intl 1.1.* -> satisfiable by aura/intl[1.1.0, 1.1.1] but these conflict with your requirements or minimum-stability.
- cakephp/cakephp 3.2.3 requires aura/intl 1.1.* -> satisfiable by aura/intl[1.1.0, 1.1.1] but these conflict with your requirements or minimum-stability.
- cakephp/cakephp 3.2.2 requires aura/intl 1.1.* -> satisfiable by aura/intl[1.1.0, 1.1.1] but these conflict with your requirements or minimum-stability.
- cakephp/cakephp 3.2.14 requires aura/intl 1.1.* -> satisfiable by aura/intl[1.1.0, 1.1.1] but these conflict with your requirements or minimum-stability.
- cakephp/cakephp 3.2.13 requires aura/intl 1.1.* -> satisfiable by aura/intl[1.1.0, 1.1.1] but these conflict with your requirements or minimum-stability.
- cakephp/cakephp 3.2.12 requires aura/intl 1.1.* -> satisfiable by aura/intl[1.1.0, 1.1.1] but these conflict with your requirements or minimum-stability.
- cakephp/cakephp 3.2.11 requires aura/intl 1.1.* -> satisfiable by aura/intl[1.1.0, 1.1.1] but these conflict with your requirements or minimum-stability.
- cakephp/cakephp 3.2.10 requires aura/intl 1.1.* -> satisfiable by aura/intl[1.1.0, 1.1.1] but these conflict with your requirements or minimum-stability.
- cakephp/cakephp 3.2.1 requires aura/intl 1.1.* -> satisfiable by aura/intl[1.1.0, 1.1.1] but these conflict with your requirements or minimum-stability.
- cakephp/cakephp 3.2.0 requires aura/intl 1.1.* -> satisfiable by aura/intl[1.1.0, 1.1.1] but these conflict with your requirements or minimum-stability.
- cakephp/cakephp 3.1.9 requires aura/intl 1.1.* -> satisfiable by aura/intl[1.1.0, 1.1.1] but these conflict with your requirements or minimum-stability.
- cakephp/cakephp 3.1.8 requires aura/intl 1.1.* -> satisfiable by aura/intl[1.1.0, 1.1.1] but these conflict with your requirements or minimum-stability.
- cakephp/cakephp 3.1.7 requires aura/intl 1.1.* -> satisfiable by aura/intl[1.1.0, 1.1.1] but these conflict with your requirements or minimum-stability.
- cakephp/cakephp 3.1.6 requires aura/intl 1.1.* -> satisfiable by aura/intl[1.1.0, 1.1.1] but these conflict with your requirements or minimum-stability.
- cakephp/cakephp 3.1.5 requires aura/intl 1.1.* -> satisfiable by aura/intl[1.1.0, 1.1.1] but these conflict with your requirements or minimum-stability.
- cakephp/cakephp 3.1.4 requires aura/intl 1.1.* -> satisfiable by aura/intl[1.1.0, 1.1.1] but these conflict with your requirements or minimum-stability.
- cakephp/cakephp 3.1.3 requires aura/intl 1.1.* -> satisfiable by aura/intl[1.1.0, 1.1.1] but these conflict with your requirements or minimum-stability.
- cakephp/cakephp 3.1.2 requires aura/intl 1.1.* -> satisfiable by aura/intl[1.1.0, 1.1.1] but these conflict with your requirements or minimum-stability.
- cakephp/cakephp 3.1.14 requires aura/intl 1.1.* -> satisfiable by aura/intl[1.1.0, 1.1.1] but these conflict with your requirements or minimum-stability.
- cakephp/cakephp 3.1.13 requires aura/intl 1.1.* -> satisfiable by aura/intl[1.1.0, 1.1.1] but these conflict with your requirements or minimum-stability.
- cakephp/cakephp 3.1.12 requires aura/intl 1.1.* -> satisfiable by aura/intl[1.1.0, 1.1.1] but these conflict with your requirements or minimum-stability.
- cakephp/cakephp 3.1.11 requires aura/intl 1.1.* -> satisfiable by aura/intl[1.1.0, 1.1.1] but these conflict with your requirements or minimum-stability.
- cakephp/cakephp 3.1.10 requires aura/intl 1.1.* -> satisfiable by aura/intl[1.1.0, 1.1.1] but these conflict with your requirements or minimum-stability.
- cakephp/cakephp 3.1.1 requires aura/intl 1.1.* -> satisfiable by aura/intl[1.1.0, 1.1.1] but these conflict with your requirements or minimum-stability.
- cakephp/cakephp 3.1.0 requires aura/intl 1.1.* -> satisfiable by aura/intl[1.1.0, 1.1.1] but these conflict with your requirements or minimum-stability.
- cakephp/cakephp 3.0.9 requires aura/intl 1.1.* -> satisfiable by aura/intl[1.1.0, 1.1.1] but these conflict with your requirements or minimum-stability.
- cakephp/cakephp 3.0.8 requires aura/intl 1.1.* -> satisfiable by aura/intl[1.1.0, 1.1.1] but these conflict with your requirements or minimum-stability.
- cakephp/cakephp 3.0.7 requires aura/intl 1.1.* -> satisfiable by aura/intl[1.1.0, 1.1.1] but these conflict with your requirements or minimum-stability.
- cakephp/cakephp 3.0.6 requires aura/intl 1.1.* -> satisfiable by aura/intl[1.1.0, 1.1.1] but these conflict with your requirements or minimum-stability.
- cakephp/cakephp 3.0.5 requires aura/intl 1.1.* -> satisfiable by aura/intl[1.1.0, 1.1.1] but these conflict with your requirements or minimum-stability.
- cakephp/cakephp 3.0.4 requires aura/intl 1.1.* -> satisfiable by aura/intl[1.1.0, 1.1.1] but these conflict with your requirements or minimum-stability.
- cakephp/cakephp 3.0.3 requires aura/intl 1.1.* -> satisfiable by aura/intl[1.1.0, 1.1.1] but these conflict with your requirements or minimum-stability.
- cakephp/cakephp 3.0.2 requires aura/intl 1.1.* -> satisfiable by aura/intl[1.1.0, 1.1.1] but these conflict with your requirements or minimum-stability.
- cakephp/cakephp 3.0.19 requires aura/intl 1.1.* -> satisfiable by aura/intl[1.1.0, 1.1.1] but these conflict with your requirements or minimum-stability.
- cakephp/cakephp 3.0.18 requires aura/intl 1.1.* -> satisfiable by aura/intl[1.1.0, 1.1.1] but these conflict with your requirements or minimum-stability.
- cakephp/cakephp 3.0.17 requires aura/intl 1.1.* -> satisfiable by aura/intl[1.1.0, 1.1.1] but these conflict with your requirements or minimum-stability.
- cakephp/cakephp 3.0.16 requires aura/intl 1.1.* -> satisfiable by aura/intl[1.1.0, 1.1.1] but these conflict with your requirements or minimum-stability.
- cakephp/cakephp 3.0.15 requires aura/intl 1.1.* -> satisfiable by aura/intl[1.1.0, 1.1.1] but these conflict with your requirements or minimum-stability.
- cakephp/cakephp 3.0.14 requires aura/intl 1.1.* -> satisfiable by aura/intl[1.1.0, 1.1.1] but these conflict with your requirements or minimum-stability.
- cakephp/cakephp 3.0.13 requires aura/intl 1.1.* -> satisfiable by aura/intl[1.1.0, 1.1.1] but these conflict with your requirements or minimum-stability.
- cakephp/cakephp 3.0.12 requires aura/intl 1.1.* -> satisfiable by aura/intl[1.1.0, 1.1.1] but these conflict with your requirements or minimum-stability.
- cakephp/cakephp 3.0.11 requires aura/intl 1.1.* -> satisfiable by aura/intl[1.1.0, 1.1.1] but these conflict with your requirements or minimum-stability.
- cakephp/cakephp 3.0.10 requires aura/intl 1.1.* -> satisfiable by aura/intl[1.1.0, 1.1.1] but these conflict with your requirements or minimum-stability.
- cakephp/cakephp 3.0.1 requires aura/intl 1.1.* -> satisfiable by aura/intl[1.1.0, 1.1.1] but these conflict with your requirements or minimum-stability.
- cakephp/cakephp 3.0.0 requires aura/intl 1.1.* -> satisfiable by aura/intl[1.1.0, 1.1.1] but these conflict with your requirements or minimum-stability.
- Installation request for cakephp/cakephp No version set (parsed as 1.0.0) -> satisfiable by cakephp/cakephp[No version set (parsed as 1.0.0)].
- maiconpinto/cakephp-adminlte-theme 1.1.0 requires cakephp/cakephp ~3.0 -> satisfiable by cakephp/cakephp[3.0.0, 3.0.1, 3.0.10, 3.0.11, 3.0.12, 3.0.13, 3.0.14, 3.0.15, 3.0.16, 3.0.17, 3.0.18, 3.0.19, 3.0.2, 3.0.3, 3.0.4, 3.0.5, 3.0.6, 3.0.7, 3.0.8, 3.0.9, 3.1.0, 3.1.1, 3.1.10, 3.1.11, 3.1.12, 3.1.13, 3.1.14, 3.1.2, 3.1.3, 3.1.4, 3.1.5, 3.1.6, 3.1.7, 3.1.8, 3.1.9, 3.2.0, 3.2.1, 3.2.10, 3.2.11, 3.2.12, 3.2.13, 3.2.14, 3.2.2, 3.2.3, 3.2.4, 3.2.5, 3.2.6, 3.2.7, 3.2.8, 3.2.9, 3.3.0, 3.3.1, 3.3.10, 3.3.11, 3.3.12, 3.3.13, 3.3.14, 3.3.15, 3.3.16, 3.3.2, 3.3.3, 3.3.4, 3.3.5, 3.3.6, 3.3.7, 3.3.8, 3.3.9, 3.4.0, 3.4.1, 3.4.10, 3.4.11, 3.4.12, 3.4.13, 3.4.14, 3.4.2, 3.4.3, 3.4.4, 3.4.5, 3.4.6, 3.4.7, 3.4.8, 3.4.9, 3.5.0, 3.5.1, 3.5.10, 3.5.11, 3.5.12, 3.5.13, 3.5.14, 3.5.15, 3.5.16, 3.5.17, 3.5.2, 3.5.3, 3.5.4, 3.5.5, 3.5.6, 3.5.7, 3.5.8, 3.5.9, 3.6.0, 3.6.1, 3.6.10, 3.6.11, 3.6.12, 3.6.13, 3.6.14, 3.6.2, 3.6.3, 3.6.4, 3.6.5, 3.6.6, 3.6.7, 3.6.8, 3.6.9, 3.7.0, 3.7.1, 3.7.2].
- Can only install one of: cakephp/cakephp[3.4.0, No version set (parsed as 1.0.0)].
- Can only install one of: cakephp/cakephp[3.4.1, No version set (parsed as 1.0.0)].
- Can only install one of: cakephp/cakephp[3.4.10, No version set (parsed as 1.0.0)].
- Can only install one of: cakephp/cakephp[3.4.11, No version set (parsed as 1.0.0)].
- Can only install one of: cakephp/cakephp[3.4.12, No version set (parsed as 1.0.0)].
- Can only install one of: cakephp/cakephp[3.4.13, No version set (parsed as 1.0.0)].
- Can only install one of: cakephp/cakephp[3.4.14, No version set (parsed as 1.0.0)].
- Can only install one of: cakephp/cakephp[3.4.2, No version set (parsed as 1.0.0)].
- Can only install one of: cakephp/cakephp[3.4.3, No version set (parsed as 1.0.0)].
- Can only install one of: cakephp/cakephp[3.4.4, No version set (parsed as 1.0.0)].
- Can only install one of: cakephp/cakephp[3.4.5, No version set (parsed as 1.0.0)].
- Can only install one of: cakephp/cakephp[3.4.6, No version set (parsed as 1.0.0)].
- Can only install one of: cakephp/cakephp[3.4.7, No version set (parsed as 1.0.0)].
- Can only install one of: cakephp/cakephp[3.4.8, No version set (parsed as 1.0.0)].
- Can only install one of: cakephp/cakephp[3.4.9, No version set (parsed as 1.0.0)].
- Can only install one of: cakephp/cakephp[3.5.0, No version set (parsed as 1.0.0)].
- Can only install one of: cakephp/cakephp[3.5.1, No version set (parsed as 1.0.0)].
- Can only install one of: cakephp/cakephp[3.5.10, No version set (parsed as 1.0.0)].
- Can only install one of: cakephp/cakephp[3.5.11, No version set (parsed as 1.0.0)].
- Can only install one of: cakephp/cakephp[3.5.12, No version set (parsed as 1.0.0)].
- Can only install one of: cakephp/cakephp[3.5.13, No version set (parsed as 1.0.0)].
- Can only install one of: cakephp/cakephp[3.5.14, No version set (parsed as 1.0.0)].
- Can only install one of: cakephp/cakephp[3.5.15, No version set (parsed as 1.0.0)].
- Can only install one of: cakephp/cakephp[3.5.16, No version set (parsed as 1.0.0)].
- Can only install one of: cakephp/cakephp[3.5.17, No version set (parsed as 1.0.0)].
- Can only install one of: cakephp/cakephp[3.5.2, No version set (parsed as 1.0.0)].
- Can only install one of: cakephp/cakephp[3.5.3, No version set (parsed as 1.0.0)].
- Can only install one of: cakephp/cakephp[3.5.4, No version set (parsed as 1.0.0)].
- Can only install one of: cakephp/cakephp[3.5.5, No version set (parsed as 1.0.0)].
- Can only install one of: cakephp/cakephp[3.5.6, No version set (parsed as 1.0.0)].
- Can only install one of: cakephp/cakephp[3.5.7, No version set (parsed as 1.0.0)].
- Can only install one of: cakephp/cakephp[3.5.8, No version set (parsed as 1.0.0)].
- Can only install one of: cakephp/cakephp[3.5.9, No version set (parsed as 1.0.0)].
- Can only install one of: cakephp/cakephp[3.6.0, No version set (parsed as 1.0.0)].
- Can only install one of: cakephp/cakephp[3.6.1, No version set (parsed as 1.0.0)].
- Can only install one of: cakephp/cakephp[3.6.10, No version set (parsed as 1.0.0)].
- Can only install one of: cakephp/cakephp[3.6.11, No version set (parsed as 1.0.0)].
- Can only install one of: cakephp/cakephp[3.6.12, No version set (parsed as 1.0.0)].
- Can only install one of: cakephp/cakephp[3.6.13, No version set (parsed as 1.0.0)].
- Can only install one of: cakephp/cakephp[3.6.14, No version set (parsed as 1.0.0)].
- Can only install one of: cakephp/cakephp[3.6.2, No version set (parsed as 1.0.0)].
- Can only install one of: cakephp/cakephp[3.6.3, No version set (parsed as 1.0.0)].
- Can only install one of: cakephp/cakephp[3.6.4, No version set (parsed as 1.0.0)].
- Can only install one of: cakephp/cakephp[3.6.5, No version set (parsed as 1.0.0)].
- Can only install one of: cakephp/cakephp[3.6.6, No version set (parsed as 1.0.0)].
- Can only install one of: cakephp/cakephp[3.6.7, No version set (parsed as 1.0.0)].
- Can only install one of: cakephp/cakephp[3.6.8, No version set (parsed as 1.0.0)].
- Can only install one of: cakephp/cakephp[3.6.9, No version set (parsed as 1.0.0)].
- Can only install one of: cakephp/cakephp[3.7.0, No version set (parsed as 1.0.0)].
- Can only install one of: cakephp/cakephp[3.7.1, No version set (parsed as 1.0.0)].
- Can only install one of: cakephp/cakephp[3.7.2, No version set (parsed as 1.0.0)].
- Installation request for maiconpinto/cakephp-adminlte-theme ^1.1 -> satisfiable by maiconpinto/cakephp-adminlte-theme[1.1.0].

Installation failed, reverting ./composer.json to its original content.

H:\web\mahallu\mahallu>pwd
'pwd' is not recognized as an internal or external command,
operable program or batch file.

H:\web\mahallu\mahallu>dir
Volume in drive H is New Volume
Volume Serial Number is A7F0-CF30

Directory of H:\web\mahallu\mahallu

01/16/2019 10:59 PM

.
01/16/2019 10:59 PM ..
01/04/2019 06:02 AM 5,695 .mailmap
01/04/2019 06:02 AM 1,312 .varci.yml
01/16/2019 11:00 PM 3,434 composer.json
01/16/2019 09:03 PM config
01/16/2019 09:03 PM contrib
01/04/2019 06:02 AM 1,112 LICENSE
01/04/2019 06:02 AM 433 phpcs.xml.dist
01/04/2019 06:02 AM 2,550 phpstan.neon
01/04/2019 06:02 AM 4,978 README.md
01/16/2019 09:04 PM src
01/16/2019 09:04 PM tests
01/04/2019 06:02 AM 1,002 VERSION.txt
8 File(s) 20,516 bytes
6 Dir(s) 263,572,705,280 bytes free

H:\web\mahallu\mahallu>pwd

Cannot install template

Can you show step by step installation?
Try using composer already but nothing downloaded or installed !

Issue with password field

I have been checking issue with password field and it looks the code is duplicated from file field. If the code is removed the password fields are rendered correctly. Could you check please if the code is needed for anything?

FormHelper::input() L104

┆Issue is synchronized with this Asana task

Locale

Is possible implement locale?

How can I show the flash messages?

Hi,

I'm trying the theme. good job!
I noticed that cakephp's flash messages aren't being displayed by default. Is there any simple workaround to this behavior?

Undefined variable: theme

CakePHP 3.4.x
i got this error
Notice (8): Undefined variable: theme [ROOT\vendor\maiconpinto\cakephp-adminlte-theme\src\Template\Layout\default.ctp, line 37]

how to solve?

thanks

Helper

Implement Helper to Form

Change the layout

How to change the layout from default to collapse?

I try from AppController:
$this->viewBuilder()->theme('AdminLTE.collapsed');

and throw an error
An Internal Server Error Occurred

Cannot customize template

It's a great template, but I'm facing issues when trying to customize it. I've created Element files but still can't see changes (an empty view is rendered).
NB : I've created AdminController in Admin folder for thos theme.
Is there any recommendation ?

┆Issue is synchronized with this Asana task

Login page height

Hello,

I'm trying, but can't find how I could change the login page height. Different than default.ctp, his height is too large, that's why the scroll bars appears. How I could fix this?

Thanks,
R.

loadHelper Problem

loadHelper isnt working.
When add to appView show error page: Helper class FormHelper could not be found.

image

Default.ctp

Hello, the file default.ctp, if i want to replace in my /src/template/layout doesn´t read in cake main directory.

only load from vendor directory.

┆Issue is synchronized with this Asana task

What is the best practice to customize layout and elements?

Great work. The install worked as promised, but I don't know how to customize the layout.

I copied the default.ctp-layout and all of the elements from the plugin folder to the corresponding folders of my app. The changes to the template work as expected. However, when I change my copy of an element, nothing happens and the element from the plugin (with the same name) is rendered.

What is the "proper" way to customize layout, elements and content?

Prefix and elements

Hi,
I've created a prefix named "admin". The theme is installed and works fine.
There is only one problem when I override the element files : they are not loaded and I still have the default ones. Here's an example for footer.ctp :

| - Template
| --Admin
| --- Element
| ---- footer.ctp (doesn't work)
| -- Element
| --- footer.ctp (works fine)

AdminLTE is installed for my admin interface so I would like to store all overrides into "Admin/Elements" folder. I cannot store it directly into "Elements" because I'll have a different footer.ctp for the frontend.

Admin LTE error

Fatal error: Cannot redeclare class AdminLTE\View\Helper\FormHelper in AdminLTE\src\View\Helper\FormHelper.php on line 210
I am using cakephp 3.4
I have found that there is nothing on line 210
Please help

how to customize a layout

Hi,

What is best practices to customize a layout? You've already provided a customization for elements but not for layouts like default.ctp, login.ctp, register.ctp, etc

Thanks

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.