Jump to content

Get listing url to show custom image


....

Recommended Posts

Hi,

 

Instead of the default media item i wanted to show a custom image in the widget with a link back to the listing. So i tried:

<div class="jrWidgetItem">
<a href="<?php echo $listing['Listing']['url'];?>">
	<img class="icon" src="image/source.png" style="max-width:100%;">
</a>
</div> 

Which works but it does not show the SEF url.

 

Adding "$Html->sefLink" does not do the trick. How can i get the right URL here?

Thank you in advance,

 

Jasper

 

Link to comment
×
×
  • Create New...