handle errore page after wrong captcha

Author Message

roberto perata

Wednesday 13 July 2011 5:05:05 am

hi everyone,

when i submit a comment add.php is called. If there's error add.php call :
 $Result['content'] = $tpl->fetch( 'design:graziait/comment/add.tpl' );

in a new page.

I wonder if I could take this template in my actual page.

Any idea?

Thanks
Roberto

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 29 2025 13:38:06
Script start
Timing: Jan 29 2025 13:38:06
Module start 'layout'
Timing: Jan 29 2025 13:38:06
Module start 'content'
Timing: Jan 29 2025 13:38:06
Module end 'content'
Timing: Jan 29 2025 13:38:06
Script end

Main resources:

Total runtime0.0154 sec
Peak memory usage2,048.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0054 588.2500151.2266
Module start 'layout' 0.00540.0026 739.476636.6875
Module start 'content' 0.00800.0054 776.164186.0625
Module end 'content' 0.01340.0019 862.226629.9766
Script end 0.0154  892.2031 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002617.1129140.0002
Check MTime0.00116.8901140.0001
Mysql Total
Database connection0.00085.500910.0008
Mysqli_queries0.002516.406730.0008
Looping result0.00000.097610.0000
Template Total0.00159.810.0015
Template load0.00117.093010.0011
Template processing0.00042.708610.0004
Override
Cache load0.00085.020810.0008
General
dbfile0.00021.545680.0000
String conversion0.00000.052740.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