Hi Gabor,
this is the code of my override file.
Code:
<?php
/**
* @package Joomla.Site
* @subpackage mod_languages
*
* @copyright Copyright (C) 2005 - 2014 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/
defined('_JEXEC') or die;
JHtml::_('stylesheet', 'mod_languages/template.css', array(), true);
?>
<div class="mod-languages<?php echo $moduleclass_sfx ?>">
<ul class="nav pull-right">
<li class="dropdown">
<a class="dropdown-toggle" data-toggle="dropdown" href="#">
<?php foreach ($list as $language) : ?>
<?php if ($language->active):?>
<?php echo JHtml::_('image', 'mod_languages/' . $language->image . '.gif', $language->title_native, array('title' => $language->title_native), true);?>
<?php endif; ?>
<?php endforeach;?>
<!-- <span class="icon-flag3"></span> -->
<span class="caret"></span>
</a>
<ul class="nav-child unstyled small dropdown-menu">
<?php if ($headerText) : ?>
<li class="pretext"><p><?php echo $headerText; ?></p></li>
<?php endif; ?>
<?php foreach ($list as $language) : ?>
<?php if ($params->get('show_active', 0) || !$language->active):?>
<li class="<?php echo $language->active ? 'lang-active' : '';?>" dir="<?php echo JLanguage::getInstance($language->lang_code)->isRTL() ? 'rtl' : 'ltr' ?>">
<a href="<?php echo $language->link;?>">
<?php if ($params->get('image', 1)):?>
<?php echo JHtml::_('image', 'mod_languages/' . $language->image . '.gif', $language->title_native, array('title' => $language->title_native), true);?>
<?php echo $language->title_native; ?>
<?php else : ?>
<?php echo $params->get('full_name', 1) ? $language->title_native : strtoupper($language->sef);?>
<?php endif; ?>
</a>
</li>
<?php endif;?>
<?php endforeach;?>
<?php if ($footerText) : ?>
<li class="posttext"><p><?php echo $footerText; ?></p></li>
<?php endif; ?>
</ul>
</li>
</ul>
</div>
In the module cofiguration I have DISABLED the "Use Dropdown" option. The other options are all set to yes.
At the moment, I'm not sure, whether I have additional CSS applied to the module, ( I don't think so) but you can figure that with the browser console yourself.
Regards,
Aicha