Documentation page does not show when embeded

Author Message

Olivier TURPIN

Saturday 16 June 2007 2:12:49 am

Hi,

I have a frontpage with a center column embeding a content object of type "Documentation page". Only the title of the object is displayed. Content is not.
I had a look at the template list: no documentation_page.tpl is defined under /extension/ezwebin/design/ezwebin/override/templates/embed. So I wonder whether Documentation page is designed to be embeded ? Am I right ? If positive, what is the reason ? Is there a version where this is to be modified ?

Thx a lot

Configuration:
ezPublish v3.9.2
ezwebzin 1.1

André R.

Saturday 16 June 2007 11:05:44 am

If you want to use document page embedded, you only have to add an override and a template. And if you want it included, just add an enchantment request for ezwebin / webinterface , and we'll add it :)

eZ Online Editor 5: http://projects.ez.no/ezoe || eZJSCore (Ajax): http://projects.ez.no/ezjscore || eZ Publish EE http://ez.no/eZPublish/eZ-Publish-Enterprise-Subscription
@: http://twitter.com/andrerom

Olivier TURPIN

Thursday 21 June 2007 4:51:55 am

Hello,

Thx for the advice.
I tried to do so but with no success. Here is what I did:

1) Creation of override:
I set up the debug output to show the templates used : I got "extension/ezwebin/design/ezwebin/override/templates/line/documentation_page.tpl" which is already overriding line/documentation_page.tpl.

I displayed the templates page in the admin interface under design menu and selected usr siteaccess and filtered upon "line" word. I then selected the node/view/line.tpl and displayed all the overrides for line.tpl. Override for documentation_page class did not show in this list, although there exists a line/documentation_page.tpl referenced on debug output. Normal ?

I created an override for node/view/line.tpl for class documentation_page.

2) test
After clearing the cache and reloading the frontpage with embedded documentation page, the template extension/ezwebin/design/ezwebin/override/templates/line/documentation_page.tpl is still used.
Obviously, I did not override the right template...

Does anyone see where the mistake lies ?

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

Main resources:

Total runtime0.0126 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.0040 588.2656151.2266
Module start 'layout' 0.00410.0024 739.492236.6797
Module start 'content' 0.00650.0049 776.171990.1875
Module end 'content' 0.01140.0012 866.359433.9922
Script end 0.0126  900.3516 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002217.0501140.0002
Check MTime0.00108.1938140.0001
Mysql Total
Database connection0.00064.598910.0006
Mysqli_queries0.002217.048230.0007
Looping result0.00000.071710.0000
Template Total0.00097.010.0009
Template load0.00075.634910.0007
Template processing0.00021.362510.0002
Override
Cache load0.00053.791210.0005
General
dbfile0.00129.318680.0001
String conversion0.00000.052840.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