Category select not shown in batch popup (file)
-
- Phoca Newbie
- Posts: 3
- Joined: 10 Nov 2022, 12:46
Category select not shown in batch popup (file)
Hi,
the category select is not shown in batch popup (file section).
Can you help me?
Phoca Download
Version: 3.2.3
Joomla 3.10.11
the category select is not shown in batch popup (file section).
Can you help me?
Phoca Download
Version: 3.2.3
Joomla 3.10.11
- Jan
- Phoca Hero
- Posts: 47870
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Category select not shown in batch popup (file)
Hi, can you paste a screenshot of where it is not displayed? Are all categories published?
If you find Phoca extensions useful, please support the project
-
- Phoca Newbie
- Posts: 3
- Joined: 10 Nov 2022, 12:46
- Jan
- Phoca Hero
- Posts: 47870
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Category select not shown in batch popup (file)
Hi, hmmm, testing now, see no problem:
What about access, are the categories accessible?
Jan
What about access, are the categories accessible?
Jan
If you find Phoca extensions useful, please support the project
-
- Phoca Newbie
- Posts: 3
- Joined: 10 Nov 2022, 12:46
Re: Category select not shown in batch popup (file)
I found a solution, can you confirm that it is correct?
I edit line 58 of /administrator/components/com_phocadownload/models
from
$state = $app->getUserStateFromRequest($this->context.'.filter.published', 'filter_published', '', 'string');
to
$state = $app->getUserStateFromRequest($this->context.'.filter.published', 'filter_published', null, 'string');
Thanks
I edit line 58 of /administrator/components/com_phocadownload/models
from
$state = $app->getUserStateFromRequest($this->context.'.filter.published', 'filter_published', '', 'string');
to
$state = $app->getUserStateFromRequest($this->context.'.filter.published', 'filter_published', null, 'string');
Thanks
- Jan
- Phoca Hero
- Posts: 47870
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Category select not shown in batch popup (file)
Hi, really no idea how can published filter have effect on category select box
If you find Phoca extensions useful, please support the project
-
- Phoca Member
- Posts: 11
- Joined: 07 May 2020, 11:25
Re: Category select not shown in batch popup (file)
Hi sviluppo,
in which file in /administrator/components/com_phocadownload/models did you change line 58?
Thanks
Bertram
in which file in /administrator/components/com_phocadownload/models did you change line 58?
Thanks
Bertram
- Benno
- Phoca Hero
- Posts: 9112
- Joined: 04 Dec 2008, 11:58
- Location: Germany
- Contact:
Re: Category select not shown in batch popup (file)
@Bertram,
meant is: /administrator/components/com_phocadownload/models/phocadownloadfiles.php
And yes, in my case the above code from sviluppo works, but I can't judge if this could cause problems elsewhere.
Kind regards,
Benno
meant is: /administrator/components/com_phocadownload/models/phocadownloadfiles.php
And yes, in my case the above code from sviluppo works, but I can't judge if this could cause problems elsewhere.
Kind regards,
Benno
-
- Phoca Newbie
- Posts: 7
- Joined: 20 Jul 2011, 05:14
Re: Category select not shown in batch popup (file)
Hello,
I met the same situation, after I update the PHP from Version 7.4.33 to Version 8.0.25.
I'm using Joomla! 3.10.11 and PhocaDownload Version 3.2.3.
To solve the situation, I edited directly the file
/administrator/components/com_phocadownload/views/phocadownloadfiles/tmpl/default_batch.php
Removing the line 30,
And the line 39
improves it.
I met the same situation, after I update the PHP from Version 7.4.33 to Version 8.0.25.
I'm using Joomla! 3.10.11 and PhocaDownload Version 3.2.3.
To solve the situation, I edited directly the file
/administrator/components/com_phocadownload/views/phocadownloadfiles/tmpl/default_batch.php
Removing the line 30,
Code: Select all
<?php if ($published >= 0) : ?>
Code: Select all
<?php endif; ?>
- Jan
- Phoca Hero
- Posts: 47870
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Category select not shown in batch popup (file)
Hi, thank you for the info.
Jan
Jan
If you find Phoca extensions useful, please support the project