maiconpinto / cakephp-adminlte-theme Goto Github PK
View Code? Open in Web Editor NEWCakePHP AdminLTE Theme
Home Page: http://maiconpinto.github.io/cakephp-adminlte-theme/
License: MIT License
CakePHP AdminLTE Theme
Home Page: http://maiconpinto.github.io/cakephp-adminlte-theme/
License: MIT License
Is possible implement locale?
I upgraded to v1.0.6 and was trying to bake , but after baking i was not able have a select option with multiple option true. please check and let me know if this could be fix in next version.
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
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
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
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?
Implement documentation in gh-pages branch
┆Issue is synchronized with this Asana task
--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
Update files from Layout, Elements, etc...
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
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.
Cake 3.7 , in debug kit deprecation panel :
AdminLTE/src/View/Helper/FormHelper.php:94
FormHelper::input() is deprecated. Use FormHelper::control() instead
how to install this plugins to cakephp 3.x
thanks
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.
When this project was created, the version was 2.3.2. Now, need update version to the last version. Today is 2.3.11.
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
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
.H:\web\mahallu\mahallu>pwd
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']);
You could mention it @ https://github.com/FriendsOfCake/awesome-cakephp
For others to more easily find it.
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.
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)
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`
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
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
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?
┆Issue is synchronized with this Asana task
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
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...
how to install it
Update files for FormHelper.
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
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?
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?
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?
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
Implement Helper to Form
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
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
The options minYear, maxYear and monthNames does not work in date/datetime input forms.
┆Issue is synchronized with this Asana task
Update files for Bake.
Wating to documentation...
Can you show step by step installation?
Try using composer already but nothing downloaded or installed !
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.