Page 1 of 1

"Blog" type of view

Posted: 07 Aug 2015, 15:54
by PSmith
Hello,

I'm using Phoca Download on my website.
I would like to know if there's a way to present ALL the files a certain user is able to download on a single page. Kind of the blog layout used for articles.
As different user have access to different files this will be an easy way to show available files for download without having to go to every category/subcategory allowed. It would also be nice if there would be a way to hide categories/subcategories an user is not allowed to (right now it shows the category and after you click on it, it informs that they don't have permission).

Thanks in advance.

Re: "Blog" type of view

Posted: 07 Aug 2015, 16:34
by Jan
Hi, for now, there is categories, category and file view, not specific user view (filtered by user acces rights) so this view needs to be customized :-(

Did you set the access rights for categories too? Not only for files?

Jan

Re: "Blog" type of view

Posted: 07 Aug 2015, 16:52
by PSmith
Hi Jan,

Thanks for the quick reply. The access rights were set by categories too.
Let me explain how I have it set up:

For the time being, I'm using Joomla's standard access rights (Registered in this case). I undestand that maybe I should create additional access rights but I would like to keep this to a minimum.
-All the categories have Registered access rights but also defined specific users to be allowed in that category.
-Files have also Registered access rights (there's not option to define specific users)

I'm use to seeing HTML/CSS/PHP code but I'm not quite sure how can I create a custom view (Joomla newbie). Can you give some advice?

EDIT: I'm seeing this may be of help? https://www.phoca.cz/documents/17-phoca- ... load-theme

Thanks!

Re: "Blog" type of view

Posted: 08 Aug 2015, 11:04
by Jan
Hi, this guide is about customizing the layout (some information is obsolete) but I think, you need to create completely new view - you can copy it from category view - but you need to change the model - to load the items specified by filters (for specific users) and then the view - but this is not so easy and for this the guides from Joomla! need to be learned :-(

Jan

Re: "Blog" type of view

Posted: 10 Aug 2015, 13:45
by PSmith
Hi Jan,

Yes, I was trying to see if I can make it work without success unfortunately. Could this be placed as a Feature Request?

Thanks.

Re: "Blog" type of view

Posted: 11 Aug 2015, 20:11
by Jan
Hi, added to feature request list. But really no idea when I will be able to take a look at it. :-(

Jan