techhead, Thanks for your reply.
I just figured out that what I had was a "whitespace error". I had a couple returns before and after the code, causing the errors. Now that that's solved, I'm getting a javascript error in this:
Code:
{* Borealis Media - the other half of this is in register.tpl*}
{if $smarty.get.mode eq "update" }
<tr><Td colspan="3" align="center">
{literal}
<script language="JavaScript1.2">
function submitAlternateProfile(obj, func){
obj.createAltFunc.value = func;
obj.action = 'createAlt.php';
obj.submit();
}
</script>
{/literal}
</td></tr>
{/if}
{*/Borealis Media*}
the error is:
Code:
Object doesn't support this property or method
the error is referring to the line:
Code:
obj.action = 'createAlt.php';
I have chmoded createAlt.php to 777 w/ no change. The javascript is in {literal} {/literal} tags in the .tpl
Any ideas?