Multiple sites in ezPublish 4 with ezflow

Author Message

Maarten Holland

Wednesday 12 December 2007 3:36:24 am

Hi all,

I installed ezP 4.0 with ezflow and copied the 'frontpage' class to a 'site' class.

I've created one content object based on the new class beneath node 2 ('Home'). Is that correct or should I replace 'Home' with my new content object?

The node id for the new Site content object I've created is '202' and the URL alias is 'jinzora'.

I changed /settings/siteaccess/ezflow_site_user/site.ini.append.php:

[SiteSettings]
IndexPage=/content/view/full/202/
RootNodeDepth=2

[SiteAccessSettings]
PathPrefix=jinzora

I've found 'RootNodeDepth' in /settings/override/site.ini.append.php as well, and removed it there. I could not find 'IndexPage' or 'PathPrefix' in one of the existing ini overrides. I did not alter the other siteaccesses at this time.

Then, I've cleared the cache with:

php bin/php/ezcache.php --clear-all --purge

After I've cleared my browsers cache and visited the frontpage, my top menu (now flat top) looks good. It shows the frontpages I've created in the 'jinzora' content object.

When I go one level deeper, things get weird: I get a double top menu. The first line is empty, the second one shows the contents from the 'jinzora' content object, while these should be in the first line. The second line should show the contents that are one level deeper instead.

When I go down another level, the first line shows the contents from 'jinzora' again but the second line stays empty.

I'm guessing there is something wrong with RootNodeDepth or something, but I can't figure out what.

I've read other people succeeded in doing this and I'd love to as well!

Hope anyone can help me out.

Thank you very much,

Maarten

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 19 2025 06:28:49
Script start
Timing: Jan 19 2025 06:28:49
Module start 'layout'
Timing: Jan 19 2025 06:28:49
Module start 'content'
Timing: Jan 19 2025 06:28:50
Module end 'content'
Timing: Jan 19 2025 06:28:50
Script end

Main resources:

Total runtime1.1986 sec
Peak memory usage4,096.0000 KB
Database Queries46

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0056 590.5234152.6406
Module start 'layout' 0.00560.0024 743.164139.4766
Module start 'content' 0.00801.1891 782.6406408.5313
Module end 'content' 1.19710.0015 1,191.17198.1250
Script end 1.1986  1,199.2969 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00320.2646160.0002
Check MTime0.00120.1024160.0001
Mysql Total
Database connection0.00090.076810.0009
Mysqli_queries1.151296.0438460.0250
Looping result0.00050.0403440.0000
Template Total1.160796.820.5803
Template load0.00190.157120.0009
Template processing1.158896.672720.5794
Template load and register function0.00020.019710.0002
states
state_id_array0.00160.130110.0016
state_identifier_array0.00140.114820.0007
Override
Cache load0.00150.1260240.0001
Sytem overhead
Fetch class attribute can translate value0.00090.071910.0009
Fetch class attribute name0.00080.067710.0008
XML
Image XML parsing0.00020.013810.0002
class_abstraction
Instantiating content class attribute0.00000.000410.0000
General
dbfile0.00060.0496100.0001
String conversion0.00000.000440.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
1content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
3content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
2content/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: 8
 Number of unique templates used: 5

Time used to render debug report: 0.0001 secs