Official Repository of the 'slug' Backend Module for TYPO3 9.5
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.
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!
- NEW in version 2.0.1: List only custom records from a specific page or folder, by using the "pid" parameter
- NEW in version 2: Add custom records of your extensions via TypoScript (see manual below)
- Quickly edit, save and regenerate slugs for pages and other record types (new in Version 2)
- Mass generation and storage of news slugs (up to 500 at once)
- List views filterable with different parameters
- Search engine entry Preview for pages, displays the updated slug as you type
- Uses TYPO3 core slug generation functions
- Extension configuration for default values like sorting, entries per page etc.
- Download the latest version here: https://extensions.typo3.org/extension/slug/ or install it with the extension manager of your TYPO3 installation
- No further configuration is required, but you should delete all the backend caches after installation to make sure the extension is working properly.
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:
- If you want to use an image symbol, make sure the image exists. The slug extension is currently NOT checking this!
- You can only use tables that are correctly prepared for TYPO3 use
- The configuration array $GLOBALS['TCA']['tx_your_table_name']['columns']['your_slug_field']['config'] needs to exist in the TYPO3 system. Otherwise the system will throw errors.
- The fields crdate,tstamp,uid AND your custom fields for the title and the slug need to exist in your table!
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
}
}
}
}
Uncaught TYPO3 Exception: #1278450972: Class SIMONKOEHLER\Slug\Controller\PageController does not exist. Reflection failed.
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/