Are plugin overrides supported in Joomla 1.6?

This board for support questions on Joomla 1.6 RC (= Release Candidate - which should NOT be used on a production server) is NO longer active because Joomla 1.6.0 has been released.

>> For Joomla! 1.6 Support Questions, please use http://forum.joomla.org/viewforum.php?f=614 instead <<
Locked
bongobongo
Joomla! Explorer
Joomla! Explorer
Posts: 349
Joined: Mon Dec 15, 2008 11:10 am

Are plugin overrides supported in Joomla 1.6?

Post by bongobongo » Fri Aug 06, 2010 5:01 pm

Hi

Are plugin overrides supported in Joomla 1.6?

Plugin overrides in 1.5 was discussed here:
http://forum.joomla.org/viewtopic.php?p ... 5#p1605175

It would be very nice if possible to do this to override e.g. languagefilter:

copy files from:
plugins/system/languagefilter/...files...

to:
templates/your-template/plugins/system/languagefilter/...files...

and if the files did exist in your template folder... then joomla should use those instead of the ones in plugins directory....

The reason I'm asking is that I want to create a modified languagefilter that automatically detect the client's preferred languages as defined in the browsers (for first time visitors to a multilingual site), in order to pick present the best match site language to the visitor.
And I would like to be able to make these modifications without having to worry about the file getting "destroyed" on next upgrade of Joomla.

If plugin overrides is not supported, then what would the best approach be to do what I want, so I do not have to worry about loosing the changes after an upgrade?

deleted user

Re: Are plugin overrides supported in Joomla 1.6?

Post by deleted user » Fri Aug 06, 2010 5:41 pm

They should be supported. Component and Module overrides are supported (and used in the Hathor admin template).

bongobongo
Joomla! Explorer
Joomla! Explorer
Posts: 349
Joined: Mon Dec 15, 2008 11:10 am

Re: Are plugin overrides supported in Joomla 1.6?

Post by bongobongo » Fri Aug 06, 2010 7:31 pm

I have now tried the following (without success though):

I created the following:

/templates/my-template-name/html/plugins/system/languagefilter/languagefilter.php

in the php file above I output a string (echo) in top of this function:

public function __construct(&$subject, $config)

Result: No output

Do I have to use another syntax (paths) or is plugin overrides not supported?


Locked

Return to “Joomla! 1.6 RC Support [closed]”