Extending search results [solved]
Posted: Thu Jul 18, 2013 11:18 pm
I'm trying to extend the search results with some page specific text. Sometimes the page name is not enough.
I have tried to include {$entry->alias} but that doesn't work (not available?)
Preferable with a hidden txt on the page with f.i get_page_content of CGSimpleSmarty. But this doesn't work.
Has someone an option to include extra text in the search results, maybe with a completely different approach ?
I have tried to include {$entry->alias} but that doesn't work (not available?)
Code: Select all
<li><a href="{$entry->url}">{$entry->urltxt}</a> |
{cgsimple::get_page_content({$entry->alias},'block','foo')}{eval var=$foo}
| ({$entry->weight}%)</li>Has someone an option to include extra text in the search results, maybe with a completely different approach ?