Jump to content

Related Topics


NathanR

Recommended Posts

Posted

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. 

Posted

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?

Posted

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.

Posted

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}}

 

Posted

I understand, but that was what I was looking for: e.g. having an article / forum post and showing similar content from downloads

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...