Can't Add Dreamweaver Behaviors To Member Template

Discussion in 'Integration' started by Chelsea, Apr 5, 2004.

  1. Chelsea

    Chelsea Guest

    Hi!

    I have customized your member.html (template) to reflect the look of our site. What we are actually using the member page for is a member's only area that includes information about our company, benefits for the members, etc. I would like to be able to use a couple of the dreamweaver behaviors (ie. open browser window), but when I add them in and upload the page I get the following error:

    Fatal error: Smarty: [in member.html line 4]: syntax error: invalid attribute name - 'window.open(theURL,winName,features);' in /home/onlinegiftaus/html/amember/smarty/Smarty_Compiler.class.php on line 1387

    Any ideas on why this would be happening...and also if it is possible to add in javascript would be great!

    Thanks in advance!!

    Chelsea
  2. alex

    alex aMember Pro Customer Staff Member

    Joined:
    Jan 24, 2004
    Messages:
    6,021
    try to put

    {literal}
    ...
    {/literal}

    around your entire JavaScript code!

Share This Page