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 is a file-based CMS built using PHP. Its contents are organized in folders and write in plain text files with Markdown formatting.

Kirby 3 was released in january 2019.

Highlights:

  1. Quick Setup
  2. Flexible content structre
  3. It requires no database
  4. Flexible API inspired by jQuery
  5. Markdown Syntax

Requirements:

Web server

Any of the following:

  • Apache 2
  • Nginx
  • LiteSpeed
  • Caddy

PHP

  • PHP 7.1+
  • mbstring extension
  • curl extension
  • ctype extension
  • gdlib extension

Useful links:

Resources

84 questions
0
votes
1 answer

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 working) inside my accordion items until I…
0
votes
1 answer

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. Thus I made the image float to the left, set the…
elpietro
  • 1
  • 1
0
votes
0 answers

Kirby class not found

I’m kinda new to Kirby. I’ve been trying to launch a website with heroku, have manipulated few things and wasn’t able to. I think I understood having a server issue since I kept getting a “frobidden access”, so I tried to install Apache Server and I…
hbrouc
  • 21
  • 3
0
votes
0 answers

Does anyone know how to compile SASS in Kirby CMS project?

I started writing FE for a website where I compiled my sass with VS Code sass plugin. So, when I started to "move" my code into the Kirby project, I realized that there is no way to use the same plugin, because Kirby does not use Live Server. Right…
user20040871
0
votes
1 answer

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-page If it isn't clear, the domain remains the…
Jon
  • 3
  • 2
0
votes
0 answers

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 expected? The Starter website loads as…
Ben
  • 25
  • 2
0
votes
1 answer

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 class names? I had already been told that I should…
0
votes
1 answer

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 achieve is to ignore the custom installation path and…
gearsdigital
  • 13,915
  • 6
  • 44
  • 73
0
votes
1 answer

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 their name when on the subpage to highlight it. The…
christopher
  • 137
  • 8
0
votes
1 answer

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

children() ->listed() ->filterBy('tags', 'variable2',…
0
votes
1 answer

Why can't I connect to my local Kirby API?

I’m trying to make an api request from another backend (written in Node.js) to my Kirby API, but everything I try just results in ECONNREFUSED. What am I doing wrong? const res = await fetch(`${apiUrl}/auth`, { headers: { 'Authorization':…
Shawn
  • 10,931
  • 18
  • 81
  • 126
0
votes
1 answer

My kirby website wasn't hosted(I'm totally new to this)

I watched a tutorial about hosting a website using Kirby and read the documentation on Kirby official website. As far as I followed, What I had to do is downloading starter-kit and go to domain and register that. (I have my license key- Kirby 3…
BS100
  • 823
  • 6
  • 22
0
votes
1 answer

Merge URLs with colon-separated parameters

i'm trying to write a script to update URLs with colon-separated parameters in JS, because page content is loaded via AJAX. The Document structure is like this: Format:
bruno
  • 369
  • 2
  • 15
0
votes
1 answer

Get function definition in string form in PHP

We have a function that is being defined on a host but not locally which is causing a name collision. The function is go() and it's in Kirby and somewhere else. When we deploy to Vercel we get an error saying go() is already defined. This is not an…
Oscar Godson
  • 31,662
  • 41
  • 121
  • 201
0
votes
1 answer

Use responsive images with Kirby CMS REST API

I am evaluating a completely headless setup with kirby. I would like to be able to upload an image in one big size and kirby should generate different sizes of responsive images. (I know this feature from WordPress where this is possible). I see…
Merc
  • 4,241
  • 8
  • 52
  • 81