Comments (1)
crete a bootstrap.php
file in your targeted space config folder, eg .spaces/myspace/config/bootstrap.php
then add event listeners there:
<?php
$app->on('content.item.save', function($modelName, $data) {...});
from cockpit.
Related Issues (20)
- [Feature] Lockable Components in Page Content HOT 1
- [Feature] Restricted set of allowed components in pages
- [Feature] Technical ID for a page HOT 2
- GraphQL Bug: Usage of "multiple" in a select leads to wrong schema HOT 3
- GraphQL Bug: Type Number is always represented by an Int GraphQL type HOT 1
- [Feature] Adjust fields of standard components HOT 4
- _cby and _mby are NULL by default? HOT 1
- Upload Assets Modal doesn't appear HOT 1
- Setting selectable colors HOT 2
- [Feature] Root slug HOT 1
- [Bug] Adding class to Section-layout-component doesn't save HOT 2
- Option to extend page default fields HOT 2
- 🐛 Asset preview doesn't show videos HOT 1
- cannot edit fields in singleton or collection HOT 1
- Login: SQLSTATE[HY000]: General error: 1 no such column: criteria667bbee641d33 HOT 6
- [Feature] API endpoint to fetch items of multiple models at once HOT 3
- [Feature] UI: REST-API Viewer DX HOT 1
- Page cover up bug on load asset HOT 16
- Event handlers not working in Spaces (some event is not registered on spaces) HOT 5
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 cockpit.