Forums / Developer / OnlineEditor 4.1
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
Monday 19 June 2006 1:28:20 am
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.
Andrew Kelly
Friday 11 August 2006 3:37:47 am
Please see http://ez.no/community/forum/general/image_problem_with_file_namefor a potential solution