JohnGaf
08-26-2007, 03:49 PM
Hi, I'm having some problems with displaying a custom field in the header.
If i.eg field5 is a name field, and I want to print out: Hello "name" in the header, why won't the following code work:
<if condition="$post[field5]">
Hello $post[field5]
</if>
We have something similar for the postbit_legacy template, but that would of course print out that value for each one who replies. Is that perhaps the problem? That the $post array isn't initialised when the header template is evaluated?
Thank you
If i.eg field5 is a name field, and I want to print out: Hello "name" in the header, why won't the following code work:
<if condition="$post[field5]">
Hello $post[field5]
</if>
We have something similar for the postbit_legacy template, but that would of course print out that value for each one who replies. Is that perhaps the problem? That the $post array isn't initialised when the header template is evaluated?
Thank you