5

Is there a way that extension packages can be installed using the "administrator" client option or similar in a manifest file? I've made an installer package purely for the backend and I'd like it to show up under the 'Administrator' location in the Extension Manager, but it currently shows up under 'Site'.

I've tried adding a "client" property set to "administrator" in the element, but the docs are evidently accurate when they state it only works for components. I can work around by modifying the database on install using a scriptfile, but surely it's possible using the manifest alone?

4
  • Tried to find the way myself - no success so far. I believe you could try to implement this behavior and add it to joomla-cms at github.com, but it could be challenging.
    – Alexandr
    Commented Jan 8, 2017 at 16:41
  • I looked into it around when I asked this question and wouldn't be very difficult to implement; you'd probably have a harder time actually getting it merged than coding it.
    – Bathmat
    Commented Jan 8, 2017 at 16:53
  • Yes, that's actually what I've meant by this. It's headache. Something like 4/10 for me so far I believe [merged/requested]. And those that really development ones are barely get merged. :(
    – Alexandr
    Commented Jan 8, 2017 at 17:17
  • I know this is an old issue, but I thought let me make a note here. it is still hard coded on line 574 should any of you like to start the PR, let me know and I will help push ;)
    – Llewellyn
    Commented Dec 18, 2021 at 14:17

1 Answer 1

0

"client" property can be defined in the extension tag. For example:

<extension type="module" version="3.5" client="site" method="upgrade">

To install the module in the administrator area:

<extension type="module" version="2.5" client="administrator" method="upgrade">
3
  • I'm not wanting to install a module into the administrator location, I'm trying to install the whole package there.
    – Bathmat
    Commented Aug 11, 2016 at 8:38
  • Not every asset is oriented for site or administrator areas. I think components or plugins can't be installed to a specific client.
    – Anibal
    Commented Aug 11, 2016 at 11:01
  • 2
    Components are installed into admin by default, plugins are always in site. This is a package though, it doesn't make sense that a package consisting solely of admin modules can't be installed into the admin location. It's very easily taken care of by modifying the extensions table in the scriptfile, but being unable to do it in the manifest seems a bit of an omission, especially as all packages are installed into the admin folder.
    – Bathmat
    Commented Aug 11, 2016 at 21:27

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.