yes.
to start from 0… o
1.downloaded starterkit from getkirby.com
2. on gallery plugin create an assets/css folder and and created index.css on both folders
- on site/snippets/header.php added css call:
<?= css(['assets/css/index.css', '@auto', 'media/plugins/starterkit/gallery/assets/css/index.css']) ?>
-
the expected behavoiur is when i reload the page a media/folder/plugins/starterkit/gallery/ *** .css is created.
-
media folder
the question is:
- i am doing something wrong?
- i am the only one experiencing this?
- same behaviour on php server, localserver, bitnami lamp stack
i dont now how to proceed to debug this error.
i created kirby.diezmilseres.com
fresh starterkit. same behaviuor.
The path is still wrong
You have:
'media/plugins/starterkit/gallery/assets/css/index.css'
should be
'media/plugins/starterkit/gallery/css/index.css'
That is, without the assets
path in it.
And why did you put two index.css
files into the folder. Only the one in assets/css
is relevant.
This is also documented here: https://getkirby.com/docs/guide/plugins/plugin-basics#plugin-assets__example
1 Like
i am very sorry for this. now is working!!.
thanks for the help and for kirby !!!
Well, took a while but at least it’s solved.
iDEA: when Kirby debug is activated the plugins assets area generated automatically (even if the route is not visited)