This site has been archived and you can no longer log in or post new messages. For up-to-date community resources please visit ezplatform.com

eZ Community » Forums » Developer » the result of the feedback form add...
expandshrink

the result of the feedback form add to FAQ page. is it possible?

the result of the feedback form add to FAQ page. is it possible?

Tuesday 25 September 2012 6:58:24 pm - 2 replies

Hi ,

Is it possible that the questions which is asked in feedback-form they go directly to FAQ page?

Wednesday 26 September 2012 7:43:59 pm

You can fetch the submitted questions easily enough:

http://doc.ez.no/eZ-Publish/Technical-manual/4.x/Reference/Modules/content/Fetch-functions/collected_info_collection

...but answering the questions and adding that text in the right place on the faq page might be a problem.

I have a feeling you might also want to have an approval workflow in here somewhere too, which I don't think you can do with information collection.

A better bet might be to have a faq_question class and have the submit question form create a new object of this class.

Friday 28 September 2012 11:04:32 am

Thans David , this code was for a specific comment , so i used this code and now i have all the information:

 

{def $res=fetch('content','collected_info_list',
                   hash( 'object_id', 61,
                         'sort_by',  array( 'created', false() ) ) ) )}

 

thanks again

expandshrink

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

36 542 Users on board!

Forums menu

Proudly Developed with from