calien666 / persisted-sanitized-routing Goto Github PK
View Code? Open in Web Editor NEWPersisted Sanitized Pattern Mapper for TYPO3 >= 9.5, creates santized URLs for PersistedPatternMapper
License: MIT License
Persisted Sanitized Pattern Mapper for TYPO3 >= 9.5, creates santized URLs for PersistedPatternMapper
License: MIT License
I would like an url without the uid in the url, is that possible? Iām using the mapper just for the localeMap (I have an extension with one record for both languages english and german and an own slug field for each language). So in my case the PersistedAliasMapper would be fine but PersistedAliasMapper does not have the localeMap.
I have configured the mapper as in the example described:
type: PersistedSanitizedPatternMapper
tableName: tx_extension_domain_model_info
routeFieldPattern: '^(?P<path_segment>[\w-]+)-(?P<uid>\d+)$'
routeFieldResult: '{path_segment|sanitized}-{uid}'
localeMap:
-
locale: 'de_DE.*'
field: path_segment
-
locale: 'en_GB.*'
field: path_segment_en
When I click on the english page the link leads to 404 error. The german version works fine. Do you have a hint what the problem could be?
When using the extension I get the following error:
Class 'Calien\PersistedSanitizedRouting\Routing\Aspect\PersistedSanitizedPatternMapper' not found
I copied the mapper into my own extension and changed the namespace according to my extension and then it works. I tried different way in your ext_localconf.php but I was not able to find out the problem. Do you have an idea? Iām (still) on TYPO3 9 in non composer mode.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
š Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ššš
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ā¤ļø Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.