oliverthiele / ot-faq
FAQ extension with output of structured data in JSON format.
Installs: 6 891
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 3
Forks: 2
Open Issues: 0
Type:typo3-cms-extension
Requires
- php: >=8.1.0
- ext-json: *
- typo3/cms-core: ^12.4.21
Requires (Dev)
- roave/security-advisories: dev-latest
README
This extension for TYPO3 v12.x allows the output of structured data for a FAQPage.
Installation
Install the TYPO3 extension with
composer require oliverthiele/ot-faq
and add the TypoScript in your root Template or in your sitepackage:
Constants:
@import "EXT:ot_faq/Configuration/TypoScript/constants.typoscript"
Setup:
@import "EXT:ot_faq/Configuration/TypoScript/setup.typoscript"
Don't forget to update the database structure!
How to add FAQs
The FAQ plugin can be added once per page. (I have deliberately decided not to use IRRE). With the plugin only the headline is output and the position for the FAQs is defined. In the TYPO3 BE modul "list" the questions with the answers can then be added. Here are the rules from the Google documentation must be observed: https://developers.google.com/search/docs/advanced/structured-data/faqpage
By default, the FAQ list HTML output (Bootstrap5 based template) also generates the structured data output in JSON format.
New in v3.0.0
All TCA configuration is now optimized for TYPO3 v12.
New in v2.0.5:
The storagePid (DB field pages) can now be used in the plugin. Please make sure that no FAQ is output twice. If you want to output FAQs on more than one page, you should deactivate the output of structured data via checkbox on one page.
General notes about the FAQs
- Questions should be unique on the whole website.
- Each question should stand on its own and not refer to the other questions.
- Questions should be written exactly as they would be asked to Alexa or Siri.
Planned improvements.
- Add an RTE configuration where only the allowed HTML tags can be used.
Changes
v3.0.0
- Removed support for TYPO3 v11
v2.0.5
- Add Support for TYPO3 v12
- Add support for storing FAQ in folders.
- Improved code quality