Jump to content

processwire v 3.0.25 InputfieldPageName.module modification not working


Kemal
 Share

Recommended Posts

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

Link to comment
Share on other sites

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

 

 

 

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...