Page 2 of 2

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

Posted: 26 Aug 2025, 23:05
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

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

Posted: 27 Aug 2025, 00:24
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

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

Posted: 27 Aug 2025, 15:32
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.

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

Posted: 27 Aug 2025, 15:53
by likestuff
Is it possible for me to remove the photo here?
viewtopic.php?p=185407#p185407

Thanks!

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

Posted: 27 Aug 2025, 15:58
by Benno
Hi,
I have removed it for you.

Kind regards,
Benno

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

Posted: 27 Aug 2025, 16:06
by likestuff
Thank you.