Attempting to set up ezpublish 3.1

Author Message

Willie Seabrook

Tuesday 05 August 2003 11:20:40 pm

Hi,

I've been playing around with ezpublish 3.1 demo site for about a day.

Firstly, are there any tutorials? I can't find any straight-through tutorials in the docs/ directory nor on the site (all the documentation is a bit fragmented for me). Searched the net too but I can't find a complete tutorial for version 3. Only fragmented documentation peices.

With the demo site i've noticed that the folder /Root/News/Frontpage (content id is 24) is the default page for the site (in /demo/siteaccess/site.ini.append) so I understand that.

But how does it have a custom template? I would like to create a new folder and give it a custom template but I can't figure out how to do it. override.ini.append seems like it might be the file to edit but I just can't tell.

Regards,
Willie

Bjørn Kaarstein

Wednesday 06 August 2003 12:05:08 am

In site.ini, or site.ini.append.php you have a setting called
[TemplateSettings]

Set Debug=enabled, and refresh the demosite. Now you'll see which templates is used for displaying the different parts of the demosite.

If you want to add your own design, just make a copy of the "user" folder (found under "design") and call it whatever you want. In your site.ini.append.php, set DefaultAccess=mydesign.

In addition, create a siteaccess and state what designfolder you'll be using. You're right about override.ini. This file tells the system which template file to use when. You can read about it here: http://www.ez.no/developer/ez_publish_3/documentation/customization/custom_design/override_templates

Also take a look here http://ezwiki.blanko.info for plenty of useful info.

Good luck!

Regards Bjørn

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