Joomla 5 Mitteilung

Wir freuen uns mitteilen zu können, dass seit dem 29. Januar 2024 alle unsere Joomla Erweiterungen mit Joomla 5 kompatible sind.

Für alle die gerade noch von Joomla 3 auf 4 aktualisieren: Anleitungen für die Joomla 4 Migration gibt es hier:

Es gibt nun auch eine eigenständige Dokumentation für Visforms für Joomla 4 und für Visforms auf Joomla 5

Forum

Visforms Subscription Inhaber können in unserem Forum Fragen stellen. Bitte mit dem entsprechenden Benutzer anmelden.
Jeder kann lesend auf das Forum zugreifen.

Bitte stellen Sie nur 1 Frage pro Thema.

Wichtige Angaben für fast jede Frage:
V1: Welche Visforms-Version läuft?
V2: Welche Joomla-Version läuft?
V3: Welche PHP-Version läuft?

Language dropdown

Mehr
10 Jahre 4 Monate her #1429 von Gabor
Language dropdown wurde erstellt von Gabor
Dear Aicha,

This is totally off-topic, but I would like to know how you made the language dropdown.

Gábor :-)

Mehr
10 Jahre 4 Monate her #1430 von Administrator AV
Administrator AV antwortete auf Language dropdown
Dear Gabor,

that is a nice feature, isn't it?

I made an override of the mod_language creating a new layout of the module in my template.
I modified the HTML in that new layout , so that it implements the bootstrap dropdown (and still works as the language switcher is supposed to). There are quite some changes to the code.
So, it's a custom development (as many things on my website, i.e. the dropdown of the top menu) and sadly not possible "out of the box" with Joomla!

Regards,
Aicha

:idea: I recommend you the new and up-to-date documentation for Joomla 5:
docs.joomla-5.visforms.vi-solutions.de/en/docs/
Most of this also applies retrospectively to Joomla 4.
Please only ask 1 question per topic :-).

:idea: Ich empfehle Dir die neue und aktuelle Dokumentation für Joomla 5:
docs.joomla-5.visforms.vi-solutions.de/docs/
Das meiste gilt rückwirkend auch für Joomla 4.
Bitte immer nur 1 Frage pro Thema stellen :-).

Mehr
10 Jahre 4 Monate her #1431 von Gabor
Gabor antwortete auf Language dropdown
Yes, nice, I totally agree with you. And very practical. Much better than the option list.

I did my module override and make a toggle (based on Bootstrap docs), but I can not figure out how to display the active flag inside the toggle. Sorry for my English.
Can you share your code? Or give an advice?

Mehr
10 Jahre 4 Monate her #1432 von Administrator AV
Administrator AV antwortete auf Language dropdown
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

:idea: I recommend you the new and up-to-date documentation for Joomla 5:
docs.joomla-5.visforms.vi-solutions.de/en/docs/
Most of this also applies retrospectively to Joomla 4.
Please only ask 1 question per topic :-).

:idea: Ich empfehle Dir die neue und aktuelle Dokumentation für Joomla 5:
docs.joomla-5.visforms.vi-solutions.de/docs/
Das meiste gilt rückwirkend auch für Joomla 4.
Bitte immer nur 1 Frage pro Thema stellen :-).
Folgende Benutzer bedankten sich: Gabor

Mehr
10 Jahre 4 Monate her #1433 von Gabor
Gabor antwortete auf Language dropdown
Dear Aicha,

Thank you so much! Works out of the box and totally useful. I love this.

Gabor

Mehr
10 Jahre 4 Monate her #1434 von Administrator AV
Administrator AV antwortete auf Language dropdown
You'r welcome!

:idea: I recommend you the new and up-to-date documentation for Joomla 5:
docs.joomla-5.visforms.vi-solutions.de/en/docs/
Most of this also applies retrospectively to Joomla 4.
Please only ask 1 question per topic :-).

:idea: Ich empfehle Dir die neue und aktuelle Dokumentation für Joomla 5:
docs.joomla-5.visforms.vi-solutions.de/docs/
Das meiste gilt rückwirkend auch für Joomla 4.
Bitte immer nur 1 Frage pro Thema stellen :-).

Moderatoren: Administrator AVAdministrator IV
Powered by Kunena Forum