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.

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

Aufgrund von Feiertagen und Urlaub ist bei Anfragen im Forum in der Zeit vom 20. Dezember 2024 bis zum 8.Januar 2025 mit verlängerten Antwortzeiten zu rechnen.

Logged in users only

Mehr
10 Jahre 3 Monate her - 10 Jahre 3 Monate her #825 von themeindia.org
themeindia.org antwortete auf Logged in users only
Thank you Aicha for the details,

Made the changes. now concerned portion of default.php looks like this ...
Code:
var validator = jQuery(document).ready(function() { jQuery('#visform<?php echo $this->visforms->id; ?>').validate({ submitHandler: function(form) { <?php if (JFactory::getUser()->guest) { ?> alert('Please login in submit the form); <?php } else { ?> form.submit(); <?php } ?> }, wrapper: "p",

But for some unknown reason it appears that there is no change in behavior of submit button. It works just as beofre as if no changes has been made in the code.

Workarounds ...
1. Created a folder html/mod_visforms/ in my root template folder and copied default.php from modules/mod_visforms/tmpl in it. Changed the code as described in your last message.
2. Put the form on test on my live site. When it did not work as intended, additionally, made the following changes...
3. Created a folder html/com_visforms/visforms in my root template folder and copied default.php from components/com_visforms/views/visforms/tmpl in it. Changed the code as described in your last message. It did not work either.

What am I doing wrong here ?

Here is the said form on my site. You can check if you wish.

Thank you again

themeindia.org: A not-for-profit online community.
Letzte Änderung: 10 Jahre 3 Monate her von themeindia.org.

Mehr
10 Jahre 3 Monate her - 10 Jahre 3 Monate her #826 von Administrator AV
Administrator AV antwortete auf Logged in users only
Hi,

you missed a closing ' in the alert. (actually I already missed it in the code I posted here, sorry).
wrong:
Code:
alert('Please login in submit the form);
correct:
Code:
alert('Please login in submit the form');

Regards,
Aicha

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

:idea: Ich empfehle Dir die neue und aktuelle Dokumentation für Joomla 4:
docs.joomla-5.visforms.vi-solutions.de/docs/
Das meiste gilt rückwirkend auch für Joomla 3.
Bitte immer nur 1 Frage pro Thema stellen :-).
Letzte Änderung: 10 Jahre 3 Monate her von Administrator AV.
Folgende Benutzer bedankten sich: themeindia.org

Mehr
10 Jahre 3 Monate her - 10 Jahre 3 Monate her #828 von themeindia.org
themeindia.org antwortete auf Logged in users only
Aicha,

Thank you very much. Now, the form works like a charm. Exactly as we wanted at the moment.

We have a faint hope that you will make this an optional feature in next version of VisForm along with other features such as Dynamic Dropdown List. Just can't think of allowing users to upload files without being logged in.

We, all the members of themeindia.org appreciate your help and time. You and your extension have helped us enriching our website. Your forum support is more than a paid service.

God bless
themeindia.org community.

themeindia.org: A not-for-profit online community.
Letzte Änderung: 10 Jahre 3 Monate her von themeindia.org.

Mehr
10 Jahre 3 Monate her #829 von Administrator AV
Administrator AV antwortete auf Logged in users only
Hi,

thank you so much for these encouraging words!

I think that the Dynamic Dropdown List will become part of Visforms, there is only the question about when.

About the submit buttons that only works for logged in users (or at least the way it is implemented now) I'm not that sure but even if it does not become a core feature of Visforms the structure will remain the same and it is very easy to copy the default.php (that comes with an update) into the template again and add the changes you've made. I think figuring out the solution was the more difficult task.

And maybe I can device a solution that allow to create such features more generically (so that other people can adapt the process to there requirements as well).

Kind Regards,
Aicha

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

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

Mehr
10 Jahre 3 Monate her #839 von themeindia.org
themeindia.org antwortete auf Logged in users only

And maybe I can device a solution that allow to create such features more generically (so that other people can adapt the process to there requirements as well).


That's a wonderful idea. Thank you.

themeindia.org: A not-for-profit online community.

Moderatoren: Administrator AVAdministrator IV
Powered by Kunena Forum