Forums / Setup & design / includes with different siteaccess

"Please Note:
  • At the specific request of Ibexa we are changing this projects name to "Exponential" or "Exponential (CMS)" effective as of August, 11th 2025.
  • This project is not associated with the original eZ Publish software or its original developer, eZ Systems or Ibexa".

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