I was wondering if in the template files we can do more than just check for the existence of a field with IF.
I'd like to have at least ELSE. Reason is that I'm planning on setting up a database that does not contain a URL for all links, so I want to print a link with the title when there is a URL provided and just print the title without a link when there isn't one.
IF .. ELSE .. ENDIF would be the construct to do this with. Can this be done though ? Any workaround if it can't ? I mean I'd need to at least be able to negate a condition, ie. IF NOT(..).
Georg
I'd like to have at least ELSE. Reason is that I'm planning on setting up a database that does not contain a URL for all links, so I want to print a link with the title when there is a URL provided and just print the title without a link when there isn't one.
IF .. ELSE .. ENDIF would be the construct to do this with. Can this be done though ? Any workaround if it can't ? I mean I'd need to at least be able to negate a condition, ie. IF NOT(..).
Georg