Forums / Developer / Showing objects on several different folders/pages
Roger Schmidt
Wednesday 06 September 2006 3:49:04 pm
Hi all
Is it possible to show any object in any folder, independent in which folder the object has been created?
Because in the admin interface you can just add objects within a specific folder.
On my website the created objects should be shown on several different pages. I am not sure now, if each page has to be linked to a specific folder, but the menu structure - and therefore pages - are following the folder structure.
And within a template I have only seen source code showing how to get children of current folder, but not from a different folder.
Regards,Roger
Samuel Sauder
Thursday 07 September 2006 6:12:01 am
If you want an object to show in more than one place, use the location optionhttp://ez.no/doc/ez_publish/user_manual/3_8/daily_tasks/publishing_at_multiple_locations
If you are in a template, you can show any object by first fetching the node_id you want. Although the more you learn about ezpublish you may change your mind as to how to structure your node tree.
Norman Leutner
Thursday 07 September 2006 7:44:50 am
Take a look at the template fetch functions within the documentation under http://ez.no/doc/ez_publish/technical_manual/3_8/reference/modules/content/fetch_functions/list
for further information.
Mit freundlichen Grüßen Best regards Norman Leutner ____________________________________________________________ eZ Publish Platinum Partner - http://www.all2e.com http://ez.no/partners/worldwide_partners/all2e_gmbh