Hi - I've been experimenting with the search results on my site but word or pdf documents appear as their file names rather than their title as the hyperlink. Does anyone how this can be changed?
Also, in the search result, is it possible to make the asset's url a hyperlink too rather than just a normal text?
Thanks
File assets have a new attribute in 3.6.x called Title that allows you to define a freidnly title for the document. You can use %asset_short_name% or %asset_attribute_title% to expose this value in 3.6.x.
The only way to replicate this in 3.4.x is to apply a metadata schem to your files, create a feidl called Title in there, and set the Title metadata values for each file. You can then use the keyword %asset_metadata_Title% to expose that value.
If you want to hyperlink the URL, do something like:
<a href="%asset_url%">%asset_url%</a>