OnlineEditor 4.1

Author Message

Sofie Johansson

Wednesday 14 June 2006 2:02:59 am

Hi

I´ve noticed some new features in the OE 4.1, such as <b>Inline</b> and <b>embed-inline</b> in the property-window of a related object.

I suspect they are supposed to create the related object as an <i>inline-object</i> rather than a block element. My question is why an image and file are only displayed as a link to fullview?

The way I thought it would work is that it creates an embedded object as an inline, displaying the image and file embedded instead of a link.

Am I using it the wrong way?

Best regards
/Sofie

Developer, Novitell AB

Łukasz Serwatka

Friday 16 June 2006 12:14:20 am

Hei Sofie,

On the template list is /content/view/embed-inline.tpl where you need to create your templates for that view. If there is no template specified then default template (design/standard/templates/content/datatype/view/ezxmltags/embed-inline.tpl) is used which is displays only link. Look on examples from /content/view/embed.tpl You can reuse some code I think.

Personal website -> http://serwatka.net
Blog (about eZ Publish) -> http://serwatka.net/blog

Sofie Johansson

Monday 19 June 2006 1:28:20 am

Hi

So I´m using it the right way....

I suspected that I might need to make my own template, rather than using the default one.

Thanks for your reply.

Developer, Novitell AB

Andrew Kelly

Friday 11 August 2006 3:37:47 am

Please see
http://ez.no/community/forum/general/image_problem_with_file_name
for a potential solution

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