Template language overrides not working as expected - Joomla! Forum - community, help and support
if not correct location post, please accept apologies , move more appropriate location.
i not sure if bug or if there other explanation.
working in j2.5.6 php5.4.3 apache 2.4.2
i used language overrides in admin panel change:
to
when rendering page, %sitename% not changed site name. however, if add space before %sitename% renders expected.
to line display expected used in override.
this same problem exhibited other variables. also, if use same variable twice in string "%" being first character, replacement text not used other instances of variable.
example:
returns
%date% site name © %date%
while
returns
2012 site name © 2012
i not sure if bug or if there other explanation.
working in j2.5.6 php5.4.3 apache 2.4.2
i used language overrides in admin panel change:
code: select all
mod_footer_line1="copyright © %date% %sitename%. rights reserved."to
code: select all
mod_footer_line1="%sitename% © %date%"when rendering page, %sitename% not changed site name. however, if add space before %sitename% renders expected.
to line display expected used in override.
code: select all
mod_footer_line1=" %sitename% © %date%"this same problem exhibited other variables. also, if use same variable twice in string "%" being first character, replacement text not used other instances of variable.
example:
code: select all
mod_footer_line1="%date% %sitename% © %date%"returns
%date% site name © %date%
while
code: select all
mod_footer_line1=" %date% %sitename% © %date%"returns
2012 site name © 2012
update 2.5.8 , test standard template.working in j2.5.6
Comments
Post a Comment