Passing custom fields to offline.html

Discussion in 'Templates customization' started by unmortal, Oct 1, 2006.

  1. unmortal

    unmortal New Member

    Joined:
    Sep 10, 2006
    Messages:
    25
    Hello, I am currently using the offline payment system.
    I want to create a few custom fields for the main signup page and then pass those values along to the offline.html file. I noticed other fields are being passed, ie {$payment.payment_id} and {$member.login}

    When I try to add:
    {$test_field} or
    {$user.data.test_field} or
    {$user.test_field}
    None of them work.

    I'm using common fields, is it possible to pass the custom fields along? What is the syntax I'm missing?
  2. alex

    alex aMember Pro Customer Staff Member

    Joined:
    Jan 24, 2004
    Messages:
    6,021
    Try
    {$member.data.test_field} or
    {$member.test_field}
  3. unmortal

    unmortal New Member

    Joined:
    Sep 10, 2006
    Messages:
    25
    {$member.data.test_field} did the trick. Thank you.

Share This Page