Comments (3)
@jstout24 there is still a way to set a custom slug generator in the listener: https://github.com/l3pp4rd/DoctrineExtensions/blob/doctrine2.0.x/lib/Gedmo/Sluggable/SluggableListener.php#L60
this cannot be configured currently in the bundle but it is on my todolist: https://github.com/stof/DoctrineExtensionsBundle/issues/40
from doctrineextensions.
@stof Oh nice! Yeah I can't wait to put it to use. :)
from doctrineextensions.
I recommend you to add a listener on top, or make a custom transliterator, which would have entity manager and whatever you need to make your path type slug. Your proposal is not clean and does not ensure uniqueness. In such case if you want a path type slug, soon there will be path tree strategy, which currently is developed by @markdehaan ORM and @mtotheikle ODM. You can check their local branches in case if you are interested in further development. So far I do not plan to implement anything similar for nested set, whats why there are different tree strategies
from doctrineextensions.
Related Issues (20)
- [Timestampable] symfony/clock integration
- SoftDeleteable is ignored and delete records hardly HOT 3
- [Loggable] Incomplete documentation on how to use custom LogEntry entity HOT 1
- Timestampable (and maybe more extensions) don't work with DBAL 4.0.0-RC2 HOT 6
- Semantical Error WITH Doctrine ORM 3.0 HOT 2
- [Tree & Doctrine 3] Fatal Compile Error: Declaration of Gedmo\Tree\Entity\Repository\NestedTreeRepository::__call($method, $args) ... HOT 2
- string $targetTableAlias HOT 2
- in Symfony 7 annotation_reader no exists
- [Loggable] Add option to store prev data
- The bundle not set automatcly the value to updated_at and created_at columns when persisting data HOT 5
- Missing Reference Listener in the documentation
- [Tree] [materializedPath] Deleting parent removes children when onDelete="restrict" HOT 2
- Cannot get DoctrineExtensions to work with Symfony 7 HOT 2
- The service "gedmo.listener.softdeleteable" has a dependency on a non-existent service "annotation_reader". HOT 2
- Table ext_log_entries very very slow on queries HOT 7
- Timestampable issue mapping expects array HOT 2
- LogEntryInterface::getObjectClass() @phpstan-return is missing null HOT 2
- [Tree] Missing path value on insert a new document HOT 1
- Error for symfony v7 HOT 5
- A [SoftDeleteable] cycle has been detected, so a topological sort is not possible. The getCycle() method provides the list of nodes that form the cycle.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from doctrineextensions.