2

Is there any way to do this natively yet (ie. without using a plugin)? I'm hoping there's native support similar to the way the old MVC Override plugin allowed class overrides using a /code folder in the templates directory (much like how template HTML overrides currently work). All the documentation on it is fairly out of date so I figured it's worth asking, but I'm sure I'm out of luck.

All I want to do is swap out a few items on the quickicons module and I need to override its helper class to do so - writing a system plugin or having to make a custom version of the module seems a touch overkill.

4
  • Please check this links: 1- community.joomla.org/blogs/community/… 2- docs.joomla.org/… Aug 10, 2016 at 19:05
  • That second link is what I meant by out of date documentation. As I thought, the answer is still no. Cheers anyway.
    – Bathmat
    Aug 10, 2016 at 19:39
  • Answer is "no". And also I believe this a bad idea. I mean override is great. Override code with template is bad simply because template should be last execution point and any thing, for example component can change current template on fly.
    – Alexandr
    Jan 8, 2017 at 16:19
  • 1
    I can see why it's a bad idea, and definitely shouldn't be used by anyone actually publishing templates for public use, so I can get why it's not implemented. It's still a bit of an inconvenience when you control everything going on from top to bottom and just want to very slightly change a module's behaviour though.
    – Bathmat
    Jan 8, 2017 at 17:03

2 Answers 2

1

There is no core MVC override support.

At the doc you say is outdated https://docs.joomla.org/How_to_override_the_component_mvc_from_the_Joomla!_core there is a link to a working plugin MVC override (well, mine one).

1
  • I believe this is the usual way to go about it. Another option if you want to change quick icons you could just copy it, rename it and develop it as you like and then reinstall it.
    – Eoin
    Feb 3, 2018 at 15:57
0

You can download my custom quick icon module and create your own links. JoomIcon

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.