Kemal Posted July 14, 2016 Posted July 14, 2016 Hi, to enter some character conversion on url for Turkish language i was modifying InputfieldPageName.module file. It was working fine. But on v3 modification of this file not working. 'ź' => 'z', 'ş' => 's', 'ğ' => 'g', 'ı' => 'i', 'İ' => 'i', i added these characters when i enter title url become empty character not i instead of ı is it related with .htaccess file ? because i edited it for use utf8 characters like arabic character urls
Soma Posted July 14, 2016 Posted July 14, 2016 Why do you modify core module? You can enter those in the backend on the configuration of this module. 2
Kemal Posted July 14, 2016 Author Posted July 14, 2016 i did not know that ----> backend on the configuration of this module ! Can you tell me how to do it?
LostKobrakai Posted July 14, 2016 Posted July 14, 2016 Just as any other configureable module InputfieldPageName can be configured in the modules admin area.
Kemal Posted July 14, 2016 Author Posted July 14, 2016 from admin panel modules -> configure -> InputfieldPageName click on it and its just give info about plugin. can you sgive me some documentatşon link about this modle configuration
horst Posted July 14, 2016 Posted July 14, 2016 here is one in english, (it is from another thread) 1
Kemal Posted July 15, 2016 Author Posted July 15, 2016 Now i understand the problem, when i click on pagename module configuration from admin panel it says on top : Character replacements configuration is disabled because $config->pageNameCharset is UTF8. because of that configuration window not opening. i remove $config->pageNameCharset line from site/config.php file then it works. i would like to use both of them together. i mean arabic or foreign language characters on url and also modification of some characters like s instead of ş so, i put $config->pageNameCharset line again and i add extra characters to $config->pageNameWhitelist. now: ş ->ş desire ş->s
LostKobrakai Posted July 15, 2016 Posted July 15, 2016 Using the UTF-8 page-names is exactly for the reason not to replace those characters. There's no option to mix those behaviors by now. 2
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