(2015-02-17, 03:07:08)Carlos Wrote: So I suppose you're using I18N Search to call the component.
It may be something like this (not tested)
Code:<?php if (!empty($item->specialimg)) { ?><div class="entry-thumb">
<a href="<?php echo htmlspecialchars($item->link); ?>"><?php echo $item->outputImage('specialimg', $item->title, 492, 492); ?></a>
</div><?php } ?>
Yes, I'm using the i18n Search plugin to call the component:
PHP Code:
<?php get_i18n_search_results(array('tags'=>'_special_junews','max'=>3,'component'=>'jusidebarnews','order'=>'menuOrder','numWords'=>30,'showPaging' => 1,'HEADER'=>null,'i18n'=>0)); ?>
The code you provided produces the following error:
Fatal error: Call to undefined function __get() in /home/clientfolder/public_html/plugins/i18n_search/searcher.class.php on line 115