Forum head post in a separate node

Author Message

Ionel GARDAIS

Saturday 18 March 2006 2:49:24 am

Hi,

I would like to setup the following : a forum where each new topic will be visible on both forum and as an article in a "news" folder node.
The "news" folder will display the head post and a click on "Post a comment" will redirect to the forum, creating a simple forum reply.
Of course, the forum replies won't be published to the "news" folder.

Is it possible to do this with EzPublish ?

Thanks,
1010

Ɓukasz Serwatka

Sunday 19 March 2006 11:45:18 pm

Ionel, you can add SetPlacementNodeIDArray[] to forum topic edit template. After publish eZ publish will add new location under News folder. Main topic will be publish under forum topic with additional location under News folder. In line view for news section for forum topic template you need to point to main_node of forum topic.
Look in to design/standard/templates/content/edit_placement.tpl for code example.

Personal website -> http://serwatka.net
Blog (about eZ Publish) -> http://serwatka.net/blog

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.