Preview site access assigned to users/content section

Author Message

Seb Udontneedtoknow

Monday 13 August 2007 7:06:02 am

The current preview system is based on the Defaultaccess parameter in site.ini
For example if you are working on an admin site access called "site_admin", the default preview site access will be defined by the Defaultaccess parameter set up in site.ini.
eg :
[SiteSettings]
DefaultAccess=admin

If you have multiple siteaccess, and for each site_access a different design, you'll need to have several "back/admin" site access.
We should be able to link a specific preview site access to a specific site content section
If my content belongs to site1, the preview template should be the site1 template.
If my content belongs to site2, the preview template should be the site2 template.
And so on...

It's not good to have preview template linked to site.ini .

<a href="http://issues.ez.no/IssueView.php?Id=11256&ProjectId=3&Anchor=Comment253297>"http://issues.ez.no/IssueView.php?Id=11256&ProjectId=3&Anchor=Comment253297</a>

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 16:18:11
Script start
Timing: Jan 18 2025 16:18:11
Module start 'layout'
Timing: Jan 18 2025 16:18:11
Module start 'content'
Timing: Jan 18 2025 16:18:12
Module end 'content'
Timing: Jan 18 2025 16:18:12
Script end

Main resources:

Total runtime1.1033 sec
Peak memory usage4,096.0000 KB
Database Queries46

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0078 588.0547152.6406
Module start 'layout' 0.00780.0029 740.695339.4766
Module start 'content' 0.01071.0914 780.1719402.3047
Module end 'content' 1.10200.0013 1,182.47668.1250
Script end 1.1033  1,190.6016 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00400.3607160.0002
Check MTime0.00200.1775160.0001
Mysql Total
Database connection0.00230.205210.0023
Mysqli_queries1.056695.7654460.0230
Looping result0.00040.0382440.0000
Template Total1.069196.920.5346
Template load0.00270.245420.0014
Template processing1.066496.654020.5332
Template load and register function0.00010.011010.0001
states
state_id_array0.00130.118910.0013
state_identifier_array0.00170.149820.0008
Override
Cache load0.00230.2090150.0002
Sytem overhead
Fetch class attribute can translate value0.00090.081510.0009
Fetch class attribute name0.00050.049710.0005
XML
Image XML parsing0.00010.012610.0001
class_abstraction
Instantiating content class attribute0.00000.000410.0000
General
dbfile0.00060.0514100.0001
String conversion0.00000.001440.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
1content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
2content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
2content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 7
 Number of unique templates used: 5

Time used to render debug report: 0.0001 secs