layout and UseAccessPass problem

Author Message

Marko Žmak

Thursday 03 July 2008 6:05:36 am

I run into this problem...

I would like to open some pages in "popup" layout, but I want the links in these pages (generated with ezurl) to point back to URLs in default layout. The sollution that I came accross is to set UseAccessPass=false in settings for the "popup" layout.

But then if I try to open the edit page for a newly created node in the "popup" pagelayout (using content/action), the edit page is opened in the default layout.

Is there a way to have links (generated with ezurl) pointing to the default layout, but redirection in content/action to work with the "popup" layout?

--
Nothing is impossible. Not if you can imagine it!

Hubert Farnsworth

Marko Žmak

Tuesday 15 July 2008 12:24:33 am

Does anyone have any suggestions for this one?

--
Nothing is impossible. Not if you can imagine it!

Hubert Farnsworth

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

Main resources:

Total runtime0.0242 sec
Peak memory usage6,144.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0051 588.1563151.2109
Module start 'layout' 0.00510.0038 739.3672220.6875
Module start 'content' 0.00890.0137 960.0547997.7109
Module end 'content' 0.02260.0016 1,957.765629.9922
Script end 0.0242  1,987.7578 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002711.3175140.0002
Check MTime0.00114.4810140.0001
Mysql Total
Database connection0.00103.989210.0010
Mysqli_queries0.00229.207930.0007
Looping result0.00000.053110.0000
Template Total0.00114.510.0011
Template load0.00083.423710.0008
Template processing0.00021.018910.0002
Override
Cache load0.00062.351610.0006
General
dbfile0.00031.101680.0000
String conversion0.00000.031540.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