NathanR Posted June 21, 2015 Share Posted June 21, 2015 Is this gone in 4.x or is there a way to turn it on? Link to comment Share on other sites More sharing options...
Gnuru Posted June 21, 2015 Share Posted June 21, 2015 There is a block called "similar items", when using the block manager.It works pretty well, but will show only similar items according to the tags. Link to comment Share on other sites More sharing options...
Marcher Technologies Posted June 21, 2015 Share Posted June 21, 2015 If needing it based on title instead: Actually just finished an update making it more globally available. Link to comment Share on other sites More sharing options...
Gnuru Posted June 21, 2015 Share Posted June 21, 2015 that is what I was looking for, thank you.Does it have the possibility to show a thumbnail image if attached to a post / page / article or download? Link to comment Share on other sites More sharing options...
Marcher Technologies Posted June 21, 2015 Share Posted June 21, 2015 that is what I was looking for, thank you.Does it have the possibility to show a thumbnail image if attached to a post / page / article or download?You could do that by adjusting the widget template for your theme and some logic, but that's a bit too specific to the content type in the result set I would think. I'll see what I can do in a future update. Link to comment Share on other sites More sharing options...
Gnuru Posted June 21, 2015 Share Posted June 21, 2015 Great, by being able to manipulate the template it will work for me.btw, this is my template code:{{foreach $similar as $item}} <div class='cCmsCategoryFeaturedEntry'> <h3> <a href="{$item->url()}" title='{lang="view_this" sprintf="$item->mapped('title')"}'> {{if $item->record_image}} <div class='ipsDataItem_icon ipsPos_top'> {template="thumbImage" group="global" app="core" params="$item->record_image, $item->name"} </div> {{elseif $item->primary_screenshot}} <div class='ipsDataItem_icon ipsPos_top'> {template="thumbImage" group="global" app="core" params="$item->primary_screenshot, $item->name"} </div> {{endif}} {wordbreak="$item->mapped('title')"} </a> </h3> </div> {{endforeach}} Link to comment Share on other sites More sharing options...
Marcher Technologies Posted June 21, 2015 Share Posted June 21, 2015 Any content type could end up in that result set though, so it's not quite that simple. Link to comment Share on other sites More sharing options...
Gnuru Posted June 21, 2015 Share Posted June 21, 2015 I understand, but that was what I was looking for: e.g. having an article / forum post and showing similar content from downloads Link to comment Share on other sites More sharing options...
Marcher Technologies Posted June 21, 2015 Share Posted June 21, 2015 I see. additional filters had been on my mind, such will indeed be in the next update, was trying to get this one out a bit more quickly due to that error noted. Link to comment Share on other sites More sharing options...
Gnuru Posted June 21, 2015 Share Posted June 21, 2015 Great, I am looking forward to it :-) Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.