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
1
vote
0 answers

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) -> 502 error Updated NGINX 1.14.2 -> 502 error Updated…
Codo Ekran
  • 11
  • 3
1
vote
1 answer

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": { "level": "h2", "text": "test" …
enguerranws
  • 8,087
  • 8
  • 49
  • 97
1
vote
0 answers

Rendering generated JSON HTML Representation to HTML (vue.js — Headless)

currently I am trying to combine NUXT.js with a headless version of KirbyCMS. Basically the CMS takes the data and puts it into a JSON format. The data only contains content like Images, Texts, Galleries, Images and so on. (Basically anything from…
1
vote
1 answer

vertical tab with Kirby

Im new here, so forgive me if i make any mistakes... I built an vertical tab for my portfolio website, based on the tutorial of w3school: https://www.w3schools.com/howto/howto_js_vertical_tabs.asp So I changed the city names with php code referring…
cianjochem
  • 11
  • 1
1
vote
0 answers

password_get_info returning unexpected results

Usually, you can use password_get_info($string); to get some information about a hashed password which will return something like this: [ 'algo' => int, 'algoName' => 'name of algorithm|unknown', 'options' => [/*options for algo, or…
DieserJonas
  • 149
  • 11
1
vote
1 answer

How to sort pages in reverse chronological order?

I want to display pages in reverse chronological order based on page's name. Is there an easier way to do this than changing the page names? Here is the Kirby's example. /content/blog/20121212-my-first-article …
Dominique Vial
  • 3,729
  • 2
  • 25
  • 45
1
vote
1 answer

Image overlapping issue with Packery and ImagesLoaded with images served over PHP

Been at this for maybe too long now but cannot seem to get the packery/imagesLoaded combo to work with my Kirby site. I get the infamous picture overlap. The following is where I enter the imageURL into the tag.
Chaz
  • 233
  • 2
  • 11
1
vote
1 answer

Why do I need to add index.php in order to route my website correctly? [getkirby]

I uploaded the code to the server. It started the homepage correctly . But when I press any link , I get 404 not found error. I discovered that I need to add index.php to my url for it to work. so it will be like…
Ali123
  • 740
  • 13
  • 38
1
vote
1 answer

Nginx rewrite not working (Kirby CMS Cachebuster)

Nginx shall rewrite /assets/css/main.1448958665.css to /assets/css/main.css. But trying to get that file, it returns a 404. This is my Nginx config for the site: server { listen 80 default_server; server_name example.com; root…
roka
  • 1,677
  • 1
  • 15
  • 21
1
vote
1 answer

Site security for Kirby CMS

I am creating a site where clients will need to securely upload documents and enter secure information. I was hoping to add additional security to the site and wanted to know if there were any plugins or kirby additions I could add to my site.…
Jamie
  • 1,909
  • 3
  • 22
  • 47
1
vote
4 answers

htaccess ignore rewrite to api url

I’ve build the front end of a site using angular and have created the cms through Kirby. Kirby allows you to build a json api from the structure you create with the cms, like so. What I’m trying to do now is use the api provided by Kirby which is:…
Post HQ
  • 11
  • 2
1
vote
2 answers

Building chained function calls dynamically in PHP

I use PHP (with KirbyCMS) and can create this code: $results = $site->filterBy('a_key', 'a_value')->filterBy('a_key2', 'a_value2'); This is a chain with two filterBy. It works. However I need to build a function call like this dynamically.…
Jens Törnell
  • 23,180
  • 45
  • 124
  • 206
1
vote
0 answers

Absolute URLs with Grunt Usemin / CSSmin while still finding the CSS

Because my site is based on folder structure, I have to add as many ../ as their are levels in the hierarchy or on deeper 'pages' the CSS doesn't load. Is there a way to get Grunt Usemin / CSSmin to let me use an absolute url?