Portal Engine Questions on portal engine and web parts.
Version 7.x > Portal Engine > Excluding certain cultures from combine with default culture View modes: 
User avatar
Certified Developer 8
Certified Developer 8
richard - 8/3/2013 12:17:16 AM
   
Excluding certain cultures from combine with default culture
I need to exclude a culture from combining the default culture version of the page , but for other cultures I do want this behavior.

ie: for chinese language cultures I do not want it to should the default but for english language cultures I need it to combine the default culture (which is us english).

Can you please point me in the right direction please ie would I need to have a custom event handler? I am not too sure where to start looking to write an override to stop this behavior for all cultures.

Cheers

Richard

User avatar
Kentico Support
Kentico Support
kentico_jurajo - 8/4/2013 1:31:01 AM
   
RE:Excluding certain cultures from combine with default culture
Hi,

You will have to handle this on your own in the begin request event in the CMSAppBase.cs file. You will check what URL/document is requested, what is the culture in current context and decide whether you will combine it with default culture or not.

As your question concerns adding complex functionality to Kentico and would require very in-depth explanations, I would recommend that you consider our paid consulting services which would offer you much more detailed and hands-on support for this project. You can find more information here:

http://www.kentico.com/Support/Consulting/Overview

Your question is particularly well suited for the consulting service. Keep in mind if you do have any specific questions regarding use of the API or you encounter any errors or general issues during your development, you can contact support as usual.

User avatar
Certified Developer 8
Certified Developer 8
richard - 8/4/2013 3:55:19 PM
   
RE:Excluding certain cultures from combine with default culture
Thanks Jurag

I think I can take it from here.

Cheers

Richard