Wordpress-plugin-Gutenberg-.../readme.md

52 lines
1.8 KiB
Markdown
Raw Permalink Normal View History

2021-08-04 19:38:54 +02:00
# Mobilizon-Block (Wordpress Plugin)
2021-08-04 15:31:04 +02:00
This Plugin is beta-state. Use it carefully! But you are welcome to report bugs or feature wishes.
2021-08-01 17:27:57 +02:00
2021-08-04 19:38:54 +02:00
## Features
- Easy to use and setup
- Integrates nicely in your existing theme
- Show events of specific group or whole instance
- Configuration in the block settings:
- Maximum number of events shown
2021-08-04 19:42:43 +02:00
- Selectable designs (soon)
- Amount of event-details displayed (soon)
2021-08-04 19:38:54 +02:00
- Events get cached on the server as transients (soon)
2021-08-01 17:27:57 +02:00
## Differences to connector-mobilizon
2021-08-04 19:42:43 +02:00
This Wordpress-Plugin is inspired by https://github.com/wordpress-connector-for-mobilizon/connector-mobilizon/.
2021-08-01 17:27:57 +02:00
- Using a Gutenberg-Block, not a shortcode
2021-08-04 19:42:43 +02:00
- Fetches the events on the server side (php), not on the client side (JavaScript), which is out-of-the-box GDPR-compatible.
2021-08-01 17:27:57 +02:00
2021-08-04 19:38:54 +02:00
## Changelog
### v0.3 - 04. August 2021
2021-08-04 15:31:04 +02:00
- Add event descriptions in modal box (not optional yet)
2021-08-04 19:38:54 +02:00
### v0.2 - 04. August 2021
2021-08-04 13:09:19 +02:00
- Enhance backend design
- Make setup more fail-proof
- small fixes
2021-08-04 19:38:54 +02:00
### v0.1 - 01. August 2021
2021-08-04 13:09:19 +02:00
- Initial Proof of Concept
2021-08-01 17:27:57 +02:00
2021-08-04 19:38:54 +02:00
# Contribute
## Development
2021-08-04 19:42:43 +02:00
If you want to contribute code, translations or have ideas and so on, please see the [https://codeberg.org/linos/mobilizon-block/issues](issue) section first. You are very welcome.
2021-08-04 19:38:54 +02:00
### 👉 `npm install`
- Fetches the dependencies
- Usually only needed the first time, or when the dependencies are updated
### 👉 `npm start`
2021-08-01 17:27:57 +02:00
- Use to compile and run the block in development mode.
- Watches for any changes and reports back any errors in your code.
## 👉 `npm run build`
- Use to build production code for your block inside `dist` folder.
2021-08-04 19:38:54 +02:00
- Runs once and reports back the gzip file sizes of the produced code.
## Additional Information
This project was bootstrapped with [Create Guten Block](https://github.com/ahmadawais/create-guten-block).