Forums / Install & configuration / Different Admin for different siteaccess?

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

eZ debug

Timing: Jan 18 2025 16:10:17
Script start
Timing: Jan 18 2025 16:10:17
Module start 'content'
Timing: Jan 18 2025 16:10:18
Module end 'content'
Timing: Jan 18 2025 16:10:18
Script end

Main resources:

Total runtime1.0127 sec
Peak memory usage4,096.0000 KB
Database Queries211

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0050 588.9844180.8047
Module start 'content' 0.00500.9079 769.7891636.0781
Module end 'content' 0.91290.0998 1,405.8672341.0469
Script end 1.0126  1,746.9141 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00390.3896210.0002
Check MTime0.00150.1458210.0001
Mysql Total
Database connection0.00060.057710.0006
Mysqli_queries0.941892.99632110.0045
Looping result0.00160.16142090.0000
Template Total0.988297.620.4941
Template load0.00210.207920.0011
Template processing0.986197.370620.4930
Template load and register function0.00020.022310.0002
states
state_id_array0.00100.094810.0010
state_identifier_array0.00070.071220.0004
Override
Cache load0.00190.1866510.0000
Sytem overhead
Fetch class attribute can translate value0.00090.085340.0002
Fetch class attribute name0.00090.088290.0001
XML
Image XML parsing0.00090.090540.0002
class_abstraction
Instantiating content class attribute0.00000.0017100.0000
General
dbfile0.00250.2439270.0001
String conversion0.00000.000630.0000
Note: percentages do not add up to 100% because some accumulators overlap

CSS/JS files loaded with "ezjscPacker" during request:

CacheTypePacklevelSourceFiles
CSS0extension/community/design/community/stylesheets/ext/jquery.autocomplete.css
extension/community_design/design/suncana/stylesheets/scrollbars.css
extension/community_design/design/suncana/stylesheets/tabs.css
extension/community_design/design/suncana/stylesheets/roadmap.css
extension/community_design/design/suncana/stylesheets/content.css
extension/community_design/design/suncana/stylesheets/star-rating.css
extension/community_design/design/suncana/stylesheets/syntax_and_custom_tags.css
extension/community_design/design/suncana/stylesheets/buttons.css
extension/community_design/design/suncana/stylesheets/tweetbox.css
extension/community_design/design/suncana/stylesheets/jquery.fancybox-1.3.4.css
extension/bcsmoothgallery/design/standard/stylesheets/magnific-popup.css
extension/sevenx/design/simple/stylesheets/star_rating.css
extension/sevenx/design/simple/stylesheets/libs/fontawesome/css/all.min.css
extension/sevenx/design/simple/stylesheets/main.v02.css
extension/sevenx/design/simple/stylesheets/main.v02.res.css
JS0extension/ezjscore/design/standard/lib/yui/3.17.2/build/yui/yui-min.js
extension/ezjscore/design/standard/javascript/jquery-3.7.0.min.js
extension/community_design/design/suncana/javascript/jquery.ui.core.min.js
extension/community_design/design/suncana/javascript/jquery.ui.widget.min.js
extension/community_design/design/suncana/javascript/jquery.easing.1.3.js
extension/community_design/design/suncana/javascript/jquery.ui.tabs.js
extension/community_design/design/suncana/javascript/jquery.hoverIntent.min.js
extension/community_design/design/suncana/javascript/jquery.popmenu.js
extension/community_design/design/suncana/javascript/jScrollPane.js
extension/community_design/design/suncana/javascript/jquery.mousewheel.js
extension/community_design/design/suncana/javascript/jquery.cycle.all.js
extension/sevenx/design/simple/javascript/jquery.scrollTo.js
extension/community_design/design/suncana/javascript/jquery.cookie.js
extension/community_design/design/suncana/javascript/ezstarrating_jquery.js
extension/community_design/design/suncana/javascript/jquery.initboxes.js
extension/community_design/design/suncana/javascript/app.js
extension/community_design/design/suncana/javascript/twitterwidget.js
extension/community_design/design/suncana/javascript/community.js
extension/community_design/design/suncana/javascript/roadmap.js
extension/community_design/design/suncana/javascript/ez.js
extension/community_design/design/suncana/javascript/ezshareevents.js
extension/sevenx/design/simple/javascript/main.js

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
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 32
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs