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.

Archive

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

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

$Content.LimitWordCountXML - help!


Reply

1449 Views

Avatar
SalvaStripe

30 October 2008 at 3:13am Community Member, 89 Posts

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!