Jump to:

17452 Posts in 4473 Topics by 1971 members

Archive

SilverStripe Forums » Archive » $Content.LimitWordCountXML - help!

Our old forums are still available as a read-only archive.

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

Page: 1
Go to End
Author Topic: 1441 Views
  • SalvaStripe
    Avatar
    Community Member
    89 Posts

    $Content.LimitWordCountXML - help! Link to this post

    I have a site search in my site.
    The code "$Content.LimitWordCountXML" works fine, BUT special characters like in german the "ä,ü,ö," or others like "©" were not correctly showen with LimitWordCountXML.

    My site search uses this code (its just a part of the code):

    ###########################################

    <% if Query %>
    <p ><strong>Es wurde nach &quot;{$Query}&quot; gesucht</strong></p>
    <% end_if %>

    <% if Results %>
    <ul id="SearchResults">
    <% control Results %>
    <li>
    <a href="$Link">
    <% if MenuTitle %>
    $MenuTitle
    <% else %>
    $Title
    <% end_if %>
    </a>
    <p>$Content.LimitWordCountXML</p>
    <a class="mehr" href="$Link" title="Mehr erfahren...">Mehr erfahren...</a>
    </li>
    <% end_control %>
    </ul>
    <% else %>
    <p>Es wurden keine Treffer ermittelt.</p>
    <% end_if %>

    ###########################################

    I ADD AN IMAGE SO U CAN SEE WHAT I MEAN!

    1441 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.