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
Possibly wrong themePath displayed #45
Comments
I also struggled over the theme path. Thus, I moved it to I'm wondering what it special about the default theme, as in renders at expected. |
As an intermediate solution, I copied my theme folder to both locations, and it works. But I guess this is not intended. |
Hi, still not working, themes on my side have to be in and not in the data folder |
I've tried copying my |
Pico CMS for Nextcloud v1.0.0 is arriving and I'm currently working through some old issues that can be resolved before releasing the app's first stable release. See help.nextcloud.com for more info. The handling of custom themes in |
Commit
2a6113b7
updatedtemplates/settings.admin.php
, displaying the actual directory where the user should place new themes, rather than just saying'apps/cms_pico/Pico/themes/'
. Displaying the directory where themes should be placed is done with$_['pathToThemes']
.This is a good change and potentially very helpful to the user. However, in my case
$_['pathToThemes']
displays as/var/ncdata/appdata_ocmnpoor4wsx/cms_pico/themes/
, i.e. the APPDATA directory, not the INSTALL directory. Themes in the$APPDATA/cms_pico/themes
directory are indeed detected by the admin panel JS, but, at least to me, they don't work when "installed" through the admin panel. I need them to be in the install directory, which in my case is/var/www/nextcloud/apps/cms_pico/Pico/themes/
, before the themes work. Otherwise the various css and js files aren't found.I assume one of the following is the issue:
$_['pathToThemes']
(i.e. it should show the install directory, not the appdata directory), orI have manually resolved my issue by making symlinks in
/var/www/nextcloud/apps/cms_pico/Pico/themes/
(the INSTALL directory) which points to the themes in/var/ncdata/appdata_ocmnpoor4wsx/cms_pico/themes/
(the APPDATA directory).The text was updated successfully, but these errors were encountered: