Official Repository of the 'slug' Backend Module for TYPO3
Official Repository of the 'slug' Backend Module for TYPO3 9.5, 10 and soon 11.1.0
The Slug backend module is designed to help manage large amounts of slugs for pages and extension records. Currently, it provides a simple list for pages and custom records, which can be filtered with different parameters. Slugs can be edited and saved quickly and efficiently. The modules regenerate or save all slugs of the current list view with just one click. I have tested the functionality with 500 empty news records so far, without any problem.
If you like the slug extension, please consider to donate and help speed up the development. Your ideas to improve and extend the slug module are more than welcome: send a message
Please use the latest version from the official TYPO3 repository (https://extensions.typo3.org/extension/slug/), if you want to make sure that nothing happens to your website. In any case I highly recommend a database backup if you want to work in a live website!!! If you use the current version from GitHub, you use it at your own risk!
See the changelog for more details: https://github.com/koehlersimon/slug/blob/master/CHANGELOG.md
composer require koehlersimon/slug
Note: To enable custom records functionality, you must activate the checkbox "Custom records enabled" in the extension settings panel!
Important to know: Editing the slugs works only if the desired table contains a field for the title and a field for the slug. The names of the fields can be determined by TypoScript. But be careful. If you use a wrong field, the slug extension can destroy your data. I take no responsibility for it. So it's best not to test in a live web site before. Very important to know:
Here's the TypoScript code you will need to make a custom table work. Put it into the setup of your root page.
# Module configuration
module.tx_slug {
settings{
additionalTables{
tx_news_domain_model_news{
pid = 0
label = News
slugField = path_segment
titleField = title
icon = EXT:news/Resources/Public/Icons/news_domain_model_news.svg
}
}
}
}
This happens, when you try to use the extension with version 3.0.0 or higher, in a TYPO3 version 9.5 or lower version. Please make sure to use slug v2.0.2 when using TYPO3 version 9!
This exception occurs after upgrading the extension from 2.0.0 to 2.0.xx because the most important namespaces in the extbase PHP code have changed. Therefore, it is essential to clear the system's main cache and autoload data.
If a news record has no pid set in the database, the slug generation will fail. This may happen when you have imported news records from a third party extension or manually. Solution: Check, if all entries in the table 'tx_news_domain_model_news' have the field 'pid' set to a page or folder in the page tree.
The error "Argument 2 passed to TYPO3\CMS\Core\Imaging\IconFactory::getIconForRecord() must be of the type array, null given..." can be a result of "Unassigned site configurations"
https://github.com/koehlersimon/slug/issues
Contact: https://simon-koehler.com/en/contact
Video Training TYPO3 9 LTS (German language) https://www.digistore24.com/redir/246076/GOCHILLA/