Welcome to the archive of the old FlatPress support forum. Browse more than a decade of FlatPress wisdom! Login is disabled.

The current FlatPress support forum is available here: forum.flatpress.org
Pictures in the search results
  • Hey Guys and Gals,
    is there a Plugin to add Pictures to the search results according to the shown result?

    I designed a small thumbnail for every entry with the individual entry number. I would like to show these individual thambnails according to every entry in the search results.
  • Hi, I don't think you can do it via plugin, there aren't hooks to do it.
    You should modify Flatpress files...
  • I found it, you have to mod the search_results.tpl in /fp-interface/sharedtpls

    <li><a href="{$id|link:post_link}">{$subject}</a></li>

    and add a dynamoic link before the {$subject}

    like dor example: <img src='http://www.flatpress.org/blog/fp-content/related_images/{$id}.jpg'/>

    Of course you need an folder related_images containing every imiage fpr every entry with the id as name.
Start a New Discussion

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

In this Discussion