Replacement patterns for logged in user: [account:url]

jhaggenburg - May 9, 2008 - 11:29
Project:Workflow-ng
Version:5.x-2.0
Component:Wng User interface
Category:support request
Priority:normal
Assigned:Unassigned
Status:closed
Description

Hey,

i'm new to Workflow_ng and Tokens and I'm pretty stuck with this thing. What I would like to do is track down the origin from where the visiter came from, before logging in. So for instance, if the visitor came from PathA and pushed the login-link, I would like to redirect back to PathA. I thought doing this by replacement pattern [account:url] or [account:path], because of it's description:

[account:url] The current active url, e.g. "admin".
[account:path] The current active drupal path, e.g. "node/2". If URL aliases are used, this will be always the path behind the alias."

But it doesn't seem to get it at all. So, I was wandering: The replacement patterns are separated into "User Tokens" and "Global Tokens" and both are indicated with [account:...]. Is that really ok? Shouldn't it be something like [global:...] for the Global Tokens? Or do I mess something else up?

#1

fago - May 13, 2008 - 17:59
Status:active» fixed

it should, but currently it isn't possible in a better way due to the token module.

#2

Anonymous (not verified) - May 27, 2008 - 18:02
Status:fixed» closed

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

 
 

Drupal is a registered trademark of Dries Buytaert.