Re: Problem with Phoca Download and Smart Search component
Posted: 09 Aug 2015, 12:26
Yes. I use these two and Phoca Download Plugin. Unfortunatelly, still with the same effect.
[Edit] I've changed all files permissions to Public and added this code into file default view:
<?php
$user = JFactory::getUser();
if($user->id <= 0):
?>
<style type="text/css" media="screen">
#pdlicensesubmit{ display: none;}
</style>
<?php endif; ?>
Now all files are visible in Smart Search outcomes but only registered users can download a file.
[Edit] I've changed all files permissions to Public and added this code into file default view:
<?php
$user = JFactory::getUser();
if($user->id <= 0):
?>
<style type="text/css" media="screen">
#pdlicensesubmit{ display: none;}
</style>
<?php endif; ?>
Now all files are visible in Smart Search outcomes but only registered users can download a file.