Hello
I just tried to install a new theme in my advanced template.
-
Download theme (Theme for testing)
-
make themes folder in frontend/ -> frontend/themes
-
extract theme white-shoes into it
-
moved my folder (poi) with all viewsfiles (index.php, create.php, view…) to frontend/themes/white-shoes/
-
edited frontend\config\main.php (as in yii2 guide-output-theming)
'view' => [
'theme' => [
'pathMap' => ['@app/views' => '@app/themes/white-shoes'],
'baseUrl' => '@web/../themes/white-shoes',
],
],
I think, until now everything is allright
Because I put the themes-dir not in web-dir, I had to put these /../ in the code.
(But putting the themes-dir in the web-dir didn’t solve my mainproblem - ‘no icons’)
After all I got my site with the new theme running.
But e.g. in indexview in ActionColum the icons (view,update,delete) are gone.
In sourcecode of the site (in Browser) I can’t see a wrong path.
The icons are displayed as
<span class="glyphicon glyphicon-eye-open">
So did I miss changing an additional path somewhere?
How do I solve this problem?
Thank you.