Jump to:

3392 Posts in 976 Topics by 852 members

Template Questions

SilverStripe Forums » Template Questions » NoHTML equivelent for other content?

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

Page: 1
Go to End
Author Topic: 1047 Views
  • Johan
    Avatar
    Community Member
    49 Posts

    NoHTML equivelent for other content? Link to this post

    Hi

    If there is what is the equivalent for other types of content for example how would I do NoImage

    <% if groupImg1.No???? %><a class="fancybox" rel="group1" href="$groupImg1.URL"></a><% else %><% end_if %>

    Many thanks

  • Johan
    Avatar
    Community Member
    49 Posts

    Re: NoHTML equivelent for other content? Link to this post

    doh! Sorted it

    <% if groupImg1 %><a class="fancybox" rel="group1" href="$groupImg1.URL"></a><% else %><% end_if %>

    1047 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.