I have a Joomla 2.5 multilingual website (ua,ru,en).
I want to change a function, which is responsible for article output. This function should trim content (db column introtext
table _content
) by tags <ua>/<ru>/<en>
and output only that part of article, which is enclosed in tags <en></en>
for english, <ua></ua>
for ukrainian, <ru></ru>
for russian. So:
Result articles should look like:
<ua>bla blah</ua><ru>ololo lorem ipsum</ru><en>hello world!</en>
Then function should check $_SERVER['REQUEST_URI']
and put language in $lang
variable.
After that function should delete all code from introtext
column except that is enclosed in <$lang></$lang>
tags.
Can you help me to find where function of article output is?