different header for different signup pages

Discussion in 'Templates customization' started by arthy, Nov 6, 2010.

  1. arthy

    arthy aMember Pro Customer

    Joined:
    Aug 22, 2006
    Messages:
    87
    i have a signup page group 8
    i want that signup page to have a different header and footer

    any idea what to add in the header and footer . i know its possible just forgot how to do it
  2. davidm1

    davidm1 aMember User & Partner

    Joined:
    May 16, 2006
    Messages:
    4,437
    Something like:
    {if {$smarty.request.price_group eq "1"}
    {include file="header.html"}
    {else}
    {include file="header2.html"}
    {/if}

    David
  3. arthy

    arthy aMember Pro Customer

    Joined:
    Aug 22, 2006
    Messages:
    87
    thx ;) alot
  4. arthy

    arthy aMember Pro Customer

    Joined:
    Aug 22, 2006
    Messages:
    87
    with the above i get the following error:

    ERROR [256] Smarty error: [in signup.html line 2]: syntax error: $smarty. is an unknown reference (Smarty_Compiler.class.php, line 2031) in line 1102 of file /home/kevin3434/public_html/member/smarty/Smarty.class.php
  5. davidm1

    davidm1 aMember User & Partner

    Joined:
    May 16, 2006
    Messages:
    4,437
    {if {$smarty.request.price_group eq "1"}

    should be
    {if $smarty.request.price_group eq "1"}

    David

Share This Page