New answers tagged

0 votes

How to set error in component code for FormController

If you look at the code just above the one you referenced, you'll see that the controller reads the error message from the model: $this->setError(\JText::sprintf('JLIB_APPLICATION_ERROR_SAVE_FAILED'...
user avatar
  • 8,306
0 votes

How to set error in component code for FormController

Yes, I'm calling from Controller. I found the solution (or the error), I was doing a 'return false' which was causing the error to be displayed. Instead, I found another approach (How do I properly ...
user avatar
0 votes

What is the best way to have pages displaying articles from our custom content table in Joomla 4.1?

if you just want to use different content than the one stored in the com_content tables, why not creating a simple content plugin which replaces the content in the row before showing it? That way you ...
user avatar

Top 50 recent answers are included