[TYPO3] wfqbe insert subrecord
Pascal Cramer
pascal at NOSPAMroguesheep.nl
Sun Aug 3 16:30:56 CEST 2008
Hi list,
I am using wfqbe for fe 'management'of a small database.
A very powerfull extension but there's one thing I just don't seem to get working.
I have two main tables: 'issues' and 'notes' in which the 'notes' table has a
reference to the 'issue' table.
In the FE two main views (pages): 'issue list' and 'issue details'.
The second pages contains 2 DB queries: one to display the details of the
selected 'issue' and one to list all related 'notes'.
So far, so good.
Now I want to let the FEuser create a new 'notes' record (preferably on the same
page) in which the 'issue' field needs to be filled with the selected issue
(from the qs: &tx_wfqbe_pi1[uid]=3)
Does anybody how can this be done, I cannot find anything in the manual but I am
sure it should be possible somehow.
If I place a new insert query on the page, the first two queries fail beacuse
the issue-id is not provided anymore. even if I put it in the 'Redirect
parameters': '&tx_wfqbe_pi1[uid]=###WFQBE_UID###\'
---
Query failed (uid=2)
Query failed (uid=3)
---
On a further note: how do you wfqbe-users, fill the pid without resorting to
hardcoding?
Thanks for your thoughts on this one,
Pascal
More information about the TYPO3-english
mailing list