Forums / Setup & design / eZ2 -> eZ3

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

eZ debug

Timing: Jan 18 2025 10:54:32
Script start
Timing: Jan 18 2025 10:54:32
Module start 'content'
Timing: Jan 18 2025 10:54:34
Module end 'content'
Timing: Jan 18 2025 10:54:34
Script end

Main resources:

Total runtime1.9276 sec
Peak memory usage4,096.0000 KB
Database Queries199

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0081 588.9609180.8594
Module start 'content' 0.00811.7731 769.8203536.6094
Module end 'content' 1.78120.1463 1,306.4297334.1406
Script end 1.9275  1,640.5703 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00480.2509210.0002
Check MTime0.00170.0877210.0001
Mysql Total
Database connection0.00180.092310.0018
Mysqli_queries1.846095.76821990.0093
Looping result0.00230.12111970.0000
Template Total1.887797.920.9439
Template load0.00250.127820.0012
Template processing1.885297.803720.9426
Template load and register function0.00020.012210.0002
states
state_id_array0.00100.049610.0010
state_identifier_array0.00330.169920.0016
Override
Cache load0.00220.1129470.0000
Sytem overhead
Fetch class attribute can translate value0.00140.072940.0004
Fetch class attribute name0.00190.099340.0005
XML
Image XML parsing0.00060.032740.0002
class_abstraction
Instantiating content class attribute0.00000.000640.0000
General
dbfile0.00510.2664210.0002
String conversion0.00000.000230.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
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
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 35
 Number of unique templates used: 5

Time used to render debug report: 0.0002 secs