Hi Phoca,
Question, I'd like to move 2 things around, see screenshot: http://prntscr.com/b63w9v.
Basically I want the files to display before the categories. On which file can I do that?
Regards,
PJ
Category view
- Jan
- Phoca Hero
- Posts: 48550
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Category view
Hi, this is the category view:
components\com_phocadownload\views\category\tmpl\default.php (categories)
components\com_phocadownload\views\category\tmpl\default_files.php (files)
in case you use bootstrap 3 output:
components\com_phocadownload\views\category\tmpl\default_bootstrap.php (categories)
components\com_phocadownload\views\category\tmpl\default_files_bootstrap.php (files)
Jan
components\com_phocadownload\views\category\tmpl\default.php (categories)
components\com_phocadownload\views\category\tmpl\default_files.php (files)
in case you use bootstrap 3 output:
components\com_phocadownload\views\category\tmpl\default_bootstrap.php (categories)
components\com_phocadownload\views\category\tmpl\default_files_bootstrap.php (files)
Jan
If you find Phoca extensions useful, please support the project
-
- Phoca Member
- Posts: 37
- Joined: 03 Sep 2015, 19:00
Re: Category view
Hi Jan,
I do not have the bootstrap 3 files. But I tried changing a bit but I couldn't get the files to display first.
Any idea how I can get this to work?
Thank,
PJ
I do not have the bootstrap 3 files. But I tried changing a bit but I couldn't get the files to display first.
Any idea how I can get this to work?
Thank,
PJ
- Jan
- Phoca Hero
- Posts: 48550
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Category view
Hi, do you run the latest version of Phoca Download:
What you mean with "I couldn't get the files to display"?
Jan
What you mean with "I couldn't get the files to display"?
Jan
If you find Phoca extensions useful, please support the project
-
- Phoca Member
- Posts: 37
- Joined: 03 Sep 2015, 19:00
Re: Category view
I run 3.1.0 which does the job for me.
I want the files to display first and then the categories.
Now it's the other way around first categories and then files, I want first files then category.
Is this possible, if so, how?
I want the files to display first and then the categories.
Now it's the other way around first categories and then files, I want first files then category.
Is this possible, if so, how?
-
- Phoca Member
- Posts: 37
- Joined: 03 Sep 2015, 19:00
Re: Category view
This is how I want it basically, http://prntscr.com/bbhrbh
- Jan
- Phoca Hero
- Posts: 48550
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Category view
Hi, then you need to customize directly the category view:
components/com_phocadownload/views/category/tmpl/default.php (the categories)
components/com_phocadownload/views/category/tmpl/default_files.php (files)
So, in default php, you should change the loading of template default_files.php --> echo $this->loadTemplate('files');
Jan
components/com_phocadownload/views/category/tmpl/default.php (the categories)
components/com_phocadownload/views/category/tmpl/default_files.php (files)
So, in default php, you should change the loading of template default_files.php --> echo $this->loadTemplate('files');
Jan
If you find Phoca extensions useful, please support the project