Forums / Setup & design / Can I create an "empty node"?
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,
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>
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.
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.tpl5. Reset the caches and navigate to that node to ensure the right template is used.
Does this help?