Pico cms themes


Hi - I have had a look at a lot of posts here but don’t see where people have resolved this. Are there still issues with the pico_cms plugin?

My issues are:

I have installed the module, and have set up a site. The default theme is working perfectly. I would like to use my own theme though.

I have uploaded my theme to the nextcloud data/appdata directory, I can add it as administrator and as a user, I can apply it to my site.

This is where it gets tricky. I do not seem to be able to add any additional css files or javascript files. In my theme template.twig I have

<link rel='stylesheet' href="{{ theme_url }}/styles/style.css" type='text/css'/>
<link rel="stylesheet" href="{{ theme_url }}/style.css" type="text/css" />

These links get rendered as

<link rel="stylesheet" href="/apps/cms_pico/Pico/themes/default/styles/style.css" type='text/css'/>
<link rel="stylesheet" href="/apps/cms_pico/Pico/themes/default/style.css" type="text/css" />

The second stylesheet will load, but the first one will not. The first one will be redirected to the Nextcloud files app. The second one is copied from the default template. As far as I can see, the permissions are okay on all the folders and files.

Weirder are the scripts. In my twig template, I have

<script src="{{ theme_url }}/scripts/unslider-min.js"></script>
<script src="{{ theme_url }}/scripts/modernizr-2.6.1.min.js"></script>

which renders as

<script src="/apps/cms_pico/Pico/themes/default/scripts/unslider-min.js"></script>
<script src="/apps/cms_pico/Pico/themes/default/scripts/modernizr-2.6.1.min.js"></script>

The second has been copied from the default template, and the file moved into my theme. The first is not loaded, the second is.

Is there some setting somewhere that says which files can be added to the templates? I’ve been trying to find out what is going on, and am confused.

Any hints would be appreciated. Cheers



same here.
without custom theming pico_cms integration is not really useful.