eZ2 -> eZ3

Author Message

enigmista enigmista

Wednesday 16 July 2003 2:42:30 am

Hi all. I am evalutating eZ3 for the first time and i have encountered some problems... eZ3 is totally different respect to eZ2. I have istalled on my local machine eZ3 installer for win 2k. The installation works fine, but i am working for changing the site layout. I have read http://ez.no/sdk/tutorials/view/main_concepts/ tutorial, but when i must setup site.ini as:

[SiteAccessSettings]
MatchOrder=host
HostMatchRegexp=^(.+)\.mybookstore\.com$
HostMatchSubtextPost=\.mybookstore\.com

i have difficulties. In localhost there is not www.domain.com...

I have done a design "mydesign" and i have configured settings/siteaccess/midesign/site.ini.append in this way:

[SiteSettings]
IndexPage=/content/view/full/2
LoginPage=embedded

[SiteAccessSettings]
RequireUserLogin=false

[SiteAccessRules]
Rules[]
Rules[]=Access;enable
Rules[]=ModuleAll;true
Rules[]=Access;disable
Rules[]=Module;sdk

[DesignSettings]
SiteDesign=mydesign

and in design/mydesign/templates/pagelayout.tpl there is my design. I can display it only if i do http://localhost/mydesign, but i want that is appear in http://localhost.
Another problem i have with class template. I have done a class book as the tutorial say, but it display class with default template... any help for me? Tnx

Karsten Jennissen

Wednesday 16 July 2003 2:54:02 am

Hi,

normally, you can leave the default configuration regarding SiteAccess as the URI method works for all installation types. If you need to tweak, I would suggest you use the host map or uri map method.

See here:
http://ez.no/developer/ez_publish_3/documentation/installation_and_configuration/configuration/site_access

You can change the default view via DefaultAccess in your site.ini as described here:
http://ez.no/developer/ez_publish_3/documentation/installation_and_configuration/troubleshooting/user_site_instead_of_admin_site

The tutorial you used probably referred to 3.0 style overrides. If you are using 3.1, you need to create an override.ini as desribed here:
http://ez.no/developer/ez_publish_3/documentation/customization/custom_design/override_templates

Karsten

enigmista enigmista

Wednesday 16 July 2003 3:07:23 am

DefaultAccess=mydesign It works :)
but i have "Default object view. Click to create a custom template"

I have created class in My site directory but if i don't login i cant' see it why?

i am reading http://ez.no/developer/ez_publish_3/documentation/customization/custom_design/override_templates for templates ;)
TNX

Jerry Jalava

Wednesday 16 July 2003 4:00:13 am

Hi,

You have to set role policies for users...
Reading this should help: http://www.ez.no/developer/ez_publish_3/documentation/customization/troubleshooting/new_content_class_not_shown_on_user_site

Regards,
Jerry

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 31 2025 01:28:47
Script start
Timing: Jan 31 2025 01:28:47
Module start 'layout'
Timing: Jan 31 2025 01:28:47
Module start 'content'
Timing: Jan 31 2025 01:28:47
Module end 'content'
Timing: Jan 31 2025 01:28:47
Script end

Main resources:

Total runtime0.7213 sec
Peak memory usage8,192.0000 KB
Database Queries62

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0042 588.0000151.1953
Module start 'layout' 0.00430.0031 739.1953220.6406
Module start 'content' 0.00730.7131 959.83594,270.4141
Module end 'content' 0.72050.0008 5,230.250011.8906
Script end 0.7213  5,242.1406 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00340.4777160.0002
Check MTime0.00140.1984160.0001
Mysql Total
Database connection0.00080.107510.0008
Mysqli_queries0.640988.8451620.0103
Looping result0.00050.0731600.0000
Template Total0.682394.620.3411
Template load0.00160.226020.0008
Template processing0.680694.361320.3403
Template load and register function0.00160.221310.0016
states
state_id_array0.00070.092110.0007
state_identifier_array0.00080.104120.0004
Override
Cache load0.00140.1966470.0000
Sytem overhead
Fetch class attribute can translate value0.00180.250430.0006
Fetch class attribute name0.00210.289140.0005
XML
Image XML parsing0.00050.064130.0002
class_abstraction
Instantiating content class attribute0.00000.001240.0000
General
dbfile0.00070.0953100.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
16content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
13content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 35
 Number of unique templates used: 5

Time used to render debug report: 0.0001 secs