drupaldrupal-7tokendrupal-panels

Drupal token current-page:query


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.


Solution

  • 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