Page 1 of 1

Need help please

Posted: Mon Jul 12, 2010 5:00 pm
by infoport
Hi:
I need help with making an "if" statement to show the value of a field if another field's value is 1, and not show it if it is zero.

If the value of this field: ShowAddressToPublic is zero I cannot show it, otherwise if the value is one (1) then I need to display {listing_field_StreetNumber_value} in my templates.

Please help.

Thanks.

Re: Need help please

Posted: Mon Jul 12, 2010 7:42 pm
by requinix
infoport wrote:in my templates.
What are you using to handle your templates?

Re: Need help please

Posted: Mon Jul 12, 2010 8:02 pm
by infoport
The software I am using is "Open Realty" which is a property management software. Everything is written in php but the output is controlled by html tags where you display the fields you want by writing it like this: {field-value}.

These templates can handle php codes <?php --------- ?> so there won't be any need to mess around with the core files.