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 ?