Tuesday 26 January 2010 2:51:01 am
Hei!, Not knowing whether you actually managed to solve the issue, here are a few hints that might help. First, in collect.ini, the following configuration directives allow for controlling the information collection's system behaviour right after data was collected :
[DisplaySettings]
# result - Display IC result, for instance poll result or your form data
# redirect - Redirect to a specific url
# node - Redirect back to content node
Display=result
# Matches class id or identifier to information collection type
DisplayList[]
#DisplayList[poll]=result
DisplayAttribute=collection_display
# The url to redirect to if DisplayHandling is set to redirect
RedirectURL=/
# Matches class id or identifier to information collection type
RedirectURLList[]
RedirectURLAttribute=collection_redirect However, i am not sure this blocks the '/collectedinfo/1301' page from being viewed. The latter may contain sensitive data, and/or should not be hit without having submitted the data collection form, this potentially damaging the collected data's relevancy (this seems to be your case, am i wrong ?). One solution (not the cleanest one but can't think of another right now) could be to push some logic in the result template ( content/collectedinfo/form.tpl or the one you defined in collect.ini [InfoSettings] . TypeList ), like testing whether the page was reached after a form submission, or if the current user already has voted for this collection, etc..
Hope it helps, Cheers,
--
Nicolas Pastorino
Director Community - eZ
Member of the Community Project Board
eZ Publish Community on twitter: http://twitter.com/ezcommunity
t : http://twitter.com/jeanvoye
G+ : http://plus.tl/jeanvoye
|