Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I am missing something #19

Open
sundown11 opened this issue Jun 26, 2022 · 1 comment
Open

I am missing something #19

sundown11 opened this issue Jun 26, 2022 · 1 comment

Comments

@sundown11
Copy link

Hi,
as per your README.md I copied the files from vendor/hail812/yii2-adminlte3/src/views to my @app/view folder and modified the web config to set the view path.

I then modified the copied site/index.php file but it still seems to be loading your site/index.php page from the vendor folder. How do I use my own site/index.php file? Am I missing something?

sorry for my clumsy explanation , I am new to the y112 "theming" stuff.

Nick

@biladina
Copy link

biladina commented Sep 2, 2022

just remove this in your config, and it should be able to redirect to your own views..

'components' => [
    'view' => [
         'theme' => [
             'pathMap' => [
                '@app/views' => '@vendor/hail812/yii2-adminlte3/src/views'
             ],
         ],
    ],
],

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants