I'm using Joomla 1.5.26 with Joom!Fish 2.1.7.
Does any Joom!Fish and/or joomla guru know if it is possible to do a call to JRoute::_()
so that it is not intercepted and translated by Joom!Fish ?
If so, please explain. Thanks !
Side note:
What I'm trying to achieve is to make Joom!Fish use the language that I tell it to use rather than the one that site is currently displayed in. I need it to build a specific URl, which is the reason for the JRoute::_()
call. If you have a more general solution I would appreciate that as well.
JFRouter
class (plugins/system/jfrouter.php
). I haven't deeply hacked it, but if your're in luck (and have a debugger), you can step through it and find the setting that it uses in order to determine the language. If this setting is changeable, you can then cache and change the value prior to theJRoute::_
call and restore it afterwards. – Bibliophagejfrouter
plugin) and since I do not have the time to analyze the code myself, I can suggest that you try and break execution in this plugin (using a debugger) and figure out which parameter determines the language. Then, if this parameter is writable, you can change it prior to translation. – Bibliophageindex.php?option=com_foobar
becomesindex.php?option=com_foobar&customparameter=hellyes
? – Geek