Jump to content

edit custom owner message


adam parker1424296087

Recommended Posts

How would I edit this script to show this msg to only those who do not have a plan name "Basic" with ID = 2 ?

 

<?php if($this->action == 'com_content_view' && isset($Paid) && $Paid->getVar('updatemsg1',$listing) == 'enabled' && !$this->ajaxRequest && $Access->canAddOwnerReply($listing,$review)):?>
<?php echo "<div class='uk-alert uk-alert-warning' data-uk-alert><a href='' class='uk-alert-close uk-close'></a><p>Hidden Owner Note: You're missing out on leads! Consider adding premium fields such as a Demo link, a 'Request More Info' intake form, or featuring your Listing. To upgrade, click the 'Upgrade' above. <a href='http://sitecom/listing-plans'>Learn More</a></p></div>"; ?>
<?php endif;?>

 

 

Link to comment
×
×
  • Create New...