Duplication of content in different locations.

Author Message

Vidyut Luther

Wednesday 06 September 2006 12:19:05 pm

Is it possible to Add the same location to multiple objects ? I have a node with a folder, that has 146 sub-items. When I specify the Folder has an additional location, I only see the folder, but not the sub items of the folder in the new location. I can manually do this, but I was wondering/hoping there is a better way.

I am using 3.8.2

Norman Leutner

Friday 08 September 2006 12:20:17 pm

Hi,
usually you can fetch the tree from a different node within the template.

The only way I know is to run a automated script which duplicates the object and publishes them under a different node.

Mit freundlichen Grüßen
Best regards

Norman Leutner

____________________________________________________________
eZ Publish Platinum Partner - http://www.all2e.com
http://ez.no/partners/worldwide_partners/all2e_gmbh

Lars Bratli

Friday 22 September 2006 6:07:34 am

in full/folder.tpl

{if eq($node.node_id,$node.main_node_id)}

{* Fetch from $node.node_id *}

{else}

{* Fetch from $node.main_node_id*}

{/if}

edit:
or just fetch from $node.main_node_id :P

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