Panneau N0C 04 EN 250 250
Get 15% discount on our partner PlanetHoster with the code PHA-ceikay

Contact form '{fieldslist}'

More
6 years 5 months ago #56778 by Kleszewski
Hi

"but if you use the textarea in the form options, where you must load '{fieldslist}' , you can wrap arround any html code and do what you want"

How the '{fieldslist}' field works. Please give an example.
I did something like that.
Code:
<table width="50%"> <tr> <td bgcolor="#009966">Witaj dostałeś wiadomość :) </td> </tr> <tr> <td bgcolor="#009966">Od: {name}</td> </tr> <tr> <td bgcolor="#009966">Email: {E-mail}</td> </tr> <tr> <td bgcolor="#009966">Temat: {Subject}</td> </tr> <tr> <td bgcolor="#009966">Wiadomość: {message}</td> </tr> <tr> <td bgcolor="#009966">&nbsp;</td> </tr> </table>
And I received a message with two views. In the first position, the table but instead of the message only the names {fieldslist}
And below the message without styling
What did I do wrong?

Please Log in or Create an account to join the conversation.

More
6 years 5 months ago #56783 by ced1870
Replied by ced1870 on topic Contact form '{fieldslist}'
Hi
the tags {name} and others that you are using do not work. Only the tag {fieldslist} is working
The problem is that you can add many custom fields in your form and for now the ability to get the individual fields in your message is not implemented

You can use something like
[code]<div style="...">{fieldslist}</div>[code]

I add this on my (long ?) list to check how I can do that to use individual tags
CEd

Joomlack Webmaster and Developer
The following user(s) said Thank You: Kleszewski

Please Log in or Create an account to join the conversation.

More
6 years 5 months ago #56785 by Kleszewski
Hi
thank you for your explanation.It is a pity, because I got used to another situation in the components "contact" I enter the name of the field in brackets {} and it returns the result. Very useful

But this html result, which I receive by email, is formatted somewhere :). Could I find out what file this is happening in?

Please Log in or Create an account to join the conversation.

More
6 years 5 months ago #56786 by ced1870
Replied by ced1870 on topic Contact form '{fieldslist}'
the html is coded directly in the PHP file (helper) in the plugin "pagebuilderck" >> "contact2"
I understand your request. For information, this addon was not designed to replace existing form extensions, it was just designed to allow a fast and easy way to create a contact form.

As said, this is added to my list, I will check in a near future how I can improve that

Joomlack Webmaster and Developer

Please Log in or Create an account to join the conversation.

More
6 years 5 months ago - 6 years 5 months ago #56787 by Kleszewski
I understand you perfectly. Everything works great, it's a great addition. But I want to get only one simple effect. I want to change the appearance of the information received from the contact form. Nothing more. :) . Best regards and have a nice day ;)
Last edit: 6 years 5 months ago by Kleszewski.

Please Log in or Create an account to join the conversation.

More
6 years 5 months ago #56789 by ced1870
Replied by ced1870 on topic Contact form '{fieldslist}'
you can try to add a <style> tag and use the CSS selector to style the form. It will be added in the code of the email and this shall work

Joomlack Webmaster and Developer

Please Log in or Create an account to join the conversation.

Time to create page: 0.192 seconds

Fast and powerful creation, customizable and responsive.

Read More

We have 1263 guests and one member online