Page 1 of 1

how to disable download button code for guests

Posted: 15 Jul 2014, 04:01
by legora
Hi,

I placed the files in my articles, set user permission to download only for registered and everything is fine, the button is there and it can be downloaded, but if you visit the article as guest the code is there, in my case "{phocadownload view=file|id=1|text=kurle|target=s}", how to make this code invisible for guests, cause it looks like some error when people see it.

thanks

Re: how to disable download button code for guests

Posted: 19 Jul 2014, 21:44
by Jan
Hi, in content area - in article - the article rules are active - so you can enable / disable the whole article but not plugin code.

To manage access for the files, you should use component where you can set access rights.

Jan