Say I want to take mod_custom as a base for a future module. This module has an admin back-end and is not provided as package.

After modifications, how can I package it for installation? Seems there is no documentation, in Joomla! website, about how to package modules with an admin back-end.

How to organize folders. Should I copy Components structure?

How to trigger registration of the admin back-end part?


Moreover, if I only copy/paste my module inside folders, I get "not blocking exception" named Joomla\CMS\Categories\SectionNotFoundException: stating that the $path does not exists in ./components/com_mod_xxxxx/helpers/category.php

So seems that a step, that occurs in the installation process, is missing.

  • Are you referring to a module or component? Your question starts off talking about a module, but then goes on to reference a component. Perhaps you're referring to bundling up a component and module in a single package? – Lodder Aug 19 '19 at 7:32
  • Well, it is tricky. mod_custom is a module, related to com_content, but seems, in regard to its composition, to be somehow hybrid. Indeed, it has an admin back-end. Only component are "presented", in the Joomla! doc with an admin back-end. But what should I do if I want to take mod_custom as a base, and then package it? Should I do as if it was a component? Or as if it was a module? – JDoe Aug 19 '19 at 7:56
  • At first it seems you want to joomlashack.com/blog/joomla/custom-module-backend but then you call it a hybrid -- it is Unclear how it is a hybrid extension. – mickmackusa Aug 19 '19 at 8:08
  • @mickmackusa :D Thanks!!! Can you provide your comment as Answer, AS IT IS EXACTLY WHAT I NEEDED! – JDoe Aug 19 '19 at 8:17
  • @JDoe - Only thing I can really conclude is an administrator module. Other than that and I'm still confused. But glad you've found what you want now – Lodder Aug 19 '19 at 8:22

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.