Forums / Setup & design / Documentation page does not show when embeded

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 ?

eZ debug

Timing: Jan 20 2025 06:47:09
Script start
Timing: Jan 20 2025 06:47:09
Module start 'content'
Timing: Jan 20 2025 06:47:09
Module end 'content'
Timing: Jan 20 2025 06:47:09
Script end

Main resources:

Total runtime0.1503 sec
Peak memory usage2,048.0000 KB
Database Queries141

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0065 589.0859180.8125
Module start 'content' 0.00650.0059 769.898493.9297
Module end 'content' 0.01240.1378 863.8281522.6250
Script end 0.1502  1,386.4531 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00342.2514200.0002
Check MTime0.00130.8767200.0001
Mysql Total
Database connection0.00110.703910.0011
Mysqli_queries0.103268.66521410.0007
Looping result0.00130.89371390.0000
Template Total0.137591.510.1375
Template load0.00070.466610.0007
Template processing0.136891.015310.1368
Override
Cache load0.00050.311410.0005
Sytem overhead
Fetch class attribute can translate value0.00080.524310.0008
XML
Image XML parsing0.00020.161210.0002
General
dbfile0.00181.1994200.0001
String conversion0.00000.003830.0000
Note: percentages do not add up to 100% because some accumulators overlap

CSS/JS files loaded with "ezjscPacker" during request:

CacheTypePacklevelSourceFiles
CSS0extension/community/design/community/stylesheets/ext/jquery.autocomplete.css
extension/community_design/design/suncana/stylesheets/scrollbars.css
extension/community_design/design/suncana/stylesheets/tabs.css
extension/community_design/design/suncana/stylesheets/roadmap.css
extension/community_design/design/suncana/stylesheets/content.css
extension/community_design/design/suncana/stylesheets/star-rating.css
extension/community_design/design/suncana/stylesheets/syntax_and_custom_tags.css
extension/community_design/design/suncana/stylesheets/buttons.css
extension/community_design/design/suncana/stylesheets/tweetbox.css
extension/community_design/design/suncana/stylesheets/jquery.fancybox-1.3.4.css
extension/bcsmoothgallery/design/standard/stylesheets/magnific-popup.css
extension/sevenx/design/simple/stylesheets/star_rating.css
extension/sevenx/design/simple/stylesheets/libs/fontawesome/css/all.min.css
extension/sevenx/design/simple/stylesheets/main.v02.css
extension/sevenx/design/simple/stylesheets/main.v02.res.css
JS0extension/ezjscore/design/standard/lib/yui/3.17.2/build/yui/yui-min.js
extension/ezjscore/design/standard/javascript/jquery-3.7.0.min.js
extension/community_design/design/suncana/javascript/jquery.ui.core.min.js
extension/community_design/design/suncana/javascript/jquery.ui.widget.min.js
extension/community_design/design/suncana/javascript/jquery.easing.1.3.js
extension/community_design/design/suncana/javascript/jquery.ui.tabs.js
extension/community_design/design/suncana/javascript/jquery.hoverIntent.min.js
extension/community_design/design/suncana/javascript/jquery.popmenu.js
extension/community_design/design/suncana/javascript/jScrollPane.js
extension/community_design/design/suncana/javascript/jquery.mousewheel.js
extension/community_design/design/suncana/javascript/jquery.cycle.all.js
extension/sevenx/design/simple/javascript/jquery.scrollTo.js
extension/community_design/design/suncana/javascript/jquery.cookie.js
extension/community_design/design/suncana/javascript/ezstarrating_jquery.js
extension/community_design/design/suncana/javascript/jquery.initboxes.js
extension/community_design/design/suncana/javascript/app.js
extension/community_design/design/suncana/javascript/twitterwidget.js
extension/community_design/design/suncana/javascript/community.js
extension/community_design/design/suncana/javascript/roadmap.js
extension/community_design/design/suncana/javascript/ez.js
extension/community_design/design/suncana/javascript/ezshareevents.js
extension/sevenx/design/simple/javascript/main.js

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/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