Forums / Setup & design / How to link section to siteaccess???

How to link section to siteaccess???

Author Message

Jens Tiedemann

Tuesday 26 September 2006 12:33:56 pm

Hi, we are a company with an international headquarter - and several local country organizations.

So, we're evaluating eZ Publish to see, if we can build a site with one "International" - and several "country" siteaccess's. Most of the content will be from the "International" site - but when users enter through one of the "country" siteaccess's, they should see the added local content.

Creation of local content, as well as administration of local users, will be done locally in the individual countries.

We think we can use "sections" as the "governing" method to implement the above - using individual sections for both local content - and local user groups. And then give admin rights to select "country administrators" in the countries - with a sector restriction in the roleassigment - in order to let the do the administration of local content and local users.

But we have two challengers we've not been able to solve:

1. How do we "open up" for the local section for an anonymous visitor entering through the country site access - while still also showing the "international" section content??

2. How can a country administrator add local content to the "international" section - but only flagged as being in the "contry" section (which is the only section the country admin can add content in)

Can anybody help?

Best regards

Jens Tiedemann

Tony Wood

Tuesday 26 September 2006 1:40:43 pm

Hi Jens,

First, you made the right choice in looking at eZ.

For your issue. The first thing we do in these types of sites is to create folder locations for each country. You can then set the index and default nodes for each siteaccess to the top folder for each location.

The issue with security rights, that should be a case of adding additional locations for content. You can then use subtree security in the roles and permissions to handle the access.

Does this answer your question?

Tony

Tony Wood : twitter.com/tonywood
Vision with Technology
Experts in eZ Publish consulting & development

Power to the Editor!

Free eZ Training : http://www.VisionWT.com/training
eZ Future Podcast : http://www.VisionWT.com/eZ-Future

Jens Tiedemann

Wednesday 27 September 2006 11:05:07 am

Thanks Tony - We played around following your lead today, and have now set up the following folder structure:

Main
International
Products
Partners
Support
US
Products (add location from International)
Partners (add location from International)
Support (add location from International)
Local US
XX...... (more country folders)

Then defined the siteaccess folders and site.ini.append.php in siteaccess folders - and updated the override site.ini.append.php to include the new siteaccess's.

A couple of questions remain though:

1. How do we point the country siteaccess's to the country folders. Right now, you always end up in the "Main" folder going in through the country siteaccess's (ex: xxx/us)? So how/where do you set the index/default node for a siteaccess (right now we're running on localhost - so no external url resolution)

2. We can add the international subfolders to the country main folders by using ”add location”. But how do we set priorities in the country folders? (the priorities button is not enabled in the sub items view)?

3. How do we hide the (empty) Main node, so users can't go there (for example by using the breadcrums)?

It looks promising - but we need to fix those issues to move on. So any help appreciated!

Thanks

Jens

Jens Tiedemann

Wednesday 27 September 2006 11:07:09 am

structure did not format correctly above... it's not flat, but as follows:

Main
-----International
----------Products
----------Partners
----------Support
-----US
----------Products (add location from International)
----------Partners (add location from International)
----------Support (add location from International)
----------Local US
-----XX...... (more country folders)

Tony Wood

Wednesday 27 September 2006 11:22:43 am

1. How do we point the country siteaccess's to the country folders. Right now, you always end up in the "Main" folder going in through the country siteaccess's (ex: xxx/us)? So how/where do you set the index/default node for a siteaccess (right now we're running on localhost - so no external url resolution)

[tony] Use the ini setting
http://ez.no/doc/ez_publish/technical_manual/3_8/reference/configuration_files/site_ini/sitesettings/indexpage

2. We can add the international subfolders to the country main folders by using �add location�. But how do we set priorities in the country folders? (the priorities button is not enabled in the sub items view)?
The priorites should be set. You can set prioirty on any folder or article as long as it is a container.

3. How do we hide the (empty) Main node, so users can't go there (for example by using the breadcrums)?
See
http://ez.no/doc/ez_publish/technical_manual/3_8/reference/configuration_files/site_ini/sitesettings/indexpage
for the index page. You can ensure only the pages you want are seen.

Tony

Tony Wood : twitter.com/tonywood
Vision with Technology
Experts in eZ Publish consulting & development

Power to the Editor!

Free eZ Training : http://www.VisionWT.com/training
eZ Future Podcast : http://www.VisionWT.com/eZ-Future