Comments (1)
Well a nice way to do this would be to use the update hook and save the full path into the blocks data:
https://forum.getkirby.com/t/create-custom-blocks-programmatically/22137/14
So the full path would already be in the data and therefore passed by your plugin.
I close this issue. 👍
from better-rest.
Related Issues (13)
- Add markdown parsing HOT 1
- srcset generation breaks with Kirby 3.5.0's layout field
- Kirby crashes on latest version when plugin is installed as git submodule HOT 7
- [Question] Using Betterrest Class method to JSONify a structure field HOT 1
- Kirby Image Blocks crashes Betterrest HOT 3
- [Question] Do you support pagination? HOT 1
- [K4] 4.0 Compatibility
- Documentation a bit unclear – how do I see this plugin taking effect? HOT 8
- How to use Multilang? How to send an X-Language header? HOT 1
- Improvement: Kirby Toggles seem to be transformed from Booleans to strings – Keep Booleans HOT 3
- Improvement: Ship alt or caption with srcset (or whatever fields are associated with image) HOT 2
- Date format is corrupted by non-breaking space HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from better-rest.