Specific Content with Specific Site Design: Round 2

Specific Content with Specific Site Design: Round 2

Friday 19 September 2003 5:40:58 pm - 3 replies

Author Message

Bård Farstad

Monday 22 September 2003 7:46:30 am

Currently this is "not supported" however it's quite possible to do. Normally you should only have one admin with ContentObject locale=eng-GB (or whatever is the main/default translation). Objects created on this admin site will then be visible on all translated sites.

If you then create one admin interface for each site with ConentObjectLocate=nor-NO (your current locale), you will be able to create objects which only are visible in that language.

This works, but it's actually a mis-configuration and not an intended feature. Mabye we can just call it a new feature? ;)

Hope this helps,

--bård

Documentation: http://ez.no/doc

RW Wood

Monday 22 September 2003 8:49:57 am

Bård,

Thanks for your reply, however the language issue for me is not the issue :) What is the issue, is the inability to have, for example, articles related to Argentina show up **only** with the Argentina site design. In version 2, I accomplished this by giving each country its own section, site design, and category. That of course mandated maintaining a pagelayout template for each country.

I was hoping that with the override system, I could get away from separate templates for each site design and only have small pieces to maintain individually.

Isn't there any way to direct ezP to use a specific site.ini.append based on which folder or article is selected?

RW Wood

Monday 22 September 2003 7:37:58 pm

I figured a work around to the problem described in the URL above: replace the folder specific sections with a hard coded url that's then put in an included file. Assign a section to each folder and use an site wide override template for each section that's different. Since fortunately there were only two includes needed for each site design, it wasn't much work.

Hope this helps someone else figure out this problem.
RWW

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.