[BUG]: Cannot use Add/Edit Customcode feature in Toolbar #1311

Closed
opened 2026-06-04 21:32:07 +00:00 by ConfidantCommunications · 1 comment

What Happened?

I'm attempting to add a custom toolbar button using the controls under the Toolbar tab of the Admin View area. What I originally wanted was to simply link to a custom code I already created. There is no option to select an existing one, and creating one doesn't link it. I have some demo components installed which have a custom code link there. I just can't add my own.

Steps to reproduce the Bug

I clicked the [+] button underneath Add/Edit Customcode. It changes to a new window where I create the Custom Code. I click Save and Close, and the Admin View still has no reference to any custom code.

Which Joomla version are you compiling in?

6.0.3

Which PHP version are you compiling in?

8.3.27

Which Joomla versions are you targeting?

6.0.0

Which PHP version are you targeting?

8.3.27

Which Web server is JCB running on?

Joomla Docker image "joomla:5.4.0-php8.3". Apache 2

Which Relational Database is JCB running on?

mysqlnd 8.3.27

Which OS is JCB running on?

Alpine linux inside Docker on a Mac ARM64

Which JCB version are you using?

6.1.5

Where in JCB did this issue occur?

Admin View(admin_view)

On which browsers did you encounter the issue?

Firefox

Additional Comments

No response

### What Happened? I'm attempting to add a custom toolbar button using the controls under the Toolbar tab of the Admin View area. What I originally wanted was to simply link to a custom code I already created. There is no option to select an existing one, and creating one doesn't link it. I have some demo components installed which have a custom code link there. I just can't add my own. ### Steps to reproduce the Bug I clicked the [+] button underneath Add/Edit Customcode. It changes to a new window where I create the Custom Code. I click Save and Close, and the Admin View still has no reference to any custom code. ### Which Joomla version are you compiling in? 6.0.3 ### Which PHP version are you compiling in? 8.3.27 ### Which Joomla versions are you targeting? 6.0.0 ### Which PHP version are you targeting? 8.3.27 ### Which Web server is JCB running on? Joomla Docker image "joomla:5.4.0-php8.3". Apache 2 ### Which Relational Database is JCB running on? mysqlnd 8.3.27 ### Which OS is JCB running on? Alpine linux inside Docker on a Mac ARM64 ### Which JCB version are you using? 6.1.5 ### Where in JCB did this issue occur? Admin View(admin_view) ### On which browsers did you encounter the issue? Firefox ### Additional Comments _No response_
ConfidantCommunications added the Bug label 2026-06-04 21:32:08 +00:00
Author

I am now realising that Add/Edit Customcode is just a convenience link and I need to add the shortcode to a code area for things to link up. I wonder if a more intuitive solution would be possible.

I am now realising that Add/Edit Customcode is just a convenience link and I need to add the shortcode to a code area for things to link up. I wonder if a more intuitive solution would be possible.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: joomla/Component-Builder#1311