Include article in another article

Author Message

drekka mr

Sunday 08 January 2006 9:49:55 am

Hi there.

I've got some articles which I will refere to as article #x as for now...

Is it possible to include article #1 inside article #2? With that I mean that I want the content of article #1 to appear in article #2.

I did not find any information about this in the documentation...

Thx for any reply: )

Paul Borgermans

Sunday 08 January 2006 10:08:27 am

Yes you can,

Take a look at the embed xml tag, you need to use the view='full'

hth

--paul

eZ Publish, eZ Find, Solr expert consulting and training
http://twitter.com/paulborgermans

drekka mr

Sunday 08 January 2006 10:18:28 am

Thank you, that solved my problem!

drekka mr

Sunday 08 January 2006 12:16:23 pm

quoted from the doc:
<i>The "view" parameter makes it possible to specify the view that should be used when the object is rendered (for example "full", "line", etc.).</i>

view='full' displays all information about the article, but I do not want the 'related objects' and 'current version' information to be showed. What value should I then give the view parameter?

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 19 2025 01:10:52
Script start
Timing: Jan 19 2025 01:10:52
Module start 'layout'
Timing: Jan 19 2025 01:10:52
Module start 'content'
Timing: Jan 19 2025 01:10:53
Module end 'content'
Timing: Jan 19 2025 01:10:53
Script end

Main resources:

Total runtime0.5812 sec
Peak memory usage4,096.0000 KB
Database Queries60

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0049 589.1563152.6250
Module start 'layout' 0.00490.0030 741.781339.4453
Module start 'content' 0.00790.5717 781.2266540.0859
Module end 'content' 0.57960.0015 1,321.312512.1563
Script end 0.5811  1,333.4688 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00340.5815160.0002
Check MTime0.00140.2406160.0001
Mysql Total
Database connection0.00070.117410.0007
Mysqli_queries0.531691.4637600.0089
Looping result0.00080.1406580.0000
Template Total0.550694.720.2753
Template load0.00230.392020.0011
Template processing0.548394.343820.2742
Template load and register function0.00010.021010.0001
states
state_id_array0.00070.124410.0007
state_identifier_array0.00120.199520.0006
Override
Cache load0.00190.3336200.0001
Sytem overhead
Fetch class attribute can translate value0.00130.215620.0006
Fetch class attribute name0.00100.165050.0002
XML
Image XML parsing0.00050.090120.0003
class_abstraction
Instantiating content class attribute0.00000.001450.0000
General
dbfile0.00200.3428170.0001
String conversion0.00000.001440.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
4content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
4content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 12
 Number of unique templates used: 6

Time used to render debug report: 0.0002 secs