[Beta] Categories/Joomla Custom Fields/Fields groups is not showing when building towards Joomla 4/5 #1048

Open
opened 2024-02-09 09:23:01 +00:00 by Daniel Duvald · 4 comments

Steps to reproduce the issue

If a view has a category field, or uses Joomla custom fields, then they are not showing up in the left menu when building for Joomla 4/5. It's working for Joomla 3.

Expected result

To be working/showing up in Joomla 4, like it does in Joomla 3

Actual result

Doesn't work in Joomla 4

System information (as much as possible)

  • OS Name & Version: Ubuntu 20.04
  • MySql Version:
  • Apache Version:
  • PHP Version: 8.1.26
  • Joomla Version: 4.4.2
  • JCB Version: 3.1.37
  • Browser:

Additional comments

### Steps to reproduce the issue If a view has a category field, or uses Joomla custom fields, then they are not showing up in the left menu when building for Joomla 4/5. It's working for Joomla 3. ### Expected result To be working/showing up in Joomla 4, like it does in Joomla 3 ### Actual result Doesn't work in Joomla 4 ### System information (as much as possible) - OS Name & Version: Ubuntu 20.04 - MySql Version: - Apache Version: - PHP Version: 8.1.26 - Joomla Version: 4.4.2 - JCB Version: 3.1.37 - Browser: ### Additional comments
Daniel Duvald changed title from Categories/Fields/Fields groups is not showing when building towards Joomla 4/5 to Categories/Joomla Custom Fields/Fields groups is not showing when building towards Joomla 4/5 2024-02-09 09:24:16 +00:00
Llewellyn added the
Beta
label 2024-02-09 13:13:12 +00:00
Llewellyn changed title from Categories/Joomla Custom Fields/Fields groups is not showing when building towards Joomla 4/5 to [Beta] Categories/Joomla Custom Fields/Fields groups is not showing when building towards Joomla 4/5 2024-02-09 13:13:23 +00:00
Author

Hi, just wanted to check in on this issue. Categories seems to be working, although it doesn't feel integrated in the component when used. Are custom fields supposed to be working now? If so, where can I find it?

Thanks for all your hard work on JCB!!!

Hi, just wanted to check in on this issue. Categories seems to be working, although it doesn't feel integrated in the component when used. Are custom fields supposed to be working now? If so, where can I find it? Thanks for all your hard work on JCB!!!
Owner

I have not gotten around to the Joomla Custom Fields integration yet, it might work, but the menu item is not build, which means adding a preset xml manually to your component with those links could work. But I have not had time to check it out just yet.

As for the categories, it should work as expected :)

I have not gotten around to the Joomla Custom Fields integration yet, it might work, but the menu item is not build, which means adding a preset xml manually to your component with those links could work. But I have not had time to check it out just yet. As for the categories, it should work as expected :)
Author

Categories work on a technical level. A link is added on the Cpanel for the admin view that uses categories. The user experience leaves a bit to be desired as it feels a bit disconnected to the component. And once a category is created, you have to navigate back to the component again. I'm not sure if this is just the terms we have to accept, when dealing with what is fundamentally Joomla categories in the context of a custom component.

As for fields. If I manually go to: administrator/index.php?option=com_fields&view=fields&context=com_component_name.context then I can create fields and com_fields&view=groups works in the same way, I can create fields groups. The fields then show op on the admin view where I've selected to use fields. So it pretty much seems to be working, just missing the links.

Categories work on a technical level. A link is added on the Cpanel for the admin view that uses categories. The user experience leaves a bit to be desired as it feels a bit disconnected to the component. And once a category is created, you have to navigate back to the component again. I'm not sure if this is just the terms we have to accept, when dealing with what is fundamentally Joomla categories in the context of a custom component. As for fields. If I manually go to: administrator/index.php?option=com_fields&view=fields&context=com_component_name.context then I can create fields and com_fields&view=groups works in the same way, I can create fields groups. The fields then show op on the admin view where I've selected to use fields. So it pretty much seems to be working, just missing the links.
Owner

We are working on the option to add the links back... but yet it should work otherwise.

A work around for now would be to add a custom_admin_menu:

image

We are working on the option to add the links back... but yet it should work otherwise. A work around for now would be to add a **custom_admin_menu**: ![image](https://git.vdm.dev/attachments/002e83ce-3e1e-4c95-adbb-84142aec9637)
Sign in to join this conversation.
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: joomla/Component-Builder#1048
No description provided.