TYPO3ContentElements/README.rst
Weissheiten Wien 80dcd33175
Update README.rst
Update readme to match new functionalities
2023-07-07 12:11:34 +02:00

2.3 KiB

TYPO3 Extension to integrate SkillDisplay

This TYPO3 extension integrates SkillDisplay into TYPO3 installations.

Right now it provides the following features:

  • Content element to render one or more skills.
  • Content element to render one skill set.
  • DataProcessor to fetch skills as entities via API.
  • DataProcessor to fetch skill sets as entities via API.
  • ViewHelper to generate verification button.
  • ViewHelper to generate verification URL.
  • ViewHelper to group skills by domain tag

Installation

Install the extension via Extension Manager or composer.

Add static TypoScript once installed and activated via Extension Manager. The TypoScript contains the rendering definition for provided content elements.

Next Step: Copy Templates or adjust template paths via TypoScript. In order to allow TYPO3 to find the Fluid templates for content elements, either add the path EXT:skilldisplay_content/Resources/Private/Templates/ContentElements/ in TypoScript, e.g.:

lib.contentElement {
    partialRootPaths {
        50 = EXT:skilldisplay_content/Resources/Private/Partials/ContentElements/
    }
    templateRootPaths {
        50 = EXT:skilldisplay_content/Resources/Private/Templates/ContentElements/
    }
}

Ensure the path has a lower number then your own paths and doesn't overwrite any existing number.

Or copy the files from /Resources/Private/Templates/ContentElements/ to your existing template folder.

Configuration

You may include default CSS for the templates in your TypoScript:

page.includeCSS.skilldisplay = EXT:skilldisplay_content/Resources/Public/Css/Styles.css

Site configuration is extended, where options like API Key can be provided.

Also TypoScript and TSconfig is added to provide wizard entries for new content elements, as well as rendering. Both can be adjusted via custom TypoScript and TSconfig.

Usage

Add content elements to the pages and insert the ID of skills as comma separated list, or select one of the available skillsets. (The list includes all public SkillSets on the official SkillDisplay platform. Using custom SkillDisplay instances based on the Open Source extension is possible, check the skilldisplay/php-api package for more information)