Page 1 of 2

Category listbox missing in upload

Posted: 25 Jan 2019, 19:26
by mr_embo
Hello,

Since Phoca download version 3.1.5 and higher, I'm missing the Category selection box in the Front End Upload, which makes this version not usable for me.
Via this box, the user needs to select the category where the upload will come.
Below, an URL with the picture of the working category slection in v3.1.4, indicated in red.
https://app.box.com/s/67vvjizut956o6mni9gv8yq9exm393uy

Does something has changed or is it a bug?

Re: Category listbox missing in upload

Posted: 27 Jan 2019, 18:12
by Jan
Hi,

testing now on 3 different servers, without any such problem :idea:

See:
Image

Do you get the problem in all templates (use some default for testing e.g. protostar)? Does your template override Phoca Download output?

Image

Jan

Re: Category listbox missing in upload

Posted: 27 Jan 2019, 19:14
by mr_embo
Hi Jan,

I've tested now with a protostar based template from the internet with identical results.

Here the version with v3.1.5
https://app.box.com/s/o10ogtvo96q63dpy9dq8cmeqwqcewmhx

And here with v3.1.4
https://app.box.com/s/kadhbo444mgsvq7yjc05hpbzh3cbsvdl

You will see that the category box is missing in v3.1.5 and higher (Upload), and present in v3.1.4

In the example, I have used this public template:
http://a4joomla.com/joomla-templates/co ... ostar.html

I'm using joomla 3.9.2

Best regards,
mr_embo

Re: Category listbox missing in upload

Posted: 27 Jan 2019, 19:30
by mr_embo
Hi Jan,

As an additional check, I've switched back the localisation files from Dutch to English. The result is the same.

mr_embo

Re: Category listbox missing in upload

Posted: 27 Jan 2019, 21:09
by Jan
Are you sure that both templates (protostar/your template) do not include the override of Phoca Download Output? (just see the foder structure of template: templates/protostar/html/ ... (there will be folder com_phocadownload in case of override).

When you see Javascript console on the upload page, is there some Javascript error?

https://www.phoca.cz/documents/16-jooml ... -conflicts

Jan

Re: Category listbox missing in upload

Posted: 27 Jan 2019, 21:27
by mr_embo
Yes. No overrides in both templates (no com_phocadownload folder)
https://app.box.com/s/4iojvd2d3davwijh1sxltydorhts64lt

And no javascript errors in console
https://app.box.com/s/3or3y7buv2v7dvnfonpfvoq9mzlj03z0

mr_embo

Re: Category listbox missing in upload

Posted: 27 Jan 2019, 21:46
by mr_embo
I've checked the site logs and I see this error passing by...
https://app.box.com/s/uceh5ayqgybeioe1cfjo24ousouuzuqd

Maybe it helps...

Re: Category listbox missing in upload

Posted: 29 Jan 2019, 00:53
by Jan
Hi, thank you for the log:

1) try to switch from bootstrap layout to standard ... does it work?

2) try to switch back from standard to bootstrap, download this file: https://www.phoca.cz/forumfiles/default ... tstrap.zip , unzip and copy it to folder:

components\com_phocadownload\views\user\tmpl\ so file: default_files_bootstrap.php will be overwritten

and let me if this works?

Thank you, Jan

Re: Category listbox missing in upload

Posted: 31 Jan 2019, 19:37
by mr_embo
Hi Jan,

I've used the original Bootstrap template of Joomla (in Fluid and in static, but I still think Bootstrap is on...). here you see the both results
https://app.box.com/s/bb3b6kgmjg42pczrw4v70owx1xrl0ax6

https://app.box.com/s/wcq7688wpeqpyvyfdotdot0pejj3xevp
So Good in v3.1.4 and missing categories in v3.1.6
No I've applied your solution and it works (also in my own template)
https://app.box.com/s/amt6nyrvh0kmk3hdl3iu1hh3tz256g2w
Thanks

Re: Category listbox missing in upload

Posted: 01 Feb 2019, 15:20
by Jan
Ok, thank you for the info, I will set it in new version.

Jan