Jump to content

Recommended Posts

Posted

When creating a new page with multilanguage page names, under the Settings tab there is a field for the page name for each language with an "Active" checkbox.

By default the chachbox is checked

post-1920-0-76677300-1446631863_thumb.pn

How can I set them to be unchecked by default?

I tried to find settings in LanguageSupport and LanguageSupportPageNames modules and in the settings for the languages.

  • Like 1
  • 3 years later...
Posted (edited)

Hi @gebeer!

Did you find a solution to this?

I added the code below before this which seems to work : 

if(!$page->id) $inputfield->checkboxChecked = 0;

 

Edited by Mats
Possible temp solution
  • Like 1
Posted
On 4/13/2019 at 3:32 PM, Mats said:

Did you find a solution to this?

No, was not looking further.
If your code can be implemented as a hook, that would be perfect, I guess.

  • Like 1
  • 1 month later...

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
×
×
  • Create New...