Commit 3a92c742 authored by Kevin Ditscheid's avatar Kevin Ditscheid
Browse files

[TASK] Add TYPO3 8 drop to extension README.md

parent a5dd4523
......@@ -8,7 +8,7 @@ Repository: https://gitlab.sgalinski.de/typo3/sg_contentlink
Please report bugs here: https://gitlab.sgalinski.de/typo3/sg_contentlink
TYPO3 version: >7.6
TYPO3 version: >=9.5
## About
Adds an option to content elements that creates a link which wraps the entire element. Inner links will be removed.
......@@ -19,10 +19,10 @@ Adds an option to content elements that creates a link which wraps the entire el
2. Include the static TypoScript template "Contentlink" to the root page
3. The most important **CTypes** are already added.
If you want to add a new **CType**, simply extend the tt_content **cType** values to the **SGalinski\SgContentlink\TCA\TcaProvider** class by using the following functions,
either in your ext_tables.php or in your TCA configuration of your template extension.
either in your ext_tables.php or in your TCA configuration of your template extension.
```
\SGalinski\SgContentlink\TCA\TcaProvider::addAllowedTypeForContentLink('###MY_CTYPE###');
// Example
\SGalinski\SgContentlink\TCA\TcaProvider::addAllowedTypeForContentLink('media');
```
......@@ -43,8 +43,12 @@ You can supply different values for the link properties within the extensions Ty
}
}
}
## Usage
In your content elements you find an option **Content Element Link**.
When you provide a valid url, the element gets wrapped with the link and all inner links are removed.
If the option is empty or is not a valid url, nothing happens.
\ No newline at end of file
In your content elements you find an option **Content Element Link**.
When you provide a valid url, the element gets wrapped with the link and all inner links are removed.
If the option is empty or is not a valid url, nothing happens.
## Version 2 to 3 changes
- Dropped TYPO3 8 support
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment