use-statements for fields #1005
Unanswered
kmd-muc
asked this question in
Extention Issues
Replies: 4 comments
|
did you use the joomla JPK for this? This is the JPK you can us in place of JFolder:: and it will add the use statements automatically. Joomla___b32954a3_05c3_41a0_8238_85262ad46246___Power You can find these keys in the Joomla Powers area. |
0 replies
|
I haven't used Powers yet and must check how this works. |
0 replies
|
I can't find a documentation on how to use JPK. Can anyone please point me there? |
0 replies
|
yes here you can find information about it: https://git.vdm.dev/joomla/joomla-powers |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
In my component, I have a custom field where, for J!3, I used JFolder::, which in J!5 doesn't work anymore. In order to use Folder::.... I need to insert use \Joomla\CMS\Filesystem\Folder but JCB doesn't seem to provide a spot, where I could add this in the configuration of my custom field.
Where am I to put my "use \Joomla\CMS\Filesystem\Folder" in my custom field?
All reactions