sylvainjule / kirby-imageboxes Goto Github PK
View Code? Open in Web Editor NEWAdd illustrations to Kirby's checkboxes. Kirby 3 and 4.
Add illustrations to Kirby's checkboxes. Kirby 3 and 4.
color: #ffffff
For both plugins.
Hi Sylvain.
Running into some issues when trying to use the plugin with an api
fetch.
First, there seem to be some namespace declarations missing here, namely:
use Kirby\Cms\App;
use Kirby\Form\OptionsApi;
After fixing this, I get the following error:
Undefined index: image in file: .../site/plugins/imageboxes/lib/options/imageboxes-options.php line: 79
My blueprint looks like this:
termine:
type: imageboxes
options: api
api:
url: "{{ kirby.option('coaUrl') }}/termine.json"
text: "{{ item.date }} — {{ item.title }}"
value: "{{ item.title.slug }}"
image: "{{ item.image }}"
The returned json looks good, returning a regular absolute URL for the image.
Any idea?
I’m get a Cannot convert undefined or null to object
error when I try to save this when using it within a builder field.
Not sure if this is a more of a Builder plugin issue. 😬
Hi !
Looks like the ImageRadioOptionsQuery function doesn't have the right name. I updated it with ImageBoxesOptionsQuery and it seems to work. (line 99, lib / options / imagesboxes-options.php)
Maybe an oversight after cloning the module?
Great job though.
Class "Kirby\Options\OptionsApi" not found
Kirby 4.0.0-rc.4
PHP 8.1.23
Hi,
could you add a config parameter for the hardcoded imagepath?
I have for images a little bit different folder.
Cheers
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.