Different Admin for different siteaccess?

Author Message

Neeraj Poudyal

Monday 03 April 2006 1:35:24 am

Hi,

Is it possible to have different admin sections for different sites (siteaccesses) hosted under single installation of eZ?

Thanks

Bertrand Dunogier

Monday 03 April 2006 2:19:26 am

Sure. I need more infos for an accurate answer, but you can add as many copies / variations of the default admin siteaccess and use it for a specific site... it's just about roles & policies.

Bertrand Dunogier
eZ Systems Engineering, Lyon
http://twitter.com/bdunogier
http://gplus.to/BertrandDunogier

Neeraj Poudyal

Monday 03 April 2006 4:24:01 am

Hi here's my problem.
I made a site site1 , site1_admim(working site) and site2, site2_admin(empty site).

When I open site2_admin it shows the contents of site1.
This should not happen, site2 content structure tab should only show the contents of site 2.
I don't understand why this is happenning.

If anyone has made multiple admins for each siteaccess could you please respond?

Thanks

Pascal France

Monday 03 April 2006 10:17:44 am

Hi Neeraj,

Did you create a database for each site ?

I did a multisites doc, but it's a french doc. Maybe it can help you:
http://www.linuxorable.net/Multisites-I.html

Regards

Pascal

Ce qui embellit le désert c'est qu'il cache un puits... quelque part... (A. de Saint-Exupéry) - http://luxpopuli.fr/eZ-Publish

Bertrand Dunogier

Tuesday 04 April 2006 4:19:46 am

Pascal, very nice article ! Did you have it referenced on ez.no ? Even if it's in french, we're interested in every article written by community members !

Neeraj, eZ publish needs to know what to do with the different sites... a few settings allow you to say that admin X shows content starting from node X, while admin Y shows content starting from node Y.

But as Pascal says, it may be interesting to use different databases... so it depends on your exact goal. Why do you want multiple sites on one instance ? You don't want to install eZ publish several times ? Or the sites have to share pieces of content ? If that's the case, you can't use multiple databases.

We're back at the same point : give us more details on your goals ;)

Bertrand Dunogier
eZ Systems Engineering, Lyon
http://twitter.com/bdunogier
http://gplus.to/BertrandDunogier

Pascal France

Tuesday 04 April 2006 9:00:52 am

Hi Bertrand,

No, I didn't anything to reference my articles on ez.no

I have anoter site which is only about ez publish
http://www.linuxorable.nt/ez_publish

French users can find there some french translation of the official 3.6 technical doc.

This is my email @:
pascal@linuxorable.net

If you want to contact me, in french it will be easier.

Regards

Pascal

Ce qui embellit le désert c'est qu'il cache un puits... quelque part... (A. de Saint-Exupéry) - http://luxpopuli.fr/eZ-Publish

Neeraj Poudyal

Wednesday 05 April 2006 12:46:59 am

Thanks for the reply.
I found the solution moments after I wrote about the problem, it was because of the database and its fixed now.

In the mean while I have another problem. I'm using hivelocity server, I want all the domain names to point to the same index.php . How do I do that since I don't think I have access to <virtualhost> of apache?

I can't read French but anyways thanks again.

Neeraj Poudyal

Wednesday 05 April 2006 12:51:11 am

Bertrand,

I thought it would be better perfomance wise to install a single instance of ez publish.
You are ez crew and if someone had earlier pointed out that installing different versions of ez publish for different sites, I wouldn't have taken the trouble of learning so much about multiple sites. Thanks for your reply I think I might take your suggestion i.e. many ez publish for multiple sites.

Neeraj

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

eZ debug

Timing: Jan 18 2025 19:36:57
Script start
Timing: Jan 18 2025 19:36:57
Module start 'layout'
Timing: Jan 18 2025 19:36:57
Module start 'content'
Timing: Jan 18 2025 19:36:58
Module end 'content'
Timing: Jan 18 2025 19:36:58
Script end

Main resources:

Total runtime1.2408 sec
Peak memory usage4,096.0000 KB
Database Queries74

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0070 589.2031152.6406
Module start 'layout' 0.00700.0032 741.843839.4766
Module start 'content' 0.01021.2286 781.3203630.9844
Module end 'content' 1.23890.0019 1,412.304716.1250
Script end 1.2408  1,428.4297 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00350.2848160.0002
Check MTime0.00140.1106160.0001
Mysql Total
Database connection0.00180.144610.0018
Mysqli_queries1.162493.6777740.0157
Looping result0.00100.0770720.0000
Template Total1.208497.420.6042
Template load0.00220.178320.0011
Template processing1.206297.211120.6031
Template load and register function0.00020.019510.0002
states
state_id_array0.00080.064210.0008
state_identifier_array0.00140.110220.0007
Override
Cache load0.00200.1573510.0000
Sytem overhead
Fetch class attribute can translate value0.00060.051130.0002
Fetch class attribute name0.00200.164090.0002
XML
Image XML parsing0.00100.076630.0003
class_abstraction
Instantiating content class attribute0.00000.0021100.0000
General
dbfile0.00090.0746160.0001
String conversion0.00000.000740.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
8content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
13content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
2content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
7content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 32
 Number of unique templates used: 6

Time used to render debug report: 0.0002 secs