Viewing 2 posts - 1 through 2 (of 2 total)
-
AuthorPosts
-
AHMED Friend
AHMED
- Join date:
- August 2013
- Posts:
- 119
- Downloads:
- 377
- Uploads:
- 34
- Thanks:
- 20
- Thanked:
- 2 times in 1 posts
October 23, 2016 at 11:23 pm #979484Hello,
I need to change the two flag images from gif to png extension.
/media/mod_languages/images/en.gif
/media/mod_languages/images/ar.gifRegards.
Ninja Lead ModeratorNinja Lead
- Join date:
- November 2014
- Posts:
- 16064
- Downloads:
- 310
- Uploads:
- 2864
- Thanks:
- 341
- Thanked:
- 3854 times in 3563 posts
October 24, 2016 at 12:49 am #979498Hi,
You can use this way to change the image on mod_languages module
- Create and upload the new image en. png and ar.png to /media/mod_languages/images/ folder
- Open modules/mod_languages/tmpl/default.php file
find and change
<?php echo JHtml::_('image', 'mod_languages/' . $language->image . '.gif', $language->title_native, array('title' => $language->title_native), true);?>
to
<?php echo JHtml::_('image', 'mod_languages/' . $language->image . '.png', $language->title_native, array('title' => $language->title_native), true);?>
Hope it helps
Regards
AuthorPostsViewing 2 posts - 1 through 2 (of 2 total)This topic contains 1 reply, has 2 voices, and was last updated by Ninja Lead 8 years, 2 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum