You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was able to overwrite correctly the folders under the "templates/element/" dir.
But The Layout files ( "templates/layout/" ) were not able to overwrite.
Layouts
copy from
vendor/arodu/cakelte/templates/layout/default.php
to
templates/layout/default.php
... I customized this file
Do I need any settings?
I use trait into src/View/AppView.php (Recomended)
My environment.
cakephp/cakephp 4.5.2
arodu/cakelte v1.1.1
The text was updated successfully, but these errors were encountered:
Create a plugin/CakeLte directory
{myproject}/templates/plugin/CakeLte/layout
Place layout files.
{myproject}/templates/plugin/CakeLte/layout/default.php
By the way,
I tried moving elements under the plugin directory,
example
{myproject}/templates/plugin/CakeLte/element/header/main.php
{myproject}/templates/plugin/CakeLte/element/header/menu.php
{myproject}/templates/plugin/CakeLte/element/content/header.php
These were overwritten.
If anyone knows, please comment if this method is correct.
Thanks for this wonderful AdminLTE plugin.
I was able to overwrite correctly the folders under the "templates/element/" dir.
But The Layout files ( "templates/layout/" ) were not able to overwrite.
Layouts
copy from
vendor/arodu/cakelte/templates/layout/default.php
to
templates/layout/default.php
... I customized this file
Do I need any settings?
I use trait into src/View/AppView.php (Recomended)
My environment.
The text was updated successfully, but these errors were encountered: