Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

Template Questions /

Conditional construction in ss files


Reply


2 Posts   1061 Views

Avatar
Victor

Community Member, 128 Posts

26 March 2009 at 10:35am

I have a CustomPage which basically displays

$position $honors

and I want that if (and only if)

$honors!=''


it returned

$position, $honors

(so inserted , )

Is it possible? Thank you in advance

Victor

Avatar
Victor

Community Member, 128 Posts

26 March 2009 at 1:08pm

$position<% if honors %>, <% end_if %>$honors