doolak Posted February 14, 2014 Share Posted February 14, 2014 Hi there, I tried to enter a replacement for the character "+" in the module settings of InputfieldPageName, but this does not work. Did I make something wrong or does anything speak against replacing the "+" character? Cheers, Christian Link to comment Share on other sites More sharing options...
Soma Posted February 14, 2014 Share Posted February 14, 2014 + is not allowed in a page name. Link to comment Share on other sites More sharing options...
doolak Posted February 14, 2014 Author Share Posted February 14, 2014 + is not allowed in a page name. Yes, of course it is not allowed. When you use a "+" in the title, it is replaced by a "-" in the page name, e.g: Page title: test 123+456 Page name: test-123-456 I would like to have the "+" replaced by something else, so I have added this in the module settings: +=plus In the same way I have changed the german umlauts: ä=ae ü=ue ß=sz The Umlauts work fine, but to replace the "+" does not work. Link to comment Share on other sites More sharing options...
Soma Posted February 14, 2014 Share Posted February 14, 2014 Guess the replacing takes happen before your's, and when it's replace in js it isn't there anymore so you can't overwrite it. There's no way around other than changing the core js, or trying hook (js) into input blur somehow before page name js does its work. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now