layout/set/edit , ezwt (content/action redirect)

Author Message

Laurent Dorier

Thursday 29 July 2010 3:11:58 pm

Hi,

using the layout.ini feature I set a customized layout for the edit mode for the frontend.
It works fine if I access directly to the layout/set/edit/content/edit URL

My issue: accessing to the edit mode from the frontend toolbar, I jump to content/edit insteed layout/set/edit/content/edit

I thought to use URL Wildcard to redirect to the right URLm but I can not figure how to do.
I've tried:

content/edit/* to layout/set/edit/content/edit/{1}

but it doesn't work like content/edit/* is in the target as well.

I solved the problem using apache rewiterules, but I want to know if this issue could be properly solved with eZ (without extra rewriterule).

I hope I'm clear.
Thanks for any idea or solution

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 30 2025 21:09:06
Script start
Timing: Jan 30 2025 21:09:06
Module start 'layout'
Timing: Jan 30 2025 21:09:06
Module start 'content'
Timing: Jan 30 2025 21:09:06
Module end 'content'
Timing: Jan 30 2025 21:09:06
Script end

Main resources:

Total runtime0.0261 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.0054 588.2656151.2266
Module start 'layout' 0.00540.0043 739.4922220.7188
Module start 'content' 0.00970.0151 960.2109993.8203
Module end 'content' 0.02480.0013 1,954.031329.9922
Script end 0.0261  1,984.0234 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00259.4244140.0002
Check MTime0.00103.7884140.0001
Mysql Total
Database connection0.00072.868210.0007
Mysqli_queries0.003513.260230.0012
Looping result0.00000.068510.0000
Template Total0.00093.610.0009
Template load0.00072.718510.0007
Template processing0.00020.834410.0002
Override
Cache load0.00041.715310.0004
General
dbfile0.00228.465880.0003
String conversion0.00000.022840.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