Skip to content

Overriding plugin templates doesn't work #107

@oresch

Description

@oresch

Hi.
Today I installed a fresh CakePHP 4.0.x and cakephp-adminlte-theme 2 as described here in the wiki.
I also added the fix in the AppController as mentioned in #102 .
Everything is shown fine.
Now I want to override some elements (layout, nav, footer etc) by copying the original default.php /myProject/vendor/maiconpinto/cakephp-adminlte-theme/templates/layout/default.php to the folder to /myProject/templates/plugin/AdminLTE/layout/default.php as described in CakePHP's documentation.

But the modification is not visible. Any ideas?
It doesn't matter if I override layout or element etc. No effect at all.
Thanks for your support.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions