Comments (6)
Have a look here
https://github.com/lukaskleinschmidt/sortable-plus
from kirby-sortable.
Sorry for the long delay but I was on vacation last week.
I actually think this could be a good addition. But I'm not quite sure if this should be a global option or something that can be set in the blueprint. I will have a closer look at this but I think the blueprint option would be best.
It would be great if I could get me some feedback regarding the customazation. For me everything is clear but I get that it is not the easiest thing to do. Some random points where you get stuck would help alot.
from kirby-sortable.
Well maybe not in config then, you're right. It would either be too controlling or otherwise complex when wanting to control everything on a per-page level.
So perhaps then a field for actions or buttons? Obviously all of them – add, copy, paste, edit, etc. – are enabled by default, but specifying a list of them will only enable those? I'm thinking something much like the buttons
field for textarea
's.
fields:
projects:
label: List of Project Pages
type: sortable
actions:
- add
- edit
- delete
from kirby-sortable.
Actually the modules
filed (it is just an extended sortable
field) you can already do all of this.
https://github.com/lukaskleinschmidt/kirby-sortable/tree/master/fields/modules#blueprint
I left the source field (sortable
) pretty basic so it can be easily edited for any specific need.
I will put something together so you can use the features of the modules
field.
from kirby-sortable.
Amazing, thanks!
from kirby-sortable.
Thanks @lukaskleinschmidt , that's perfect!
from kirby-sortable.
Related Issues (20)
- Inline editing of modules HOT 1
- Make readme more clear
- Multilang titles in module overview HOT 3
- Drag axis HOT 3
- Disable field when readonly is set to true in the blueprint HOT 1
- Error 500 on update if status:false in child's blueprint HOT 2
- Long module titles break the layout HOT 1
- Copy Page / recursively endless spinn HOT 3
- Skipping modal (hacky solution) HOT 3
- Error on pasting modules using the Modules field HOT 1
- Add page title for new entries HOT 1
- Role based actions in layouts HOT 2
- Drag and Drop not working in IE 11 HOT 2
- Disable sorting based on roles HOT 5
- Hide page in module section HOT 8
- Error: mb_strpos(): Empty delimiter HOT 8
- in the add modal are modules and page templates shown mixed HOT 1
- Rename modules & update blueprint in filestructure HOT 2
- PHP 7.4.x and Kirby 2.5.13 HOT 4
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 kirby-sortable.