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
how to disable download button code for guests
-
legora
- Phoca Newbie

- Posts: 2
- Joined: 14 Jul 2014, 16:07
- Jan
- Phoca Hero

- Posts: 49144
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: how to disable download button code for guests
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
To manage access for the files, you should use component where you can set access rights.
Jan
If you find Phoca extensions useful, please support the project