Files
sm-journal-plugin/controllers/posts/config_form.yaml
Jakub Zych dea0934950 feat(15-02): add Posts admin with mlmarkdown and FormatHTML
YAML-driven Posts screen stores translatable markdown and regenerates
content_html in the plugin. Publish writes without access_publish are
refused; list and form queries stay on the principal without
access_other_posts.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-06 18:41:10 +02:00

20 lines
628 B
YAML

name: golem15.journal::lang.journal.create_post
form: ~/plugins/golem15/journal/models/post/fields.yaml
modelClass: Golem15\Journal\Models\Post
defaultRedirect: golem15/journal/posts
create:
redirect: golem15/journal/posts/update/:id
redirectClose: golem15/journal/posts
update:
redirect: golem15/journal/posts
redirectClose: golem15/journal/posts
messages:
create: golem15.journal::lang.posts.new_post
update: backend::lang.messages.form.update
saved: backend::lang.messages.form.saved
deleteConfirm: golem15.journal::lang.post.delete_confirm
deleted: backend::lang.messages.form.deleted