Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No summery on formdata.md (thankyou page) #14

Closed
fugo opened this issue Apr 17, 2024 · 4 comments
Closed

No summery on formdata.md (thankyou page) #14

fugo opened this issue Apr 17, 2024 · 4 comments
Assignees
Labels
enhancement New feature or request investigating Testing a feature

Comments

@fugo
Copy link

fugo commented Apr 17, 2024

I tried the contact form, but I have some problems.

The summery shows up in the email but not on the thankyou page (formdata.md).
the body: '{% include ''forms/data.html.twig'' %}' code should do this?

I use data manger plugin and can see the form is working.
On the thankyou page is only one sentence:

Here is the summary of what you wrote to us:

Can I translate this? Site runs not in EN.

Thank you

@pmoreno-rodriguez pmoreno-rodriguez self-assigned this Apr 18, 2024
@pmoreno-rodriguez pmoreno-rodriguez added enhancement New feature or request investigating Testing a feature labels Apr 18, 2024
@pmoreno-rodriguez
Copy link
Owner

Hi @fugo.
I've seen this PR in the Form Plugin issues. Maybe it could be related with this behaviour. I will investigate how to fix it.

On the other hand, I'll add the thankyou page to demo content, soon. The Here is the summary of what you wrote to us: sentence is from Form plugin and it is translated in its languages.yaml file, it will displayed in language defined in your system configuration.

@fugo
Copy link
Author

fugo commented Apr 23, 2024

Hi @pmoreno-rodriguez
Sorry, I forget to set the default language, now it's translated.

… I will investigate how to fix it.

Thank you 👍 I use wit another site the *Darkquark theme*, with that it works.

For working with the data from the form I need labels, so I put them in your form.
I like your nice contact page so I use custom.cssto hide te labels:

/* Custom CSS */
label.form-label {
	display: none !important;
}

If anyone need this.

@fugo
Copy link
Author

fugo commented May 5, 2024

I found the way to get this to work.
In contact.md I deleted reset: true. I also activated twig and no cache.

---

        display: /thankyou
        reset: true     <––  I removed this

     process:
        ip:
            label: 'User IP'

title: Kontakt
process:
    markdown: true
    twig: true
cache_enable: false
metadata:

---

I think we can close this issue, 🤔

@fugo fugo closed this as completed May 13, 2024
@pmoreno-rodriguez
Copy link
Owner

Try new release 1.3.1 with demo content

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request investigating Testing a feature
Projects
None yet
Development

No branches or pull requests

2 participants