Page 1 of 1

[SOLVED]Search module / results template / non-Enlish language

Posted: Wed Jan 06, 2010 2:11 pm
by docman
Hi, can someone explain where can one fins the word "News" displayed according to the following template command in the search page of the Search module?

Code: Select all

  {foreach from=$results item=entry}
  <li>{$entry->title} - <a href="{$entry->url}">{$entry->urltxt}</a> ({$entry->weight}%)</li>
  {* 
I assume "title" here means the title of the module (to me {$entry->urltxt} seems like standings for the actual title of the content item found). In my problematic case is "News" that is when displayed in a non-English language with accented characters, it is displayed improperly in HTML-entities, instead of the characters proper.

Thanks.

Re: Search module / results template / non-Enlish language

Posted: Fri Jan 08, 2010 8:06 am
by cyberman
You can use php commands as modifier like

Code: Select all

{$entry->urltxt|html_entity_decode}

[SOLVED]Re: Search module / results template / non-Enlish language

Posted: Tue Jan 12, 2010 10:33 pm
by docman
Splendid!

Thanks so much.

Re: Search module / results template / non-Enlish language

Posted: Tue Jan 12, 2010 11:01 pm
by Dr.CSS
The [solved] goes in the first post subject line...