Subdomain per section of the content tree?

Subdomain per section of the content tree?

Monday 27 October 2008 4:44:22 am - 3 replies

Author Message

Andrew Duck

Monday 27 October 2008 6:01:31 am

Hi Carlos,

From memory I don't believe ezurl() takes into account the SiteURL setting within the [SiteSettings] block in site.ini. If this is infact the case then the domain name would be based on HTTP_HOST which is an environment variable defined by Apache.

To work around this you would have to customise your menu template and conditionally change those URLs for specific subtrees.

Andrew Duck, Executive Director, Quiqcorp Limited
eZ Certified Developer and Trainer.
Member of the Community Project Board
http://quiqcorp.com | http://twitter.com/andrewduck

Andrew Duck

Monday 27 October 2008 6:04:36 am

http://ez.no/doc/ez_publish/technical_manual/4_0/reference/template_operators/urls/ezurl

Gaetano mentions this in a comment on the ezurl documentation page. :)

Andrew Duck, Executive Director, Quiqcorp Limited
eZ Certified Developer and Trainer.
Member of the Community Project Board
http://quiqcorp.com | http://twitter.com/andrewduck

Carlos Revillo

Monday 27 October 2008 6:10:54 am

I see. And i also have read the comment from Gaetano.

Then we'll need to hack main menu template for this.

Thank you again!

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.