- 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
28 lines
610 B
YAML
28 lines
610 B
YAML
plugin:
|
|
name: FAQ
|
|
description: Questions and answers shown on the site.
|
|
permissions:
|
|
faqs: Manage FAQs
|
|
models:
|
|
general:
|
|
id: ID
|
|
created_at: Created At
|
|
updated_at: Updated At
|
|
faq:
|
|
label: FAQ
|
|
label_plural: FAQs
|
|
labels:
|
|
name: Name
|
|
slug: Slug
|
|
is_active: Active
|
|
is_active_comment: Only active FAQs are served to the site.
|
|
locale: Language
|
|
locale_comment: One FAQ per language. Use the same slug in each language.
|
|
description: Description
|
|
content: Questions
|
|
add_question: Add question
|
|
question: Question
|
|
answer: Answer
|
|
errors:
|
|
locale_required: Choose a language.
|