Hi, I want to remove the dashes from the shortname of the object. In other words I want to remove all dashes in the id of an object. I have noticed there is a function in namechooser.py called chooseName which does the following:
name = getUtility(IURLNormalizer).normalize(name) if I set the variable to: name = name It works! And the dashes aren't added. However this approach is modifying the Plone Core :-( I want to avoid doing this, I would rather like to override the chooseName function. How can I do this from my class(custom content type using Dexterity) Thank You -- View this message in context: http://plone.293351.n2.nabble.com/Remove-dashes-from-shortname-override-choosename-in-namechooser-py-tp6627262p6627262.html Sent from the Product Developers mailing list archive at Nabble.com. _______________________________________________ Product-Developers mailing list [email protected] https://lists.plone.org/mailman/listinfo/plone-product-developers
