I have copied /components/com_content/views/category/default_articles.php into my template and the overwrite is working fine.

I just don't know the line of code Joomla uses so I can add a Delete button next to the Edit button. This is on the Category List component.

Hope that makes sense.


1 Answer 1


There ise no controller for articles in frontend, so you can't add delete button without customising com_content component. But there is option to unpublish / trash article in edit view. That's the best you can do in frontend from core component right now.

So if you need delete button, you should create your own component based on com_content and add articles controller, which has method to delete article. But bear in mind that Joomla! defaut flow is to trash article and only then delete it completely.

  • Thanks for this mate. So just getting this straight, there is no trash feature in the front end either? So I cannot have a "Delete" link that trashes the article?
    – Programit
    Commented Jan 31, 2016 at 20:15
  • Trashing (changing state with button/link) should be added with same controller as deleting. So no, only chaning state in article edit view.
    – Rene Korss
    Commented Jan 31, 2016 at 20:17
  • Thanks for the response. I will just stick with the core Joomla features.
    – Programit
    Commented Jan 31, 2016 at 20:25

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.