In Windows 11, when running npm to produce content from _custom/shared/themes/MyTheme, two paths are created in public/generated/shared. The directory /public/generated/shared contains two subdirectories, /laragon and /shared. laragon is directly under C: directory here, and contains the WAMP stack. The directory path in laragon reflects the path to the Tiki instance I'm testing with, and so also contains a /custom/shared/themes directory.
The problem seems to be that this longer path to the themes contains the image directories (one having images), and the other set of /shared/themes contains the CSS files, so the images can't be found, as specified by the CSS.
Please see this conversation: https://matrix.to/#/!SLEgqpTNTlGYAhzNvK:gitter.im/$h6R2W_KSy-wxq7EDullkNWSotkH8HEJRKdzhW-ABPKI?via=gitter.im&via=matrix.org&via=sans-nuage.fr, which includes screenshots of the directory structure.
A workaround is to manually copy the missing theme subdirectories from _custom/shared/themes to public/generated/custom/shared/themes, but it would be better if this worked automatically.
To help developers solve the bug, we kindly request that you demonstrate your bug on a show2.tiki.org instance. To start, simply select a version and click on "Create show2.tiki.org instance". Once the instance is ready (in a minute or two), as indicated in the status window below, you can then access that instance, login (the initial admin username/password is "admin") and configure the Tiki to demonstrate your bug. Priority will be given to bugs that have been demonstrated on show2.tiki.org.
To help developers solve the bug, we kindly request that you demonstrate your bug on a show.tikiwiki.org instance. To start, simply select a version and click on "Create show.tikiwiki.org instance". Once the instance is ready (in a minute or two), as indicated in the status window below, you can then access that instance, login (the initial admin username/password is "admin") and configure the Tiki to demonstrate your bug. Priority will be given to bugs that have been demonstrated on show.tikiwiki.org.
filename | created | hits | comment | version | filetype | ||
---|---|---|---|---|---|---|---|
No attachments for this item |