creating same content class in 2 diffrent sites

Author Message

Negin Javadi

Wednesday 06 April 2005 12:44:31 am

hi all
I have a problem,emagin thet I have 2 sites(site1 & site 2)I hvae created a content class(myclass) in site 1 I wanna create an exactly the same content class in site 2 .Is there anyway not to create the class for the 2nd time for example importing it instead?

n_j1981[at]yahoo[dot]com

Eirik Alfstad Johansen

Wednesday 06 April 2005 1:52:36 am

Hi Negin,

Check out the package functionality under the Setup menu. Create a new package containing your class, and them import it into the 2nd site.

Sincerely,

Eirik Alfstad Johansen
http://www.netmaking.no/

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 31 2025 01:16:36
Script start
Timing: Jan 31 2025 01:16:36
Module start 'layout'
Timing: Jan 31 2025 01:16:36
Module start 'content'
Timing: Jan 31 2025 01:16:36
Module end 'content'
Timing: Jan 31 2025 01:16:36
Script end

Main resources:

Total runtime0.0223 sec
Peak memory usage4,096.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0047 588.2656151.2266
Module start 'layout' 0.00470.0031 739.4922220.7188
Module start 'content' 0.00790.0128 960.2109997.8359
Module end 'content' 0.02070.0015 1,958.046929.9922
Script end 0.0222  1,988.0391 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002410.6155140.0002
Check MTime0.00104.4955140.0001
Mysql Total
Database connection0.00073.089510.0007
Mysqli_queries0.00219.508330.0007
Looping result0.00000.045010.0000
Template Total0.00125.210.0012
Template load0.00083.637710.0008
Template processing0.00031.513110.0003
Override
Cache load0.00062.488710.0006
General
dbfile0.00156.898580.0002
String conversion0.00000.027840.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs