Can I create an "empty node"?

Author Message

Daniel Cruz

Thursday 15 July 2004 9:43:40 am

eZ People,

Hey all. I'm updating an old site that's going just a little bit dynamic and was wondering if there was an easier way to integrate static pages into eZ Publish than using eZ Sitecopier. I downloaded it today and, to be frank, the Read Me file's a bit beyond me. I was wondering if it's possible to create empty or blank nodes; that way I could use the old static pages as "custom" templates that would be published when the node is called up. Can I create a node that consists of just a "blank" or a space (as in one tap of the space bar key) without a title etc that appears on a webpage?
Short of that is there a simplified install for eZ Sitecopier. I'm operating on Windows XP with the latest eZ Publish package install (3.4 I think). Thanks much.

Cheers,

Daniel Cruz

Alex Jones

Friday 16 July 2004 9:40:07 am

Yes, you can have empty nodes. I have set up a couple of pages on one site that only display the content of their override templates.

Alex

Alex
[ bald_technologist on the IRC channel (irc.freenode.net): #eZpublish ]

<i>When in doubt, clear the cache.</i>

Daniel Cruz

Saturday 17 July 2004 7:32:36 am

Alex,

Ah, that's good to know. I figured it could be a pretty common request, but I haven't figured out how to pull it off. How'd you do it on your site?
Thanks much.

Cheers,

Daniel Cruz

Alex Jones

Tuesday 20 July 2004 8:49:21 am

The steps I use are as follows:

1. Create a copy of pagelayout.tpl with a new name
2. Modify the new pagelayout.tpl so it shows the static content
3. Create a new node (I tend to use folders, but you can use whatever you want) at the location I want the page to appear.
4. Set up an override for that specific node, using the new pagelayout.tpl
5. Reset the caches and navigate to that node to ensure the right template is used.

Does this help?

Alex

Alex
[ bald_technologist on the IRC channel (irc.freenode.net): #eZpublish ]

<i>When in doubt, clear the cache.</i>

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 04:43:42
Script start
Timing: Jan 19 2025 04:43:42
Module start 'layout'
Timing: Jan 19 2025 04:43:42
Module start 'content'
Timing: Jan 19 2025 04:43:43
Module end 'content'
Timing: Jan 19 2025 04:43:43
Script end

Main resources:

Total runtime1.1899 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.0053 589.1563152.6250
Module start 'layout' 0.00530.0024 741.781339.4453
Module start 'content' 0.00771.1801 781.2266546.2344
Module end 'content' 1.18780.0021 1,327.460912.1641
Script end 1.1899  1,339.6250 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00320.2713160.0002
Check MTime0.00140.1138160.0001
Mysql Total
Database connection0.00080.067910.0008
Mysqli_queries1.132195.1432600.0189
Looping result0.00060.0528580.0000
Template Total1.161497.620.5807
Template load0.00220.181320.0011
Template processing1.159297.419020.5796
Template load and register function0.00020.015510.0002
states
state_id_array0.00090.078810.0009
state_identifier_array0.00180.153020.0009
Override
Cache load0.00180.1486280.0001
Sytem overhead
Fetch class attribute can translate value0.00060.052320.0003
Fetch class attribute name0.00100.081850.0002
XML
Image XML parsing0.00060.048220.0003
class_abstraction
Instantiating content class attribute0.00000.001460.0000
General
dbfile0.00100.0820160.0001
String conversion0.00000.000740.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
7content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
3content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
2content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 18
 Number of unique templates used: 6

Time used to render debug report: 0.0002 secs