typo3-cms-extension koning-open-graph
koninklijke-collective/koning-open-graph
- Monday, July 30, 2018
- by koninklijk
- Repository
- 2 Watchers
- 0 Stars
- 6 Installations
- PHP
- 0 Dependents
- 0 Suggesters
- 0 Forks
- 1 Open issues
- 3 Versions
- 20 % Grown
[OBSOLETE] koning_open_graph
Open Graph tags for TYPO3 pages., (*1)
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., (*2)
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)., (*3)
Configuration
You can set a default image. Override the following constants:, (*4)
-
{$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