"Blog" type of view

Phoca Download - download manager
PSmith
Phoca Newbie
Phoca Newbie
Posts: 3
Joined: 07 Aug 2015, 15:31

"Blog" type of view

Post 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.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48566
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: "Blog" type of view

Post 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
If you find Phoca extensions useful, please support the project
PSmith
Phoca Newbie
Phoca Newbie
Posts: 3
Joined: 07 Aug 2015, 15:31

Re: "Blog" type of view

Post 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!
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48566
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: "Blog" type of view

Post 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
If you find Phoca extensions useful, please support the project
PSmith
Phoca Newbie
Phoca Newbie
Posts: 3
Joined: 07 Aug 2015, 15:31

Re: "Blog" type of view

Post 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.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48566
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: "Blog" type of view

Post by Jan »

Hi, added to feature request list. But really no idea when I will be able to take a look at it. :-(

Jan
If you find Phoca extensions useful, please support the project
Post Reply