WebsiteBaker Community Forum

WebsiteBaker Support (2.11.x) => General Help & Support => Topic started by: artidens on May 01, 2018, 10:38:34 AM

Title: Annoying bug with umlauts in the WB admin
Post by: artidens on May 01, 2018, 10:38:34 AM
It is now possible to change the Access File in the page settings, which is very useful with umlauts as nobody really wants them to be converted to something like ae and oe in the URL. However, new subpages will have their parent page's menu title included in the URL's path instead of the defined Access File of the parent. This is especially frustrating when the parent page's menu title has umlauts and one wants to get rid of all ae's an ao's in the URL.

Here is an example:

Page title: Äölk
Menu title: Äölk
Parent: None
Access file: aolk
URL --> /pages/aolk.php  (Y)

Now create a new subpage with Äölk as parent:

Page title: Subpage
Menu title: Subpage
Parent: Äölk
Access File: subpage
URL --> /pages/aeoelk/subpage.php  (N)

There is a dirty workaround if you go to Subpage's settings and just hit Save, the URL changes to /pages/aolk/subpage.php as was wanted in the beginning. This will, however, leave an unused folder "aeoelk" in the pages directory.

Btw, CANCEL button does not work in the page settings..


Title: Re: Annoying bug with umlauts in the WB admin
Post by: dbs on May 01, 2018, 11:41:05 AM
Hello, which WB version?
In WB 2.11 a page_title Äölk generate a accessfile aeoelk.php
Title: Re: Annoying bug with umlauts in the WB admin
Post by: artidens on May 01, 2018, 12:31:49 PM
Yes it does and you can rename the access file to "aolk" in the page settings and leave Page Title and Menu Title unchanged, which is desired.

BUT, after renaming, please create a new subpage i.e. "Test" under "Aolk" and its URL path will become /aeoelk/test.php while what is wanted is /aolk/test.php

Using WB 2.11
Title: Re: Annoying bug with umlauts in the WB admin
Post by: dbs on May 01, 2018, 01:20:38 PM
Confirmed. The Dev will be informed.
Thank you.
Title: Re: Annoying bug with umlauts in the WB admin
Post by: artidens on May 01, 2018, 01:45:04 PM
Thanks!

Please, also inform the dev team about the cancel button not working in the page settings :)
Title: Re: Annoying bug with umlauts in the WB admin
Post by: dbs on May 01, 2018, 04:40:05 PM
Hi, first, there is no cancel button, it is a reset button.
Works only before saving.

Attached the solution for the accessfile.
You have only to delete the old wrong folder in pages. New tests should not create wrong folders.
Title: Re: Annoying bug with umlauts in the WB admin
Post by: artidens on May 01, 2018, 07:13:40 PM
Thank you!

Oh, now I got it. It's just that it is translated as "Cancel" in the Finnish translation.