Bug in search for pages without an image

Posted in: Newspaper
Post count: 10

Hey!

If I search for the name of a page I get this error, because there is no image defined?
Are you aware of this or is something wrong with my config?

Bug

Thanks!

Post count: 23312

Hello c.schwalm,

This error comes up in the search/block 21/module 16 when a post has no featured image set to it. This is the case because the search uses the default WP thumbnail. We are working on a fix for this and until we can implement it, you can use this workaround:

You need to edit td_config.php and add this code:

td_api_thumb::add('thumbnail',
array(
'name' => 'thumbnail',
'width' => 150,
'height' => 150,
'crop' => array('center', 'top'),
'post_format_icon_size' => 'normal',
'used_on' => array(
'Big grid 1, 3, 7 - small image'
)
)
);

It should look like so: http://screencast.com/t/RTkWKH6me
Basically, you are just adding another thumbnail to the list in between the existing ones. Then the error will not display anymore.

I recommend you to change the module for Search from Theme panel, like this -> http://screencast.com/t/I0AmPRbybZZN

Hope this helps and let us know how it goes!

Thank you for the message!

Viewing 2 posts - 1 through 2 (of 2 total)
The forum ‘Newspaper’ is closed to new topics and replies.