Trying to add the imageradio plugin.
it works fine in the starterkit but gives me the error message “field type doesnt exist” when i try it on my own site.
Plugins using:
color
meta-tags
imageradio
Any idea what it could be ?
Thanks i.a.
Trying to add the imageradio plugin.
it works fine in the starterkit but gives me the error message “field type doesnt exist” when i try it on my own site.
Plugins using:
color
meta-tags
imageradio
Any idea what it could be ?
Thanks i.a.
Is it correctly installed? What if you remove the other plugins?
What is your Kirby version?
followed the installation on the plugin page.
Also tried removing the other plugins but no succes.
And cleared my sessions and cache, same result.
Im using * Version 3.0.2
That’s pretty old, the current version is 3.2.3, try with the latest version.
Ok, have updated kirby.
Still giving the same error message…
Could you post your blueprint, please?
title: Event
icon: 🎭
status:
draft: true
listed: true
columns:
- width: 1
fields:
playtime:
label: playtime
type: structure
fields:
eventdate:
label: Datum Event
type: date
default: today
required: true
time:
label: Time
type: time
default: now
eventtype:
label: Soort Event
type: select
options:
(wip): (WORK IN PROGRESS)
(try-out): (TRY-OUT)
(premiére): (PREMIÉRE)
ticketcode:
label: ticketworks code
type: text
ticketlink:
label: ticket url (external)
type: url
- width: 1/3
fields:
header:
label: Welke ovalen
type: select
options:
hv1: (2/5)(1/5)(2/5)
hv2: (1/4)(1/4)(1/4)(1/4)
hv3: (1/5)(1/5)(1/5)(1/5)(1/5)
hv4: (1/5)(1/5)(3/5)
hv5: (1/10)(1/10)(3/10)(1/10)(1/10)(3/10)
default: hv1
width: 1/2
homepage:
label: Show on homepage?
type: checkboxes
options:
home: Show on homepage
cover:
type: files
multiple: false
titleevent:
label: Titel Event
type: text
subtitle:
label: Sub titel Event
type: text
blurb:
label: Korte zin omvatting event
type: text
description:
label: Omschrijving/informatie event
type: textarea
credits:
label: Credits
type: textarea
- width: 1/3
sections:
images:
type: files
layout: cards
template: image
info: "{{ file.dimensions }}"
image:
ratio: 5/4
cover: true
min: 1
size: small
- width: 1/3
fields:
tags: true
type: tags
options: query
query: site.index.pluck("tags", ",", true)
deals:
label: Partout / Combi deals / etc
type: structure
fields:
info:
type: text
label: Titel Deal
days:
label: info deal
type: text
ticketurl:
label: ticket url
type: url
ticketlabel:
label: ticket label
type: text
default: TICKET
prices:
label: Prijzen
type: structure
fields:
kind:
label: soort
type: text
price:
label: prijs
type: text
specials:
label: Specials
type: structure
fields:
kind:
label: soort
type: text
price:
label: prijs
type: text
locations:
label: Locaties
type: structure
fields:
location:
label: locatie
type: text
edgeprogram:
label: Extra Informatie
type: structure
help: (randprogrammering, handicap ingang, etc)
fields:
title:
label: titel
type: text
edge:
label: Informatie
type: textarea
keywords:
type: tags
options: query
query:
fetch: site.index.pluck("keywords", ",", true)
help: (Voor zoeken in de site)
myimageradio:
label: Pick a theme
type: imageradio
columns: 3
options:
light:
text: Light theme
image: light.jpg
dark:
text: Dark theme
image: dark.jpg
blue:
text: Blue theme
image: blue.jpg
That looks ok, apart from the tags: true
part, where true
should be removed. But that’s not what is causing the field not to show up.
cleaned out kirby again, reinstalled everything. seems to work now!