Page 1 of 1
Field Category in list page mistakenly shows Joomla article category
Posted: 16 May 2023, 01:52
by shawnhy
Hi all,
When I assign categories to a field, the list page shows joomla article category.
I think it mistakenly grap ID from database table categories, while table phocacart_categories is corrent
Re: Field Category in list page mistakenly shows Joomla article category
Posted: 16 May 2023, 20:22
by Jan
Hi, which field do you mean? Which view is this?
Jan
Re: Field Category in list page mistakenly shows Joomla article category
Posted: 16 May 2023, 20:24
by Jan
Now I see, it is a list of custom fields. So this means, that Joomla custom field maybe does not work with external extensions. I will take a look at it, thank you, Jan
Re: Field Category in list page mistakenly shows Joomla article category
Posted: 16 May 2023, 22:38
by Jan
Yes, there is no option to load categories from another extension and maybe unfortunately, there is eve no option to hide the category tree.
Re: Field Category in list page mistakenly shows Joomla article category
Posted: 17 May 2023, 13:09
by shawnhy
Thanks, Jan
It is controlled by the view file administrator/components/com_fields/tmpl/fields/default.php
Currently I just hide them to avoid misunderstanding.
Re: Field Category in list page mistakenly shows Joomla article category
Posted: 17 May 2023, 14:31
by Jan
Hi, yes, unfortunately there is no event like in edit mode. In edit mode, the select box of categories can be overwritten by Phoca Cart custom function, but this is not possible to do in the list of fields as there is no event
I will try to search some other options, but I think, the hiding will be the best solution.
Jan