Page 1 of 1
					
				setting file list view attributes
				Posted: 01 Mar 2021, 16:29
				by lmilitel
				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 
			 
			
					
				Re: setting file list view attributes
				Posted: 02 Mar 2021, 14:52
				by Jan
				Hi, do you use component or plugin?
Jan
			 
			
					
				Re: setting file list view attributes
				Posted: 02 Mar 2021, 18:42
				by lmilitel
				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
			 
			
					
				Re: setting file list view attributes
				Posted: 03 Mar 2021, 15:06
				by Jan
				Hi, the plugin only have this output, so it needs to be customized in CSS or directly in the code 
Jan
 
			 
			
					
				Re: setting file list view attributes
				Posted: 04 Mar 2021, 12:08
				by lmilitel
				Hi Jan,
could you please send me an example of this kind of modifications in CSS?
I never did it.
Thanks
Luca
			 
			
					
				Re: setting file list view attributes
				Posted: 09 Mar 2021, 18:24
				by Jan
				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
 
			 
			
					
				Re: setting file list view attributes
				Posted: 10 Mar 2021, 13:20
				by lmilitel
				Hi Jan,
how should i do if i wanted for example to add the filesize?
Luca
			 
			
					
				Re: setting file list view attributes
				Posted: 10 Mar 2021, 14:20
				by Jan
				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