koninklijke-collective / koning-open-graph
TYPO3 Extension: Open graph tags in TYPO3 inside Page Properties
Installs: 28
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 1
Open Issues: 1
Type:typo3-cms-extension
Requires
- typo3/cms-core: >=6.2.0
This package is auto-updated.
Last update: 2020-05-07 12:31:05 UTC
README
Open Graph tags for TYPO3 pages.
Installation
- Download extension from TER and install it
- Include the
Koning Open Graph - (required) Library
static template - Include the
Koning Open Graph - Manual include in Page Rendering
static template
Now a tab should be available in your page properties to set the Open Graph tags.
When your Open Graph tags aren't working in the frontend, include the lib.koning_open_graph
in the headerData code of your own page configuration (your page object might have a different name than page
for example).
Configuration
You can set a default image. Override the following constants:
{$plugin.tx_koningopengraph.defaultImage.url}
: url to your image (absolute url for TYPO3 6.2, relative url for TYPO3 7.6+ due to some TypoScript changes){$plugin.tx_koningopengraph.defaultImage.width}
: width of your image{$plugin.tx_koningopengraph.defaultImage.height}
: height of your image