Forums / Setup & design / how to use sections?

how to use sections?

Author Message

Luis FLores

Monday 27 December 2004 10:04:45 am

Hi,

I am new to eZpublish, I justs installed 3.5 without problems. I will like to know how to use Sections, is it possible to use sections to separate different sites?

I will like to have two sites on the same instalation, possible each one wih a different root folder. Should I use sections? or any other way?

Thanks

Valenti salas

Friday 31 December 2004 2:43:55 am

Hi,

As I know, sections are used to separate the content in diferent conceptual areas and then apply some rules (for example templates) to all the objects in a section . I your templates you can check the section of the node or the nodes that you recive in a fetch function and do some with the information. Sections are a way to organize your content in diferent areas with nodes that have to be similar.

To use diferent sites on the same installation you have to search in documentation by 'siteaccess'. Normally you have to create one siteaccess for any site you have to do. I think that is posible to specify a diferent root folder location using de config files (maybe the site.ini.append of each siteaccess).

Valenti.

eZ debug

Timing: Jan 31 2025 06:16:31
Script start
Timing: Jan 31 2025 06:16:31
Module start 'content'
Timing: Jan 31 2025 06:16:31
Module end 'content'
Timing: Jan 31 2025 06:16:31
Script end

Main resources:

Total runtime0.0224 sec
Peak memory usage2,048.0000 KB
Database Queries4

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0057 587.9063180.8438
Module start 'content' 0.00570.0056 768.750093.6328
Module end 'content' 0.01130.0110 862.382870.7031
Script end 0.0223  933.0859 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00219.4463120.0002
Check MTime0.00104.3617120.0001
Mysql Total
Database connection0.00083.546110.0008
Mysqli_queries0.003113.853940.0008
Looping result0.00000.053320.0000
Template Total0.010748.010.0107
Template load0.00083.358510.0008
Template processing0.010044.665410.0100
Override
Cache load0.00052.142010.0005
General
dbfile0.006528.9030100.0006
String conversion0.00000.021330.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/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