Field Category in list page mistakenly shows Joomla article category

Phoca Cart - complex e-commerce extension
shawnhy
Phoca Member
Phoca Member
Posts: 22
Joined: 04 Nov 2012, 08:22

Field Category in list page mistakenly shows Joomla article category

Post by shawnhy »

Hi all,
When I assign categories to a field, the list page shows joomla article category.
Image

I think it mistakenly grap ID from database table categories, while table phocacart_categories is corrent
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48403
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Field Category in list page mistakenly shows Joomla article category

Post by Jan »

Hi, which field do you mean? Which view is this?

Jan
If you find Phoca extensions useful, please support the project
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48403
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Field Category in list page mistakenly shows Joomla article category

Post 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
If you find Phoca extensions useful, please support the project
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48403
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Field Category in list page mistakenly shows Joomla article category

Post 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. :idea:
If you find Phoca extensions useful, please support the project
shawnhy
Phoca Member
Phoca Member
Posts: 22
Joined: 04 Nov 2012, 08:22

Re: Field Category in list page mistakenly shows Joomla article category

Post 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.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48403
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Field Category in list page mistakenly shows Joomla article category

Post 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. :idea:

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