Could you list your code files after you made the suggested change? Include the full pathname with each code file.
It sounds as if your field definition isn't being called. You could add Joomla Log statements (https://docs.joomla.org/Using_JLog) into your code to see if that's the case, or use a debugger and set a breakpoint on the code.
Namespacing could well be the problem. It's documented at https://manual.joomla.org/docs/general- ... amespaces/.
After you install your extension you shouldn't be "placing" the code in any other directory. Using namespacing rules Joomla will find the field definition in the site module directory based on your namespace, ie where it's been installed into.
It sounds as if your field definition isn't being called. You could add Joomla Log statements (https://docs.joomla.org/Using_JLog) into your code to see if that's the case, or use a debugger and set a breakpoint on the code.
Namespacing could well be the problem. It's documented at https://manual.joomla.org/docs/general- ... amespaces/.
After you install your extension you shouldn't be "placing" the code in any other directory. Using namespacing rules Joomla will find the field definition in the site module directory based on your namespace, ie where it's been installed into.
Statistics: Posted by robbiej — Mon Apr 15, 2024 9:45 pm