Drupal token current-page:query

Reid picture Reid · Feb 24, 2012 · Viewed 7.8k times · Source

I need to get the value of a field that is on the "Parent page" of one of my content panes. I would like to do this through the use of tokens, and the only seemingly useful one that I can find is current-page:query:? I am assuming that I need to replace the '?' with something in order to get the field from the "Parent node".

How do I use this token, or is there another way to accomplish this.

Answer

bluesky picture bluesky · Oct 16, 2012

If you have a URL like

http://dev.druedu.com/node/add/answer?field_answer=161

and want the value of the field_answer token, do this

current-page:query:field_answer