Different images to replace flag on frontend only - Joomla! Forum - community, help and support


hi all. have created multilingual site , enabled language switcher module working great.

what i'd replace standard flag images new images match site design. problem is, when i've tried this, effects images within admin messes the menu's in admin.

does know of solution this?

thanks in advance.

create folder called myimages in media/mod_languages/
put there .gif correct lang prefix.

then add override in template/html/mod_languages/ folder copying there
the file modules/mod_languages/tmpl/default.php

edit file , replace line 34:

code: select all

<?php echo jhtml::_('image', 'mod_languages/'.$language->image.'.gif', $language->title_native, array('title'=>$language->title_native), true);?>

by like

code: select all

<?php echo jhtml::_('image', 'mod_languages/myimages/'.$language->image.'.gif', $language->title_native, array('title'=>$language->title_native), true);?>





Comments

Popular posts from this blog

How to change text Component easybook reloaded *newbee* - Joomla! Forum - community, help and support

After Effect warning: A problem occurred when processing OpenGL commands

Preconditions Failed. - Joomla! Forum - community, help and support