How do I...Vary the layouts?

How do I...Vary the layouts?

Tuesday 14 October 2003 3:31:13 am - 2 replies

Author Message

Karsten Jennissen

Tuesday 14 October 2003 5:10:45 am

You are correct, you use the override.ini to define which template is used.

See http://ez.no/developer/ez_publish_3/documentation/customization/custom_design/override_templates

What did you do to customize the pagelayout.tpl? Did you start with copying the /design/demo folder to /design/yourdesign, set up the /settings/siteaccess/yoursite/site.ini.append to point to /design/yourdesign, etc.?

If you did all that, then /settings/siteaccess/yoursite/override.ini.append is what you edit to match the pages with templates.

Karsten

Luc Chase

Tuesday 14 October 2003 8:21:52 am

Okay, thanks for the link to the appropriate bit of documentation. I'm working through it now.

I know NOW that I should have done a new design directory and created my template for my new site there but I didn't. I used the corporate design files and just edited them (extensively) until I arrived at where I am now.

A few more questions...
What is the difference between the overides.ini and the overides.ini.append? Is it generally correct to edit the .ini.append rather than the .ini whenever possible? Does the .ini.append list extra 'exceptions' to the .ini ?

I created a folder within a folder and then added a product, but in user mode, although the site displays the product it also invites the user to create a custom template for the product ( I think it is using the 'last-resort' standard-design template because 'corporate' does not use products ) ; I've tried to configure a template from the bookshop design but still I get the 'Default object view. Click to create a custom template' prompt... do I still need to edit an overide.ini and/or overide.ini.append file to get it (Class ID: 8) to use my new product template?

Finally, what is the variable I need to reference to get the 'owner id' of the individual product instance? I want to send an e-mail to notify the original 'owner/editor' of the original (or current) version of the product whenever it is ordered. i.e. If there are two different products in the basket of an order, I'll need to send two different e-mails to the two people (suppliers) who entered the products into the system.

The Web Application Service Provider

You must be logged in to post messages in this topic!

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