Friday 13 August 2010 2:11:46 am
Our search templates mostly looks like this: {def $use_url_translation=false()}
<strong><a href="{$node.global_url_alias}">{$node.name|wash}</a></strong>
<div class="attribute-short">
{$node.highlight}
</div>
This of course does not work for files since their url is something like /content/download/110598/1433673/file/name.pdf. If the object is a file (e.g. a pdf file), what is the code for getting the file (instead of {$node.global_url_alias}
|