Note that there are some explanatory texts on larger screens.

plurals
  1. POJoomla com_user extending similar to com_categories and com_content
    text
    copied!<p>Ok this is just something I feel I should ask as I could not find any reference to this in any kind of documentation, and reading through the actual code to figure out the best way to accomplish this would take far longer then hope to spend.</p> <p>When you enter the Article manager you have a navigation link to the Category manager and vice versa. I would like to do something similar with my component and the default User manager.</p> <p>I already have a profile plugin to extend the users to suit my needs, but I would like the configuration of it seamless so adjusting the com_user component to integrate better with my component is what I am looking for.</p> <p>So my question is with the com_content and com_categories they use the "extension" parameter. Is it possible to add similar functionality without a full core override of the com_users? If I do a full override there is a chance of some extensions not working due to reliance on the users.</p> <p>I am willing to clarify if anything does not make sense, this question is more to see the extent you can "extend" Joomla without overrides.</p> <p>UPDATE:</p> <p>I have found a cool technique, not quite an answer though. You can override just the list controller/model/view in your component, and if you based it off of the current com_users component you can make it look like a direct integration. The only edits you need to do is making sure any routes to the users view instead pass to your component.</p> <p>There is one issue with this however, when you add a new user or edit one, once you finish it will direct you to the main user manager. A system plugin may help with this but only if there is a reliable way to detect when the user was edited through your component, rather then the users manager.</p> <p>Note: The problem with adding an override to the user view is that it has 5-6 other MVC components it relies on, so in the interest of making it easy to update with core com_users updates it is best to avoid that if at all possible.</p> <p>Another thing needed is to make sure to find the language file for com_users and add all entries to your component.</p> <p>I feel there may still be a better answer out there, but doing it this way does not impact the core much, and would be easy to update with updates to com_users.</p> <p>I am opening a bounty on this, I feel of every question I ever asked this is one that will have the most benefit to the community. So here is a condensed version of the question.</p> <p><strong>What would be an easy way to integrate a core component into a custom component and have it route through that component seamlessly with the least edits to the core component.</strong></p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload