Author
|
Message
|
David Santiso
|
Friday 07 January 2011 1:14:36 pm
Hi, I've add a new class. This class is a form where the users adds content. I want to show in frontpage a list of content that users have added in this form. How I can do? Thanks, David
|
Romeo Antony
|
Saturday 08 January 2011 11:33:26 pm
Hi David, To display the contents in frontpage, you can use either dynamic block of manual block. If you use manual block , you just only need to manually select the nodes from content tree to display in particular block . If you you dynamic block , you can fetch the nodes using an ezflow fetch class with parameters passed to the fetch class. For better understanding. I would suggest you to read through block.ini and zone.ini in ezflow extension. So that you can customize blocks and zones , also it helps to fetch contents from your custom class created. Regards Romeo
|
David Santiso
|
Sunday 09 January 2011 5:31:59 am
Yes, but I want to show the information added with this form. This information doesn't appear as a node. It's like a feedback form.
|
David Santiso
|
Sunday 09 January 2011 5:43:41 am
I put a form on the front-end. Users fill out and send the information and I want to show the information on the home page. If I create an article (for example), the item is saved as a node, then I can select to display it, but the result of this form doesn't create a node.
|
Romeo Antony
|
Sunday 09 January 2011 5:44:10 am
Feel free to post the code . So that can help more.
|
David Santiso
|
Sunday 09 January 2011 8:43:09 am
The code? I haven't even touched code.
|
Peter Keung
|
Sunday 09 January 2011 4:46:49 pm
There is an undocumented fetch function 'content', 'collected_info_list'. It has optional parameters 'object_id', 'creator_id', 'user_identifier', 'limit', 'offset', and 'sort_by'. Also see the documented content fetch functions 'collected_info_collection', 'collected_info_count', and 'collected_info_count_list': http://doc.ez.no/eZ-Publish/Technical-manual/4.x/Reference/Modules/content/Fetch-functions
http://www.mugo.ca
Mugo Web, eZ Partner in Vancouver, Canada
|
David Santiso
|
Tuesday 11 January 2011 10:38:00 am
Ok, but... first I should create a block on the main page. How I can create a block that is not default? Thanks
|