Author Topic: Page Lang change brokes the site  (Read 249 times)

Offline noname8

  • Posts: 135
Page Lang change brokes the site
« on: April 25, 2018, 01:09:07 PM »
I have site that i want one page not to have the default lang. Default lang is fi and i want one page to be english because it has mpform.

When I do that, and visit that page it says "Page under construction" with wb default theme and in finnish.
Url also has ?lang=EN  in the end

CMS Versie 2.8.3 SP5
Revisie 1644
php 5.6

after changing to eng and then try to save again even the admin says page not found. I Need to browse it again from the pages-page.

Can't install wb sp:s because i installed "Advanced theme WB flat" and even that i had to modify the core files...without proper version control :(

Offline noname8

  • Posts: 135
Re: Page Lang change brokes the site
« Reply #1 on: April 25, 2018, 01:19:06 PM »
Just 2 minutes and solved.
After I changed the parent page that is EN also to english, page works fine

Noticed this because if I changed the lang of a child page, it dissapeared from the menu. I use  show_menu2(
                        $aMenu          = 1,
                        $aStart         = SM2_ROOT+1,
                        $aMaxLevel      = SM2_CURR+1,
                        $aOptions       = SM2_ALL|SM2_CURRTREE,
                        $aItemOpen      = $open,...

 

postern-length