10377 Posts in 2192 Topics by 1709 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 388 Views |
-
Event Calendar - Display only populated fields

12 November 2010 at 6:51am
OK, I know this has to be simple but my mind is just not seeing the connection. I have customized the event calendar to contain the information needed for entering events in the cms:
Location:
Phone:
Web Address:Now what the client wants on the front end is to only display information that is populated for each field ... for example
Location:Home
Web Address: home.comRather than
Location: Home
Phone:
Web Address:home.comI have been unable to successfully figure out how to do this.
Thank you for your help.
-
Re: Event Calendar - Display only populated fields

12 November 2010 at 7:02am
<% if FieldName %>
Field Name: $FieldName
<% end_if %>--------------------
SilverStripe tips, tutorials, screencasts and more: http://www.leftandmain.com -
Re: Event Calendar - Display only populated fields

12 November 2010 at 8:04am
I don't know you other than by your work but Uncle Cheese you ROCK ... that was so easy ... doh! Thank you!
| 388 Views | ||
|
Page:
1
|
Go to Top |

