includes with different siteaccess

Author Message

Nicolas Heiringhoff

Friday 04 March 2005 2:17:43 am

hello everybody,

for optimization of our development process of our site, we made two siteaccess: one for the actual site whitch is online and another for development:

this looks like this:
design/mysite
and
design/dev (for development)

after we have tested the modifications of the templates in "dev" we move them to "mysite".

The problem is the inclusion of templates:

{include uri="design/mysite/templates/headlines.tpl"}

works fine, but in the "dev" this should be

{include uri="design/dev/templates/headlines.tpl"}

So a better way is to include the template of the current design, without "design/mysite/" or "design/dev", but I do not know how. I guess I have to use some kind of operator like |ezurl or |design, to get the current design.

http://www.heiringhoff.de

Ɓukasz Serwatka

Friday 04 March 2005 2:31:09 am

Hi Nicolas,

This should help.

{include uri="design:headlines.tpl"}

Personal website -> http://serwatka.net
Blog (about eZ Publish) -> http://serwatka.net/blog

Nicolas Heiringhoff

Friday 04 March 2005 3:29:27 am

works perfect, thank you!

Nico

http://www.heiringhoff.de

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.