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
7
votes
1 answer

"Unexpected token '>'" line 1 after htaccess rewrite (Breaks css & images)

Basically, what I've been aiming at doing is to fix broken links. Old links might point to http://www.example.com/work/funkystuff, and I'm redirecting them to go to http://www.example.com/en/work/funkystuff. So here are the symptoms of this…
4
votes
1 answer

Install of Laravel Valet with Composer is giving a Command not Found error in Mac OS

Currently, I am in the process of installing Laravel Valet for the purpose of using it to locally develop with Kirby CMS. I am following these instructions, once I try to install Valet I get a "command not found" error. After looking at other…
Sam Taylor
  • 41
  • 1
  • 2
3
votes
0 answers

How to expose webpack dependencies in `window`?

This question comes from a Kirby CMS issue I am having. Here's a brief summary. The Kirby panel uses Vue and Vuex and bundles them with Webpack (through Vue CLI). It has two chunks, vendors and app. People could also write plugins for that panel.…
dodov
  • 5,206
  • 3
  • 34
  • 65
3
votes
1 answer

Kirby CMS on NGINX server

I have a Ubuntu 14.04 server on DigitalOcean configured with NGINX virtual host in which I'm attempting to host a Kirby CMS site on. The front page works fine, but I get a 404 on any other page. Kirby is installed to directories deep…
Tomelower
  • 475
  • 3
  • 8
  • 17
2
votes
0 answers

Create HTML table from kirby fields object

Below is my data and i want to generate html table. column_name is column Name(td) and row_data is td. i have used kirby builder to generate this data structure. I have loop on first table_data array and inside it i have loop on rows. but data gets…
Sunny G
  • 191
  • 2
  • 9
2
votes
1 answer

pts.js 'NS_ERROR_NOT_AVAILABLE: ' Error when trying to use an image for a particle

I'm wanting to load the same an image for particles in pts.js. When I try to use a local image from my assets folder I get the error "NS_ERROR_NOT_AVAILABLE:" in the console. I read somewhere this may be due to the image trying to be used before it…
2
votes
1 answer

Subpages aren't working in Kirby even with htaccess file

I'm trying to setup Kirby locally using MAMP. My MAMP setup I have it so I can point run multiple sites as virtual hosts. I use this code: NameVirtualHost * DocumentRoot "/Applications/MAMP/htdocs" ServerName localhost…
Oscar Godson
  • 31,662
  • 41
  • 121
  • 201
2
votes
1 answer

Running a secondary PHP app from a subdirectory in Nginx

I have a site built on the Kirby flat file CMS and its running in the root directory just fine, but I'm trying to get an instance of FlightPHP running in a subdirectory (called crm) of the above project. This FlightPHP instance will handle form…
ghstcode
  • 2,902
  • 1
  • 20
  • 30
2
votes
2 answers

kirby .htaceess and GET variables

I'm currently building a gallery in Kirby and have an album page that effectively has two modes: 1) Gallery listing, showing all items. 2) Single Image. I'm passing in a GET variable like so: /gallery/album-name?p=03.jpg What I really want is a URL…
2
votes
1 answer

Toggle content with JavaScript and CSS not working in Kirby

I am trying to use the toggle code I found here: http://jsfiddle.net/wGbh5/. It seemed pretty straight forward and doing exactly what I want. So I had the following code in my style.css file: .clickme { background-color: #eee; border-radius:…
Wiliam
  • 179
  • 11
2
votes
2 answers

Kirby CMS, how to get the first image from an Object with PHP?

im currently trying out some stuff with Kirby CMS. Right now I'm trying to build a simple blog with some pictures and what i want to achieve, is that the first, and only the first picture in the blog post, ist shown in the post overview together…
Paule
  • 23
  • 1
  • 3
1
vote
1 answer

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 hovering over the image - the image will suddenly…
lea ikea
  • 13
  • 3
1
vote
0 answers

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 ? Context: Azure App Service allows different…
ben123
  • 11
  • 4
1
vote
1 answer

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 to do..? regards, listed()…
1
vote
1 answer

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 that is randomly chosen from an array of colors…
AveryH
  • 41
  • 5
1
2 3 4 5 6