Community guidelines
Please keep discussions civil and on-topic. Repeated violations may lead to a temporary ban.
nix Member
@nix · Joined 8 years ago · 38 posts · 13 topics · 9 reputation
Badges
Recent posts
-
Auto generate cached pages
· 1 year ago
Hello, Thanks a lot for your feedbacks. I installed Precache and it has a useful feature of logging what it is caching. It seems I have a problem with my cache : It is recomputed too often even if I d
-
Auto generate cached pages
· 1 year ago
Thanks for your detailed answer. I'll keep you informed of my results!
-
Auto generate cached pages
· 1 year ago
Hello, I have a big website in development (~1000 pages). When I first access a page, I have a pretty long loading time (4-5s). Susbesquent acces are fast as expected (~400ms). From what I understand
-
Protect a folder from deletion without protecting children pages
· 2 years ago
Hello, In many grav sites, I have the following architecture: page A children 1 children 2 ... children N I would like to prevent a user to delete the page A by mistake, as it deletes all the ch
-
Add Grav scheduler as a php script
· 3 years ago
It works! <?php chdir('/xxx/xxx/www'); $output = `/usr/local/php8.1/bin/php bin/grav scheduler -v`; echo $output; ?>
-
Populate a selectize field with taxonomy options
· 3 years ago
Thanks that was it, I missed the selectize. Here is the working yaml: header.test: type: selectize selectize: data-options@: ['\Grav\Theme\NixholTemplate::taxonomyValues', 'artiste','selectize
-
Set Category and Tag (Taxonomies) as required
· 3 years ago
You're right, sorry for that! Here is the new topic.
-
Populate a selectize field with taxonomy options
· 3 years ago
Hello everyone, I tried to implement an automatic option populating based on the method proposed here. I added a function in my theme.php and use it in a custom blueprint. The function is: public st
-
Set Category and Tag (Taxonomies) as required
· 3 years ago
Hello, I tried to implement this automatic option populating. It works fine with select, but it doesn't seem to work with selectize. The php function in my theme is the same than yours, and my yaml lo
-
Add Grav scheduler as a php script
· 3 years ago
I tried that, changing directory with chdir and excuting bin/grav scheduler with shell_exec. Not sure if it works for the moment, but I'll post news here.