inspiredminds / contao-fieldset-duplication

Contao extension to allow the duplication of form fieldsets in the front end by the user for additional input fields.
GNU Lesser General Public License v3.0
13 stars 6 forks source link

Notification Center tokens #5

Open johannes-bittner opened 4 years ago

johannes-bittner commented 4 years ago

I'm a bit confused how to use this - shouldn't it be with hashes =>

form_{NAME}{format}

e.g.

form_{Ansprechpartner}{meinformatname}

In any case, I only get no token / content input - where do I go wrong?

fritzmg commented 4 years ago

There was a formatting error in the README, it should be ##form_{NAME}_{FORMAT}## :)

johannes-bittner commented 4 years ago

Thanks for clarification ... is there a way to suppress the output of the token title, e.g.

Ansprechpartner_meinformat

And can I output the information on a confirmation page via ##post_something## ?

fritzmg commented 4 years ago

And can I output the information on a confirmation page via ##post_something## ?

Have you tried the {{post::*}} insert tag?

johannes-bittner commented 4 years ago

And can I output the information on a confirmation page via ##post_something## ?

Have you tried the {{post::*}} insert tag?

Well, that only works for the first entry, e.g.

{{post::firstname_contact}} => Hans

But I think there's no way to target the dynamically created entries ...?

fritzmg commented 4 years ago

Hm, yeah, I think that would be a new feature.