Questions tagged [kirby]
Kirby is a file-based CMS built using PHP. Its contents are organized in folders and write in plain text files with Markdown formatting.
kirby
83
questions
0
votes
1
answer
94
views
Error 403 forbidden when change status of page (The JSON response of the API could not be parsed) KirbyCMS - Apache mod_authz_core.c issue?
The website (using KirbyCMS) globaly “works”, but some backend function doesn’t. It doesn’t work when we try to change status of a basic page (from “draft” to “listed”). This error occur each time (...
1
vote
1
answer
29
views
Why does my Image overlap my fixed top bar on hover?
I am pretty new to coding. I am writing my first Kirby Website. I have a fixed top bar and a scrollable gallery. I tried to have my images to be B/W on hover. This works, but for some reason - when ...
1
vote
0
answers
122
views
How can I overwrite the default nginx configuration of Kirby on Azure App Service while keeping the listening port as it is?
i am currently moving a website from on-prem to Azure App Service running Kirby (https://getkirby.com).
TLDR: Is it possible to override the nginx port rounting, without changing the listening port ?
...
0
votes
1
answer
497
views
How to (re)initialise flickity carousel inside accordion items?
I am trying to get one flickity carousel to work in each of my accordion items and my lack of knowledge in js gets me unfortunately to a dead end.
What happens is that I see my carousels broken (not ...
0
votes
1
answer
84
views
Height of the image same to content right next to it
Given a div in a Webpage where I want to display an image and a paragraph right next to it. I want the image to get smaller if the size of the screen is getting smaller and the text to go around it. ...
1
vote
1
answer
100
views
add an incrementing number to id with php
I am making a portfolio site with kirby cms.
my site is a single page website. I want to add an incrementing number after id by using foreach in the part shown in the code below..!
Is there easy way ...
0
votes
1
answer
84
views
JS/bookmarklet to replace characters in the URL with some other characters, but retain domain name
When the bookmarklet is clicked, I need the URL, such as this:
https://example.com/test/page1/page2/page3/final page
To be replaced with:
https://example.com/panel/pages/test+page1+page2+page3+final-...
0
votes
0
answers
106
views
Timeout when loading files using nginx
Good Morning!
Currently configuring Kirby on Azure Web Apps with nginx.
I have the following issue:
The issue: All other files cant be pulled, when using the default configuration. (Port 8080)
Whats ...
1
vote
1
answer
1k
views
Picking a Random Background Color from a List and Applying it to a Dynamically Generated Button - Troubleshooting
I'm building a personal website using Kirby CMS. I have a nav menu that automatically adds new buttons for any new pages I create for the website. I would like each button to have a background color ...
0
votes
1
answer
139
views
Multiple Slideshows javascript and kirby-cms php
I want to use multiple slideshows on one page. My javascript code is at the moment only designed for one slideshow. How can I adapt this code to work for multiple slideshows that all have the same ...
0
votes
1
answer
308
views
Override composer package type upon installation
Is there a way to override a composer package type upon installation? I want to install a composer package which uses a custom type. This type leads into a custom installation path.
What I try to ...
0
votes
1
answer
276
views
Recaptcha and Firebase with Plain HTML / PHP and Kirby
I'm trying to implement firebase on a Kirby website (a CMS run on PHP) so visitors can mark subpages to show up as links on the landing page.
To do this, I've constructed a form where a user adds ...
0
votes
1
answer
163
views
PHP Kirby Use 2 variables in 1 Snippet
I'm really new to Kirby and PHP and I try to use 2 variables in a Snippet.
This is my Code right now
<div class="container">
<h2><?= $variable1 ?></h2>
<?php
...
1
vote
0
answers
201
views
502 bad gateway after updates (Debian, NGINX, Let’s Encrypt to ACMEv2 and CMS) - maybe config or php issue?
Can’t reach the website anymore. Get 502 Bad Gateway error.
What happened:
Updated Let’s Encrypt to ACMEv2 (at least tried, seems it worked) -> 502 error
Updated Debian 8 to 10 buster (via 9) ->...
1
vote
1
answer
1k
views
Kirby CMS: how to return Blocks as HTML?
I'm playing with Kirby CMS and using it as a headless CMS. I'm using Blocks field to handle rich content.
In the API, this field is returned as an array of objects:
[
{
"content":...