Martooti
Member
I try to make my own list template with if condition. I would like that word "sponsored" will be shown in the list row if the element link_featured = 1. I tried to make it this way:
but it return "sponsored" when the link_featured = 1 and when it = 0.
Any advice will be appreciated.
PHP:
<?php if ($this->_row->data->jos_mt_links___link_featured='1') {echo "sponsored";};?>
Any advice will be appreciated.