[TYPO3] tt_board form and "jump to page"
Martin Rud
typo3 at explizit.dk
Sat Feb 25 10:10:40 CET 2006
Hi list,
I have a site where a very simple forum like tt_board is the best
solution (chc_forum etc. will be overkill). But I need to make the
postform jump to another page than the page it resides on (i.e. a "Your
post has ben sent"-page).
Is that possible? My guess is that it ca be done with TS since the
postform is made with TS (but "postform.redirect = {some pid}" does
_not_ work!):
postform < tt_content.mailform.20
postform.data >
postform.dataArray {
10.label = Subject:
10.type = *data[tt_board][NEW][subject]=input,60
20.label = Message:
20.type = *data[tt_board][NEW][message]=textarea,60
30.label = Name:
30.type = *data[tt_board][NEW][author]=input,40
40.label = Email:
40.type = *data[tt_board][NEW][email]=input,40
50.label = Notify me<BR>by reply:
50.type = data[tt_board][NEW][notify_me]=check
60.type = formtype_db=submit
60.value = Post Reply
}
postform.no_cache=1
postform_newThread < .postform
postform_newThread.dataArray.60.value = Post New Thread
moderatorEmail_newThread = {$plugin.tt_board.moderatorEmail}
moderatorEmail = {$plugin.tt_board.moderatorEmail}
}
Regards,
Martin
More information about the TYPO3-english
mailing list