Share » Forums » Developer » Information regarding collect.ini?

Information regarding collect.ini?

Information regarding collect.ini?

Friday 30 April 2004 2:34:40 am - 5 replies

Modified on Thursday 09 September 2004 12:00:29 am by Paul Forsyth

Author Message

Bruce Morrison

Wednesday 08 September 2004 8:42:26 pm

Hmmm still no real info on this.

Anyone got some pointers, specifically on the values in [DisplaySettings]
and if they are all implemeneded

[InfoSettings]
TypeList[feedback_form]=feedback_form

[DisplaySettings]
DisplayList[feedback_form]=redirect
RedirectURLList[feedback_form]=/thanks

I'm assuming that the above show redirect to "/thanks" after the form has been submitted - but it doesn't seem to work :(

Any hints before I dive in to the code?

TIA
Bruce

My Blog: http://www.stuffandcontent.com/
Follow me on twitter: http://twitter.com/brucemorrison
Consolidated eZ Publish Feed : http://friendfeed.com/rooms/ez-publish

Bruce Morrison

Wednesday 08 September 2004 9:57:18 pm

Well the above does work as long as

[CollectionSettings]
CollectAnonymousData=enabled

It was disabled because I'm tring to stop the infocollector from storing the collected information in the ezinfocollection & ezinfocollection_attribute tables and just send an email.

Looking at the code this does not seem possible.

Anyone know when or how information in these tables is cleaned out?

Cheers
Bruce

My Blog: http://www.stuffandcontent.com/
Follow me on twitter: http://twitter.com/brucemorrison
Consolidated eZ Publish Feed : http://friendfeed.com/rooms/ez-publish

Paul Forsyth

Thursday 09 September 2004 12:03:12 am

Not heard a thing. Though documentation is meant to be forked 'shortly'. What this means in practise is anyones guess since its over a month since Ole announced this and i've not seen anything different in the docs section:

http://ez.no/community/news/community_newsletter_23_07_2004

paul

Ole Morten Halvorsen

Thursday 09 September 2004 2:05:39 am

Paul,

We have planned to work on the documentation during the 3.5 release cycle. We will not have time to do everything we would like to do in this cycle, but I assume work on the documentation will continue on to the next cycle as well.

Ole M.

Senior Software Engineer - Vision with Technology

http://www.visionwt.com
http://www.omh.cc
http://www.twitter.com/omh

eZ Certified Developer
http://ez.no/certification/verify/358441
http://ez.no/certification/verify/272578

Charles-Edouard Coste

Tuesday 10 March 2009 7:53:55 am

It seems that you also need to add :

[InfoSettings]
TypeList[feedback_form]=feedback_form

If you don't... the information collector module doesn't consider feedback_form class as a information collector and will ignore directives like RedirectURLList[feedback_form], DisplayList[feedback_form], and so on...

Actually, it seems that it can be usefull if you change the name of the class but doesn't want to change all directives, for instance you can have :

[DisplaySettings]
DisplayList[feedback]=redirect
RedirectURLList[feedback]=/thanks

[CollectionSettings]
CollectAnonymousDataList[feedback]=enabled
CollectionUserDataList[feedback]=unique

[EmailSettings]
SendEmailList[feedback]=enabled

[InfoSettings]
TypeList[feedback_form]=feedback

If you want to change feedback_form to feedback_message, you just have change the last line :

...
TypeList[feedback_message]=feedback
...

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu