Bug #39476
Linking back to a previous page on the confirmation page
| Status: | Rejected | Start date: | 2012-08-02 | |
|---|---|---|---|---|
| Priority: | Should have | Due date: | ||
| Assignee: | Alex Kellner | % Done: | 0% |
|
| Category: | - | |||
| Target version: | 2.x | |||
| Votes: | 0 |
Description
I want to create a link on the confirmation page, that links back to a previous page.
To do this, I created 2 hidden fields in my powermail form: backto (the page ID) and backtotext (the text for the link).
When adding the following into the RTE:
{f:link.page(pageUid:'{backto}')}
You get an empty link. It is impossible to set a text for this link like this. The correct inline notation to provide a body for a viewhelper would be:
{backtotext -> f:link.page(pageUid:'{backto}')}
But that doesn't work, because the -> is escaped (as Flexform data is stored in XML itself) and, thus, this construct is never fully evaluated.
I understand that this isn't really a bug, but it sure feels wrong :P
History
Updated by Alex Kellner 10 months ago
- Status changed from New to Rejected
- Assignee set to Alex Kellner
- Target version set to 2.x
That is correct - I think fluid was never created to be stored in the database.
I see this possibilities:
I see this possibilities:
- Creating links with the RTE
- Add the viewhelper to the html-file
- Create your own viewhelper, that don't uses < or >