Reduce the row size to acomodate 2 files in a single row

Phoca Download - download manager
rage76
Phoca Newbie
Phoca Newbie
Posts: 8
Joined: 17 Sep 2016, 08:25

Reduce the row size to acomodate 2 files in a single row

Post by rage76 »

hello

Currently I am using Phoca Download 3 with J/VM 3+

This is the output I am getting: http://prnt.sc/ciyvy4

I want to show all 3 or atleast 2 files in a single row to save space. How can I do it.

I shall be grateful for a speedy response.

Kindest regards
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48550
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Reduce the row size to acomodate 2 files in a single row

Post by Jan »

Hi, this is the plugin output, so for displaying it e.g. on one row, you need to made customizations to the CSS - e.g. to change it to float boxes, etc.
:idea:
Jan
If you find Phoca extensions useful, please support the project
rage76
Phoca Newbie
Phoca Newbie
Posts: 8
Joined: 17 Sep 2016, 08:25

Re: Reduce the row size to acomodate 2 files in a single row

Post by rage76 »

Thank you for the response but I am sorry; I am a novice and do not know programming / coding. Can you help me by telling which files to edit and what code to change/edit? rgds
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48550
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Reduce the row size to acomodate 2 files in a single row

Post by Jan »

Hi, CSS changes you can do in your template.

To core edit the php file, see this file:
plugins\content\phocadownload\phocadownload.php

Unfortunately, I cannot give any clue advice of what exactly needs to be edited because I didn't do such customization yet :idea:

Jan
If you find Phoca extensions useful, please support the project
rage76
Phoca Newbie
Phoca Newbie
Posts: 8
Joined: 17 Sep 2016, 08:25

Re: Reduce the row size to acomodate 2 files in a single row

Post by rage76 »

thanks again Jan, but dont you thing this will save a lot of space and is a good idea !!
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48550
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Reduce the row size to acomodate 2 files in a single row

Post by Jan »

Hi, yes, but in resonsive design e.g. it does not matter as in mobile phone, you will get the items in row below each other. So in fact, you get it displayed differently in all possible devices. As default, each item has own row like lists have (ul li, ol li). Yes, if one row fits your design better then of course, it is better than to change the design per CSS. (but it is matter of taste - 50% users says, they want to have on one line, 50% on more lines :idea: ) In fact, there are thousands of places which can be differently displayed :idea:

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