Portal Engine Questions on portal engine and web parts.
Version 4.x > Portal Engine > Inheritance of Language Versions View modes: 
User avatar
Member
Member
chris.perks-lastexit - 9/30/2011 6:23:25 AM
   
Inheritance of Language Versions
Hi all,

I have a document and a subdocument, let's say:

Home > Fruit [en-GB, fr-FR]
Home > Fruit > Apple [en-GB]

'Apple' does not have a French version. However, I can view the page when my language is set to French - it shows the English content.

Is this because its parent, 'Fruit', has is published in French?

My desired behavior would be to redirect French language users back to the homepage. How can I set this up?

Many thanks,
Chris.

User avatar
Kentico Support
Kentico Support
janh-kentico - 9/30/2011 8:06:23 AM
   
RE:Inheritance of Language Versions
Hello Chris,

In a first place you have to uncheck the Combine with default culture property for you site in the Site Manager -> Settings -> Web site -> Your Site (top left selector under the CMS logo). And you also have to specify the Page not found URL property on the same page.

Now you might be able to switch the culture on the Apple page and see the page you filled in that field.

Best regards,
Jan Hermann

User avatar
Member
Member
chris1234 - 9/30/2011 8:45:04 AM
   
RE:Inheritance of Language Versions
Hi Jan,

Many thanks for your reply. This is what I need - however I need to disable 'Combine with default culture' only for these documents / pages, not at a global / site level. Is this possible?

Again, thanks for your help.
Chris.

User avatar
Kentico Support
Kentico Support
janh-kentico - 10/3/2011 1:29:33 AM
   
RE:Inheritance of Language Versions
Hello Chris,

Regrettably, you cannot apply this approach only for a sub-section of your site. You can create your own web part, which will check if the current document belongs under the Fruit section and also if the current language is a french and then it can redirect you to the homepage.

JH

User avatar
Member
Member
chris1234 - 10/3/2011 2:09:38 AM
   
RE:Inheritance of Language Versions
Thanks for the clarification.

We'll revisit how to move forward, so please consider this closed.

Chris.