content/collectedinfo and a different pagelayout

Author Message

Torbjørn L.

Thursday 30 June 2011 2:14:17 am

Hi,

I'm trying to make a landing page for a company, meaning there is a basic form a customer loads up and then buys a product. This ships a mail and loads the /content/collectedinfo/ action.

It's important that the landingpage form is seperate from the basic pagelayout, which is easily performed with section_id override ini.

According to this site: http://doc.ez.no/eZ-Publish/Technical-manual/4.x/Reference/Template-override-conditions there is no override for content/collectedinfo - but I know for a fact that it has been done and I have the extension that does just this. 

BUT I can't for the life of me figure out how it is done.... there appears to be no setting that does this, and I cannot replicate this with a new installation. The old installation is 4.1, mine is 4.4

Any ideas at all would be greatly appreciated

EDIT:

This behaviour has changed from 4.3 to 4.4. I don't know why, but in 4.3 and 4.1.3 content/collectedinfo used the same pagelayout as the form itself.

Lars Eirik R

Friday 01 July 2011 4:30:43 am

I have now tried this on version 4.4 and it does work as expected. Make sure that you manage to empty your cache fully. Sometimes the caching can be problematic. I did a command line ezcache --clear-all to have this work.

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 01:14:05
Script start
Timing: Jan 18 2025 01:14:05
Module start 'layout'
Timing: Jan 18 2025 01:14:05
Module start 'content'
Timing: Jan 18 2025 01:14:06
Module end 'content'
Timing: Jan 18 2025 01:14:06
Script end

Main resources:

Total runtime1.2718 sec
Peak memory usage4,096.0000 KB
Database Queries55

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0143 588.0625152.6406
Module start 'layout' 0.01440.0061 740.703139.4844
Module start 'content' 0.02041.2496 780.1875493.1406
Module end 'content' 1.27000.0018 1,273.32818.2813
Script end 1.2718  1,281.6094 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00530.4159160.0003
Check MTime0.00270.2114160.0002
Mysql Total
Database connection0.00170.136610.0017
Mysqli_queries1.214495.4806550.0221
Looping result0.00060.0497530.0000
Template Total1.214595.520.6072
Template load0.00200.155620.0010
Template processing1.212595.332820.6062
Template load and register function0.00020.015510.0002
states
state_id_array0.00220.176410.0022
state_identifier_array0.00320.248820.0016
Override
Cache load0.00160.1250150.0001
Sytem overhead
Fetch class attribute can translate value0.00080.061120.0004
Fetch class attribute name0.00120.091430.0004
XML
Image XML parsing0.00070.058520.0004
class_abstraction
Instantiating content class attribute0.00000.000930.0000
General
dbfile0.00100.0789160.0001
String conversion0.00000.001040.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
2content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
3content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1content/datatype/view/ezxmltags/link.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/link.tplEdit templateOverride template
1content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 9
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs