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

Where to Change List of Files - Category View Column Class

Post by likestuff »

Hi there,

I'm trying to change "col-sm-6 col-md-6" in the List of Files (Category View) but it's not changing. I'm using the override below, is this not the correct file?

‎/templates/cassiopeia_child/html/com_phocadownload/category/default_files.php

Thanks!
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, which version of Phoca Download do you use?

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 know this has been a while I still need to change this. I'm using verion: 5.0.5.

On large screen, instead of "col-sm-6 col-md-6" I would like this on the left column "col-sm-6 col-md-6 col-xl-8" and this on the right "col-sm-6 col-md-6 col-xl-4" .

Please let me know how to change this.

Thanks!
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, you can override the output file with your template, there you can add own html output:

components/com_phocadownload/views/category/tmpl/default_files.php

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 am using an override. I can see "col-sm-6 col-md-6" when I view the page source, the question is where do I find it in the default_files.php file because it's no where to be found in that file.

Thanks!
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, sorry, I don't understand, where you cannot find this file? in this folder?
components/com_phocadownload/views/category/tmpl/

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 found the file. I don't know where to find "col-sm-6 col-md-6" in the file.

Thanks!
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, e.g. line 524 or 532, does not search box in your editor work for you?

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,

This is what am I trying to find. I don't see it in the default_files.php file.

Thanks!
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, are you sure, you have updated Phoca Download with its layouts, try to even search the string with variables, means, search for e.g:

col-sm- col-md-

like this:

<div class="col-sm-'.$this->t['bt_cat_col_right'].' col-md-'.$this->t['bt_cat_col_right'].'">';

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