Postponed (maintainer needs more info)
Project:
Login Destination
Version:
7.x-1.x-dev
Component:
User interface
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
12 Aug 2011 at 09:25 UTC
Updated:
1 Feb 2013 at 09:08 UTC
Comments
Comment #1
mithy commentedHi!
I don't know what do you mean. The destination can be whatever you want. Could you provide a detailed description ?
Comment #2
Percept commentedI'm assuming the OP means that you can't specify different destinations depending on the language.
For example:
People login from a dutch page would need to be redirected to site.com/nl/welkom
and
people login from an english page would need to be redirected to site.com/en/welcome
Comment #3
mithy commentedIt is pretty straightforward to do this in php snippet. Either you create multiple rules with concrete destinations and check the language in the condition, or you just create one rule where the destination depends on the parameter. The current language should be easily accessible, just check the drupal manual for the variable you have to read.
Comment #4
jmsosso commentedIf anybody needs an example this is the way I did it:
<?php global $user; return $user->language == 'es'? 'node/108': 'node/111'; ?>