Hey everybody!
I’m trying to build my search page. I’m using a none ajax mode. The search works fine but display only the docs’ links. I would like it to display the docs’links and the docs’image which is a tv in the doc.
So if someone has a tutorial of this kind can he/she please share?
Or can someone show me how to do it here?
Lots of thanks for taking your time to help.
Merry
Below is the code I use on the result.tpl.html template:
<div class="[+as.resultClass+]">
<a class="[+as.resultLinkClass+]" href="[+as.resultLink+]" title="[+as.longtitle+]">[+as.pagetitle+]</a>
[+as.descriptionShow:is=`1`:then=`
<span class="[+as.descriptionClass+]">[+as.description+]</span>
`+]
[+as.extractShow:is=`1`:then=`
<div class="[+as.extractClass+]"><p>[+as.extract+]</p></div>
`+]
[+as.breadcrumbsShow:is=`1`:then=`
<span class="[+as.breadcrumbsClass+]">[+as.breadcrumbs+]</span>
`+]
[+as.imagecard:is=`0`:then=`
<div class="[+as.imagecard+]">[+as.imagecard+]</div>
`+]
</div>