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.

Better Separation between Fields in Email

Mehr
10 Jahre 7 Monate her - 10 Jahre 7 Monate her #534 von Josh
Right now it feels a bit cluttered in a email form, it would be nice if either an addition br tag could insert between each field or if CSS could be used to better separate the fields.

Here is a sample of it feeling cluttered:
"Do you rent or own your home? : Rent
How long have you lived there? : 12 Years
Do you have a fenced yard? : Semi, in the backyard but not the front
Type and height of fence? : Wood, 7 Feet High"

It would be much nicer to have it say:

"Do you rent or own your home? : Rent

How long have you lived there? : 12 Years

Do you have a fenced yard? : Semi, in the backyard but not the front

Type and height of fence? : Wood, 7 Feet High"

It would be really cool if the format could be exactly like how it displays on the site! :cheer: It looks very professional on the site in terms of readability and use of space.
Letzte Änderung: 10 Jahre 7 Monate her von Josh.

Mehr
10 Jahre 7 Monate her #535 von Administrator AV
Administrator AV antwortete auf Better Separation between Fields in Email
Hi Josh,

thanks for your suggestions. I think you are right and I will add a topic to my to-do-list about making e-mail layout more flexible and controllable by form settings. I think it is quite realistic that this feature will be implemented in the next release of Visforms for I think it is not so much work. (But it can still take some weeks before a release a new version).

For now you can just change the code itself

The e-mails are generated in components/com_visforms/model/visform.php somewhere about line 770

You would have to change the

"<br />\n"

in

$mailBody = $mailBody.$field->label . " : " . $fieldValue . "<br />\n";

into something like

"<br /><br />\n\n"

I didn't test it but I think it will work.

You will find that line two time (for the result mail and the recipient mail.)

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 :-).
Folgende Benutzer bedankten sich: Josh

Mehr
10 Jahre 7 Monate her #536 von Josh
Thank you very much for putting this into consideration! :cheer: If I could put in CSS and wrap the email in a div container (so that it has a unique selector) that would be really cool. Right now I'm not very skilled with PHP, but could figure out the mod you send. :)

Mehr
10 Jahre 7 Monate her #539 von Administrator AV
Administrator AV antwortete auf Better Separation between Fields in Email
Hi Josh,

because it is possible to turn HTML in email view off, this is much more complex. I would have to find a solution that works with all email client setting nicely and would allow you to configure the css as well...

So, if I get a good idea how to implement this smoothly I will consider it but at the moment it looks to me, as if that would be much more work

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

Moderatoren: Administrator AVAdministrator IV
Powered by Kunena Forum