$embed_content in error pages

Author Message

James Ward

Sunday 19 February 2006 11:47:09 am

Hi All,
I'm working on a system that will throw a lot of kernel error(1) messages for users who are not registered. I was hoping to present users with the registration page instead of the login form they are usually prompted with. looking at the error/kernel/1.tpl it appears to use $embed_content to create the login form. Anyone know where this variable gets set so I can modify its contents?

Thanks in advance.

working at www.wardnet.com
blogging at www.jamesward.ca

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 04:27:07
Script start
Timing: Jan 31 2025 04:27:07
Module start 'layout'
Timing: Jan 31 2025 04:27:07
Module start 'content'
Timing: Jan 31 2025 04:27:08
Module end 'content'
Timing: Jan 31 2025 04:27:08
Script end

Main resources:

Total runtime0.0149 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.0050 588.1328151.2109
Module start 'layout' 0.00500.0037 739.343836.6484
Module start 'content' 0.00870.0049 775.992286.1406
Module end 'content' 0.01350.0013 862.132829.9922
Script end 0.0149  892.1250 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002416.0980140.0002
Check MTime0.00117.2008140.0001
Mysql Total
Database connection0.00085.105110.0008
Mysqli_queries0.003221.621630.0011
Looping result0.00000.107010.0000
Template Total0.00106.810.0010
Template load0.00075.004510.0007
Template processing0.00031.749110.0003
Override
Cache load0.00053.469410.0005
General
dbfile0.00032.174080.0000
String conversion0.00000.059140.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