belsignum / rte_ckeditor_microdata
FAQ Microdata support in CKEditor for Typo3
Installs: 3
Dependents: 0
Suggesters: 0
Security: 0
Stars: 2
Watchers: 0
Forks: 0
Open Issues: 0
Language:JavaScript
Type:typo3-cms-extension
Requires
- typo3/cms-core: ^10.4
This package is auto-updated.
Last update: 2024-12-10 22:49:15 UTC
README
This extension adds a Microdata Implementation for TYPO3 to CKEditor.
Add issues or explore the project on github.
Installation
-
Install the extension
-
Activate the extension in Extension Manager
-
Add a preset for rte_ckeditor or override the default one
-
via custom extension
<?php // EXT:my_ext/ext_localconf.php $GLOBALS['TYPO3_CONF_VARS']['RTE']['Presets']['default'] = 'EXT:my_ext/Configuration/RTE/Default.yaml';
-
via AdditionalConfiguration.php
// /typo3conf/AdditionalConfiguration.php $GLOBALS['TYPO3_CONF_VARS']['RTE']['Presets']['default'] = 'fileadmin/Template/Configuration/RTE/Default.yaml';
-
-
Add custom RTE config
# EXT:my_ext/Configuration/RTE/Default.yaml # or: # fileadmin/Template/Configuration/RTE/Default.yaml imports: # Import default RTE config (for example) - { resource: "EXT:rte_ckeditor/Configuration/RTE/Default.yaml" } # Import the microdata plugin configuration - { resource: "EXT:rte_ckeditor_microdata/Configuration/RTE/Plugin.yaml" }
-
Mod existing RTE config
# EXT:my_ext/Configuration/RTE/Default.yaml # or: # fileadmin/Template/Configuration/RTE/Default.yaml imports: # Import the microdata plugin configuration - { resource: "EXT:rte_ckeditor_microdata/Configuration/RTE/Plugin.yaml" } editor: config: # allow div and headers width attributes extraAllowedContent: > div[itemprop, itemscope, itemtype](*); h1[itemprop]; h2[itemprop]; h3[itemprop]; h4[itemprop]; h5[itemprop]; h6[itemprop];
Usage
-
Edit page properties goto Metadata tab and select type of web page
-
Edit a content element with a RTE text field and hit the "Insert Microdata" button
-
Add your question and your answer. This will add a schema.org HTML structure pattern. You can modify it with RTE but keep the main structure
-
Test your site on Google rich search results
To fix
Add further implementations! Currently only the FAQ microdata is supported