- golem15.faq plugin (Requires golem15.translate), table golem15_faq_faqs with the PHP columns - FAQ model with jsonable content and the translate Locale relation - admin controller golem15.faq.faqs: name, slug, locale, active switch, richeditor description, question repeater - navigation FAQ (order 500), permission golem15.faq.faqs, en and pl phrasebooks - TestFaqAdminSmoke: answers stored sanitized with a notice under content.1.answer
26 lines
550 B
YAML
26 lines
550 B
YAML
# ===================================
|
|
# Form Behavior Config
|
|
# ===================================
|
|
|
|
# Record name
|
|
name: golem15.faq::lang.models.faq.label
|
|
|
|
# Model Form Field configuration
|
|
form: ~/plugins/golem15/faq/models/faq/fields.yaml
|
|
|
|
# Model Class name
|
|
modelClass: Golem15\FAQ\Models\FAQ
|
|
|
|
# Default redirect location
|
|
defaultRedirect: golem15/faq/faqs
|
|
|
|
# Create page
|
|
create:
|
|
redirect: golem15/faq/faqs/update/:id
|
|
redirectClose: golem15/faq/faqs
|
|
|
|
# Update page
|
|
update:
|
|
redirect: golem15/faq/faqs
|
|
redirectClose: golem15/faq/faqs
|