Joomla 5 Notice

We are pleased to announce that as of January 29, 2024, all of our Joomla extensions are compatible with Joomla 5.

For all who are still updateing from Joomla 3 to Joomla 4: Joomla 4 Migration instructions are available here:

There is now a separate Documentation for Visforms for Joomla 4 and for Visforms for Joomla 5!

Forum

Visforms Subscription user can ask questions in our forum. Please log in with the relevant user first.
Everybody can access the forum for reading.

Please only ask 1 question per topic.

Important information for almost every question:
V1: Which Visforms version is running?
V2: Which Joomla version is running?
V3: Which PHP version is running?

visforms combined with extention nonumber modals

More
10 years 2 months ago #853 by IreneLennings
Dear Aicha,

I am using extention nonumber modals.
When I send a form, the message "form successfully sent" (in dutch) appears in the first modal I open after I sent the form.
When I open the modal again the message is gone.
I found the following html code in the colorbox preceding the div with class "item-page":

<div id="system-message-container">
<div id="system-message">
<div class="alert alert-message">
<a class="close" data-dismiss="alert">×</a>
<h4 class="alert-heading">Bericht</h4>
<div>
<p>Het formulier is met succes verzonden</p>
</div></div></div></div>

When I disable the nonumber modals plugin, no alert message appears.
Website: denieuweakker.nl/DNA2014Joomla/

Do you have any ideas on how to display the succes message in a separate modal in stead of in an existing one?
Looking forward to your reply,

Irene

More
10 years 2 months ago #854 by Administrator AV
Replied by Administrator AV on topic visforms combined with extention nonumber modals
Hi Irene,

I just tried the form and I didn't see any message at all. So I think the nonumber modal plugin is still disabled.

Visforms gives you three different options on how to create result "messages".
First you do nothing and the default message is displayed. The code that achives this is quite simple.
It consists of two line
Code:
$msg = JText::sprintf('COM_VISFORMS_FORM_SEND_SUCCESS', 1); $this->setRedirect(JURI::base(), $msg);

Maybe you can ask the developer of the plugin, why the message, create by this code, acts in the way you have described, because I don't know the plugin and I think, it is the plugins doing that causes the behaviour.

Second posibility to create a result "message".
You can use the texteditor "result message" in the form configurations result tab.
If you enter a text in this texteditor, Visforms will not create a message in the way described above, but will display the text just like the text of an article in an separate result page. I think this would prevent the plugin from capturing the message and allow you to just display the information for your users on a normal page.

Third posibility to create a result "message".
You can use the redirect url parameter in the form configurations result tab to redirect to any page (i.e. an article) after successful form submit. This would although prevent the plugin from capturing the "message". If you set a redirect url a text entered in the "result message" text editor will be ignored as well as the default result message.

I hope these informations will allow you to find a solution!

By the way, very nice website. Sadly I do not really understand, what you offer, but the pictures are inviting and the title sounds promising even without kwonledge of the Dutch language.

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 :-).

More
10 years 2 months ago #855 by IreneLennings
Replied by IreneLennings on topic visforms combined with extention nonumber modals
Dear Aicha,

The second possibility (display a message in a new page) works just fine!
It would be nice to be able to display the message in a popup, but there should always remain something to wish for, don't you think :) ?
And it's not al all necessary.

De Nieuwe Akker = Der neue Acker.
It's an association that exploits three "Gemüsegärten" in and round Haarlem (a city near Amsterdam). Every week the members come to one of the gardens to harvest their weekly share of vegetables, fruits and herbs. There are a lot of volunteers and there are also people with a mental disability working in the gardens, guided by a coach/caretaker.

You 're such a great help, please let me know if there's anything I can do for you in return!

Herzliche Grüβen
Irene

More
10 years 2 months ago #858 by Administrator AV
Replied by Administrator AV on topic visforms combined with extention nonumber modals
Hi Irene,

that is an awesome project!
I'm proud, that my extension development supports it!
I wish you the best of luck.

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 :-).

Moderators: Administrator AVAdministrator IV
Powered by Kunena Forum