Closed TheMaaarc closed 4 years ago
@boehsermoe maybe at first place we should elaborate the function of parent Themes somewhere?
This is the same problem in luyadev/luya/issues/1970 and should also fixed with luyadev/luya/pull/2002
Okay, in that case I'm gonna close this issue . :)
Thanks @boehsermoe
luyadev/luya/pull/2002 is merged now
To reproduce: Setup 2 themes and try to reference one as parentTheme with a path alias.
Example:
In the ThemeManager.php:196 it checks if
$basePath
is a key of$themes
. The$themes
array has all themes indexed by basePath. The basePath includes the whole absolute path, for example/var/www/vendor...
. It would be nice to resolve aliases in$basePath
to prevent having to write absolute paths into the theme config.Maybe there is another solution or I did something wrong. In that case, a little nudge in the right direction would be appreciated. :)