Jump to content

How to disable some pages in second language


Recommended Posts

It needs a bit of customization.

First of all, it's a no-no regarding UX to have 2 languages and not have access to the same content (obviously translated).

Let's get to the point though.

No matter what your module is you can get in the hookDisplayHeader() and check if the current page is blog central, blog category, blog post etc and the language is English Tools::redirect(). 

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