Since the release of Joomla 3.0 Alpha last night, I wanted to try my hand at starting to convert the Joomla 2.5 component I have written to the new Joomla 3.0. I have been following all of the development convos, they said the JController, JView, and JModel would be changed to have "Legacy" after each one and that would be about all you would have to change.
I have run into the other problem, getting an error message as follows:
"Strict Standards: Declaration of MYCOMPONENTController::display() should be compatible with that of JControllerLegacy::display()"
I have looked an more documentation and posts and no one has come across this or talking about it, so just wanted to get it out there, and see what I need to do to fix this. Thanks all!
The latest version of Joomla! is 4.2. 2 and includes the latest and greatest features from the developers supporting Joomla. Please see the latest release announcement for more information.
Support ends on 17 August 2023 for Joomla 3.10.
Found the answer, the function display needed one more parameter that I did not have in there. So changed from this:
class MYCOMPONENTController extends JControllerLegacy
{
function display($cachable = false)
To this:
function display($cachable = false, $urlparams = false)
Hopefully this helps someone!
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With