Showing objects on several different folders/pages

Author Message

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 option
http://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

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

eZ debug

Timing: Jan 18 2025 15:57:13
Script start
Timing: Jan 18 2025 15:57:13
Module start 'layout'
Timing: Jan 18 2025 15:57:13
Module start 'content'
Timing: Jan 18 2025 15:57:13
Module end 'content'
Timing: Jan 18 2025 15:57:13
Script end

Main resources:

Total runtime0.0123 sec
Peak memory usage4,096.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0043 589.1797152.6406
Module start 'layout' 0.00430.0025 741.820339.4922
Module start 'content' 0.00680.0037 781.312589.3672
Module end 'content' 0.01050.0018 870.679734.3047
Script end 0.0123  904.9844 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002319.0090140.0002
Check MTime0.00118.7931140.0001
Mysql Total
Database connection0.00054.454710.0005
Mysqli_queries0.002218.026230.0007
Looping result0.00000.081410.0000
Template Total0.001512.310.0015
Template load0.00086.546310.0008
Template processing0.00075.724410.0007
Override
Cache load0.00064.764910.0006
General
dbfile0.00021.787380.0000
String conversion0.00000.058240.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs