Re: Automatic Zodiac Sign
I am assuming the custom field type is "CHECKBOX"
I am using the dateamour template
Using Plebejus' mods
This is what I did in the member_profile.tpl file
<!-- IF field_type == "checkbox" -->
{break:field_value}
<!-- ELSEIF field_type == "birthday" -->
{field_value_years};
{zodiac:birthday=field_value_years} <---------------- added this line here
<!-- ELSE -->
{field_value}
<!-- ENDIF -->
I get this Javascript error:
error 'virpath' is undefined
and ofcourse it doesnt work. I expect something is missing or incorrectly passed here but cant figure out what.
I have tried everything shown on this page in the plage of field_value_years
I am guessing this is not correct for my template. What should I be looking at to get the correct field here?
Greatly appreciate any help from the authors FredL or Plebejus
Thanks
Last edited by spyder (2010-02-07 05:21:27)