Forums / Setup & design / Can I create an "empty node"?

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>

eZ debug

Timing: Jan 19 2025 01:12:28
Script start
Timing: Jan 19 2025 01:12:28
Module start 'content'
Timing: Jan 19 2025 01:12:28
Module end 'content'
Timing: Jan 19 2025 01:12:28
Script end

Main resources:

Total runtime0.6945 sec
Peak memory usage4,096.0000 KB
Database Queries197

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0063 588.9531180.8359
Module start 'content' 0.00640.5563 769.7891551.3125
Module end 'content' 0.56260.1318 1,321.1016336.7813
Script end 0.6944  1,657.8828 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00410.5837210.0002
Check MTime0.00150.2111210.0001
Mysql Total
Database connection0.00090.126710.0009
Mysqli_queries0.623789.81481970.0032
Looping result0.00200.29481950.0000
Template Total0.667996.220.3340
Template load0.00220.313720.0011
Template processing0.665795.860820.3329
Template load and register function0.00020.033010.0002
states
state_id_array0.00090.124010.0009
state_identifier_array0.00070.099020.0003
Override
Cache load0.00170.2433280.0001
Sytem overhead
Fetch class attribute can translate value0.00190.279530.0006
Fetch class attribute name0.00110.153550.0002
XML
Image XML parsing0.00090.124130.0003
class_abstraction
Instantiating content class attribute0.00000.002560.0000
General
dbfile0.00350.5032270.0001
String conversion0.00000.003730.0000
Note: percentages do not add up to 100% because some accumulators overlap

CSS/JS files loaded with "ezjscPacker" during request:

CacheTypePacklevelSourceFiles
CSS0extension/community/design/community/stylesheets/ext/jquery.autocomplete.css
extension/community_design/design/suncana/stylesheets/scrollbars.css
extension/community_design/design/suncana/stylesheets/tabs.css
extension/community_design/design/suncana/stylesheets/roadmap.css
extension/community_design/design/suncana/stylesheets/content.css
extension/community_design/design/suncana/stylesheets/star-rating.css
extension/community_design/design/suncana/stylesheets/syntax_and_custom_tags.css
extension/community_design/design/suncana/stylesheets/buttons.css
extension/community_design/design/suncana/stylesheets/tweetbox.css
extension/community_design/design/suncana/stylesheets/jquery.fancybox-1.3.4.css
extension/bcsmoothgallery/design/standard/stylesheets/magnific-popup.css
extension/sevenx/design/simple/stylesheets/star_rating.css
extension/sevenx/design/simple/stylesheets/libs/fontawesome/css/all.min.css
extension/sevenx/design/simple/stylesheets/main.v02.css
extension/sevenx/design/simple/stylesheets/main.v02.res.css
JS0extension/ezjscore/design/standard/lib/yui/3.17.2/build/yui/yui-min.js
extension/ezjscore/design/standard/javascript/jquery-3.7.0.min.js
extension/community_design/design/suncana/javascript/jquery.ui.core.min.js
extension/community_design/design/suncana/javascript/jquery.ui.widget.min.js
extension/community_design/design/suncana/javascript/jquery.easing.1.3.js
extension/community_design/design/suncana/javascript/jquery.ui.tabs.js
extension/community_design/design/suncana/javascript/jquery.hoverIntent.min.js
extension/community_design/design/suncana/javascript/jquery.popmenu.js
extension/community_design/design/suncana/javascript/jScrollPane.js
extension/community_design/design/suncana/javascript/jquery.mousewheel.js
extension/community_design/design/suncana/javascript/jquery.cycle.all.js
extension/sevenx/design/simple/javascript/jquery.scrollTo.js
extension/community_design/design/suncana/javascript/jquery.cookie.js
extension/community_design/design/suncana/javascript/ezstarrating_jquery.js
extension/community_design/design/suncana/javascript/jquery.initboxes.js
extension/community_design/design/suncana/javascript/app.js
extension/community_design/design/suncana/javascript/twitterwidget.js
extension/community_design/design/suncana/javascript/community.js
extension/community_design/design/suncana/javascript/roadmap.js
extension/community_design/design/suncana/javascript/ez.js
extension/community_design/design/suncana/javascript/ezshareevents.js
extension/sevenx/design/simple/javascript/main.js

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
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 18
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs