lutsen / lagan Goto Github PK
View Code? Open in Web Editor NEWLagan is a different take on a CMS, with a focus on flexibility. Built with Slim, Redbean and Twig.
Home Page: https://www.laganphp.com
License: MIT License
Lagan is a different take on a CMS, with a focus on flexibility. Built with Slim, Redbean and Twig.
Home Page: https://www.laganphp.com
License: MIT License
When I try to move an item, I get a "Failed CSRF check!".
I fixed it by adding this to the javascript block:
var newForm =
// ...
.append( $('<input>', {
'type': 'hidden',
'name': '{{ csrf.keys.name }}',
'value': '{{ csrf.name }}'
})).append( $('<input>', {
'type': 'hidden',
'name': '{{ csrf.keys.value }}',
'value': '{{ csrf.value }}'
}));
I guess you added the CSRF protection to the delete button, but then forgot to do it for the position property too.
Good work with Lagan! It's like KeystoneJS for PHP!
~ Skayo
When a model doesn't have a 'title' property, it wont display any items in the list in the admin panel.
I think this should be more flexible!
php: 7.0
os: win10
get 500 error, unless change these lines of public/index.php
// Make sure to add the missing details to the config.php file.
require __DIR__.'/../config.php'; // Note: change this path if your Lagan project is in a subdirectory
// Include the configuration for RedBean and autoloaders.
require __DIR__.'/../setup.php'; // Note: change this path if your Lagan project is in a subdirectory
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.