Hello

Sometimes the paths can be admin or non-admin in depends of specific conditions.
For example the path "node/add/*" is admin path.
But the regular user can create forum topics on the site and he should do it in the front theme. It's done via panels. Path is "node/add/forum"

In this case we should display language according to the url prefix (for example), but not according to the admin language module decision.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

eugene.ilyin created an issue. See original summary.

eugene.ilyin’s picture

Issue summary: View changes
eugene.ilyin’s picture

I propose to use special alter hook, to impact the decision of language switching.

eugene.ilyin’s picture

Status: Active » Needs review
wulff’s picture

Status: Needs review » Reviewed & tested by the community

The patch looks good!

I'll commit it when I'm back from vacation.

eugene.ilyin’s picture

Hi wulff! Are you still on vacation? :)

  • stefan.r committed 3a63cd4 on 7.x-1.x authored by eugene.ilyin
    Issue #2577421 by eugene.ilyin: Allow to alter decision about language...
stefan.r’s picture

Status: Reviewed & tested by the community » Fixed

Committed and pushed to 7.x-1.x (with some small coding standards fixes), thanks!

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.