Display image about xml bloc

Author Message

Emilien MIOSSEC

Thursday 25 February 2010 9:03:29 am

Hello,Sorry for my bad english...In my classe I have a Content Block XML but when i use this in front:

{attribute_view_gui attribute=$node.data_map.contenu_inferieur}

My image add with TinyMCE Editor not display in front, why ?

Best regards

--------------------------------------------
Emilien MIOSSEC
Systalium - Developper
FRANCE (Dijon)
Systalium is eZ Silver Partner

Nicolas Pastorino

Thursday 25 February 2010 9:31:37 am

Hi Emilien,

At the location where your image is supposed to be, do you see a link, the name of which of the image object's name or alternative text ? The issue might be that you are embedding the image 'inline' (ie 'embed-inline' instead of 'embed').

Let us know,
Cheers,

--
Nicolas Pastorino
Director Community - eZ
Member of the Community Project Board

eZ Publish Community on twitter: http://twitter.com/ezcommunity

t : http://twitter.com/jeanvoye
G+ : http://plus.tl/jeanvoye

Emilien MIOSSEC

Friday 26 February 2010 12:49:19 am

Hi Nicolas,

At the location where my image is suposed to be, I see this :

<div class=""/>

For information when I edit content "frondend" or "backend" i see my images in TinyMCE editor. I don't realy understand what you say about "(ie 'embed-inline' instead of 'embed')". Where i can define this ?

Thanks a lot and i'm very sorry for my english not very perfect :-)

Best regards,
Cheers

--------------------------------------------
Emilien MIOSSEC
Systalium - Developper
FRANCE (Dijon)
Systalium is eZ Silver Partner

Nicolas Pastorino

Friday 26 February 2010 2:34:48 am

"

At the location where my image is suposed to be, I see this :

<div class=""/>

For information when I edit content "frondend" or "backend" i see my images in TinyMCE editor. I don't realy understand what you say about "(ie 'embed-inline' instead of 'embed')". Where i can define this ?

"

Your english is good Emilien, see, we are talking together :)

Concerning your problem (empty div) do you have any template error in the debug output ? In order to display the debug output, add in an override for site.ini:

[DebugSettings]
DebugOutput=enabled

[TemplateSettings]
Debug=enabled
ShowXHTMLCode=disabled
ShowUsedTemplates=enabled
DevelopmentMode=enabled

[ContentSettings]
ViewCaching=disabled

Secondly, this is what i mentioned (embed-inline vs embed image docking ) :

I had the issue a few times that using embed-inline did not properly show the image in the front end.
Let us know,
Cheers,

--
Nicolas Pastorino
Director Community - eZ
Member of the Community Project Board

eZ Publish Community on twitter: http://twitter.com/ezcommunity

t : http://twitter.com/jeanvoye
G+ : http://plus.tl/jeanvoye

Nicolas Pastorino

Friday 26 February 2010 2:38:47 am

--
Nicolas Pastorino
Director Community - eZ
Member of the Community Project Board

eZ Publish Community on twitter: http://twitter.com/ezcommunity

t : http://twitter.com/jeanvoye
G+ : http://plus.tl/jeanvoye

Emilien MIOSSEC

Friday 26 February 2010 5:04:45 am

Hi Nicolas,

Thanks for my english :-)

So I clean my cache and use debug but i don't see everything which not allowed display my image.

When i change embed or inline i don't have any modification, my image don't display on frontend.

I'm angry for this and my customer of course :-)

Best regards,

Cheers

--------------------------------------------
Emilien MIOSSEC
Systalium - Developper
FRANCE (Dijon)
Systalium is eZ Silver Partner

Emilien MIOSSEC

Friday 26 February 2010 5:24:34 am

Hi Nicolas,

Okay i know that's my problème for see the image i must select full or line in visualisation, but you know a method to force this. For my customer don't have to force this ?

But, why then i select "embed" this not work corect in frontend ...

[EDIT]

Sorry for my many edits but I progress when I debug the image in frontend call this template :
design/standard/templates/content/datatype/view/ezxmltags/embed.tpl

I look this and i test any solution can be display THE image :-)

[/EDIT]

[RE-EDIT]

I have allready override the embed.tpl with this :

{section name=ContentObjectAttribute loop=$object.contentobject_attributes}
{attribute_view_gui attribute=$ContentObjectAttribute:item}
{/section}

but i have the name of the image at left, ggrrrr ..

[/RE-EDIT]

Best regards

--------------------------------------------
Emilien MIOSSEC
Systalium - Developper
FRANCE (Dijon)
Systalium is eZ Silver Partner

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.