Where to Change List of Files - Category View Column Class

Phoca Download - download manager
likestuff
Phoca Professional
Phoca Professional
Posts: 184
Joined: 18 Jul 2008, 03:06

Re: Where to Change List of Files - Category View Column Class

Post by likestuff »

I sound this in the file. Where do I change col-sm-6 col-md-6 as per my screenshot? Thanks!

Code: Select all

echo '<div class="row ">';

				if ($pdFileDescTop != '') {
					echo '<div class="col-sm-12 col-md-12">';
					echo $pdFileDescTop;
					echo '</div>';
				}

				echo '<div class="col-sm-'.$this->t['bt_cat_col_left'].' col-md-'.$this->t['bt_cat_col_left'].'">';
				echo $pdFile;
				echo '</div>';

				// ======= ROW 1 RIGHT
				echo '<div class="col-sm-'.$this->t['bt_cat_col_right'].' col-md-'.$this->t['bt_cat_col_right'].'">';

				echo '<div class="pd-button-box-bt">'.$pdButtonDownload . '</div>';
				echo '<div class="pd-button-box-bt">'.$pdButtonDetails . '</div>';
				echo '<div class="pd-button-box-bt">'.$pdButtonPreview . '</div>';
				echo '<div class="pd-button-box-bt">'.$pdButtonPlay . '</div>';

				echo '</div>';

				echo '</div>';// end row

				// ======== ROW 2 LEFT
				echo '<div class="row pd-row2-bp">';

				echo '<div class="col-xl-8 col-md-8">';
				if ($pdVideo != '') {
					echo '<div class="pd-video">'.$pdVideo.'</div>';
				}
				echo '<div class="pd-rating">'.$pdRating.'</div>';
				echo '</div>';

				// ======== ROW 2 RIGHT
				echo '<div class="col-xl-4 col-md-4">';

				if ($this->t['display_mirror_links'] == 4 || $this->t['display_mirror_links'] == 6) {
					if ($pdMirrorLink2 != '') {
						echo '<div class="pd-buttons">'.$pdMirrorLink2.'</div>';
					}
					if ($pdMirrorLink1 != '') {
						echo '<div class="pd-buttons">'.$pdMirrorLink1.'</div>';
					}

				} else if ($this->t['display_mirror_links'] == 1 || $this->t['display_mirror_links'] == 3) {
					echo '<div class="pd-mirrors">'.$pdMirrorLink2.$pdMirrorLink1.'</div>';
				}

				if ($pdTags != '') {
					echo '<div class="pd-tags-bp">'.$pdTags.'</div>';
				}

				if ($pdReportLink != '') {
					echo '<div class="pd-report-bp">'.$pdReportLink.'</div>';
				}

				echo '</div>';

				if ($pdFileDescBottom != '') {
					echo '<div class="col-sm-12 col-md-12">';
					echo $pdFileDescBottom;
					echo '</div>';
				}

				echo '</div>';// end row
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48932
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Where to Change List of Files - Category View Column Class

Post by Jan »

Hi, unfortunately, programming does not work this way that you just look at the screenshot and based on screenshot you write some solution, it is about test and try and test and try again. I unfortunately don't know how to give such advice as I didn't do such customization yet. :idea:

Jan
If you find Phoca extensions useful, please support the project
likestuff
Phoca Professional
Phoca Professional
Posts: 184
Joined: 18 Jul 2008, 03:06

Re: Where to Change List of Files - Category View Column Class

Post by likestuff »

Hi Jan,

I want to clarify that I haven't made any modifications to the files. My inquiry was not about requesting programming changes; I was curious about how to adjust the columns, as I believed you were the one who wrote the code. I do not possess coding skills myself, nor did I ask anyone to make changes, as that would incur costs.

I apologize for any confusion this may have caused.
likestuff
Phoca Professional
Phoca Professional
Posts: 184
Joined: 18 Jul 2008, 03:06

Re: Where to Change List of Files - Category View Column Class

Post by likestuff »

Is it possible for me to remove the photo here?
viewtopic.php?p=185407#p185407

Thanks!
User avatar
Benno
Phoca Hero
Phoca Hero
Posts: 9827
Joined: 04 Dec 2008, 11:58
Location: Germany
Contact:

Re: Where to Change List of Files - Category View Column Class

Post by Benno »

Hi,
I have removed it for you.

Kind regards,
Benno
likestuff
Phoca Professional
Phoca Professional
Posts: 184
Joined: 18 Jul 2008, 03:06

Re: Where to Change List of Files - Category View Column Class

Post by likestuff »

Thank you.
Post Reply