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

Bootstrap 4 navigation active link state

I use bootstrapv4 navigation, but when I click on an item, the active state doesn't switch. I tried some js but none of them are working. I'm using kirby cms, but i don't this is causing any problems.. Could using cause the…
0
votes
0 answers

Is outputting markup from closure bad practice?

I'm using Kirby CMS and I want to create a reusable snippet that outputs static content before and after dynamic content. I'm familiar with heredoc and output buffers, but I don't think they fit my use case that much. I have the following. The…
dodov
  • 5,206
  • 3
  • 34
  • 65
0
votes
0 answers

Regex for parsing Kirby tags

I am developing a plugin for Kirby CMS. It has a data type called kirby tags. I want to parse it. I have the following input: (link: http://google.com/ nospace:yes text: hello world foo: tesat: baz) From which I extract: link: http://google.com/…
dodov
  • 5,206
  • 3
  • 34
  • 65
0
votes
0 answers

Issues when using Kirby with PopcornJS

for a project I have to use Kirby and Popcorn.js together, I already used the two separately and had no problem, but now I have to generate subpages that contain different set of videos and subtitles. The problem is that I put the scripts in the…
0
votes
1 answer

Kirby CMS/php: Checking the file type in order to apply varying markup?

Working with the Kirby CMS, I'm trying to pull all the files of a page and apply different markup to images and videos. In Kirby, there is the $file->type() command, which I think I would have to use in an if-statement in order to distuniguish the…
JoSch
  • 869
  • 1
  • 15
  • 35
0
votes
0 answers

How to have multiple owl carousel sliders on the same page and move 1 item with click?

I am going nuts with a problem I cannot solve on my own. I am creating a single pager that features multiple owl carousel slideshows. All the information is being fed in with variables because I am using the kirby cms. So therefore I cannot just add…
0
votes
1 answer

HTTPS config with nginx for php cms Kirby

i'm having an issue with my nginx config on our website. When I run my configuration with port 80 I have no issue, but when I move everything to port 443 with my ssl config the site doesn't respond anymore. I have tried a lot and don't see what I'm…
33Fraise33
  • 641
  • 1
  • 6
  • 6
0
votes
1 answer

How to configure htaccess in Kirby CMS for single page app

I'm developing a single page app on top of Kirby CMS and need most pages to redirect to the homepage so that I can handle the routing in the frontend. Some pages i.e. /api__data and everything related to the panel still need to be accessible through…
Dine
  • 7,223
  • 8
  • 25
  • 35
0
votes
2 answers

About template and object problems with Kirby CMS

I met a few difficult problems when trying to write an API for my blog built with kirby cms . In a template file called "article.php" in kirby,I want to put the values (e.g. "$page->title()") into an array in order to use the function…
Twikor
  • 1
  • 3
0
votes
1 answer

Nest php Variable in href

I use Kirby as my CMS and i am trying to use a Variable to insert a Link at a icon. But it doesn't work. I tried out 2 ways. First this:
adamswebspace
  • 43
  • 1
  • 8
0
votes
1 answer

Nginx configuration for two roots

I'm using the Kirby CMS and out of the box it comes with this tree structure where everything is on the webroot: ├── assets │   ├── css │   │   └── main.css │   └── js │      └── main.js ├── content ├── kirby ├── panel │   ├── assets │   │   ├──…
0
votes
1 answer

How do I set php to start on reboot?

I am using Kirby on Ubuntu 16.04, and every time I reboot I have to login on my server, go to my website folder and type sudo php -S 0.0.0.0:80 for the server to start. What's a correct way of getting this to start automatically after a…
edeboursetty
  • 5,669
  • 2
  • 40
  • 67
0
votes
1 answer

How can i access javascript variable in kirby cms for “limit” functionality

Just like in demo of kirby children()->visible()->limit(3) as $project): ?> I want to make dynamic limit of records. How can i do that? I have tried JavaScript but it not worked. Here is JavaScript code that no…
user6212187
0
votes
1 answer

Kirby-selector not working

Hi I am trying use this https://github.com/storypioneers/kirby-selector in my project in Kirby 2.2.3. I was downloaded zip form this link, unpack and copied to site/plugins/. So zip content is in site/plugins/kirby-selector-master. In blueprint i…
Lajdák Marek
  • 2,969
  • 8
  • 29
  • 58
0
votes
1 answer

Pagination working but not quite right. Repeating first post on second page

My pagination isn't quite working. There are only 4 events and pagination is set to 3 per page. When I load the second page, it loads the first event again on its own instead of the the last post. My code is below. I'm using the kirby content…
D. Wall
  • 77
  • 1
  • 1
  • 16