Hi, i would like to change filelist view, adding some information. It's possible for category view, not for file list view.
It seems i can't do it setting parameters. Any suggestgions?
Thanks
Luca
Below the link to see current version layout
https://imgur.com/a/V2mn5FX
setting file list view attributes
- Jan
- Phoca Hero
- Posts: 48550
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: setting file list view attributes
Hi, do you use component or plugin?
Jan
Jan
If you find Phoca extensions useful, please support the project
-
- Phoca Newbie
- Posts: 4
- Joined: 01 Mar 2021, 16:19
Re: setting file list view attributes
Hi Jan,
i'm using a syntax as this (after installing the phoca plugin button):
{phocadownload view=filelist|id=1|limit=100}
inside a K2 item.
I would like to add more information than only the description, for example the filesize.
Thanks
Luca
i'm using a syntax as this (after installing the phoca plugin button):
{phocadownload view=filelist|id=1|limit=100}
inside a K2 item.
I would like to add more information than only the description, for example the filesize.
Thanks
Luca
- Jan
- Phoca Hero
- Posts: 48550
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: setting file list view attributes
Hi, the plugin only have this output, so it needs to be customized in CSS or directly in the code 
Jan

Jan
If you find Phoca extensions useful, please support the project
-
- Phoca Newbie
- Posts: 4
- Joined: 01 Mar 2021, 16:19
Re: setting file list view attributes
Hi Jan,
could you please send me an example of this kind of modifications in CSS?
I never did it.
Thanks
Luca
could you please send me an example of this kind of modifications in CSS?
I never did it.
Thanks
Luca
- Jan
- Phoca Hero
- Posts: 48550
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: setting file list view attributes
Hi, I don't have any such example, it is just about modification the HTML and CSS to fit your needs, so hard to give you some HTML/CSS example of your preferred design 
Jan

Jan
If you find Phoca extensions useful, please support the project
-
- Phoca Newbie
- Posts: 4
- Joined: 01 Mar 2021, 16:19
Re: setting file list view attributes
Hi Jan,
how should i do if i wanted for example to add the filesize?
Luca
how should i do if i wanted for example to add the filesize?
Luca
- Jan
- Phoca Hero
- Posts: 48550
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: setting file list view attributes
Hi,
- you need to load the filesize from database or get the filesize from the file (reading the size from full path file)
- then you just echo this value where you need (if in plugin, then directly in plugin code, if in component than you can e.g. use template override in your template so the changes you have made will be not lost when updating)
Jan
- you need to load the filesize from database or get the filesize from the file (reading the size from full path file)
- then you just echo this value where you need (if in plugin, then directly in plugin code, if in component than you can e.g. use template override in your template so the changes you have made will be not lost when updating)
Jan
If you find Phoca extensions useful, please support the project