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.