Forums / General / Embedded link style

Embedded link style

Author Message

Aleksander Lech

Monday 26 September 2005 3:09:18 am

Hi there
I create some links in ezPublish, than added them to article as embedded links -something like this:
<embed href='ezobject://104' />
which is rendered as:

   <div class="object-right">
      <a href="/path/to/link">the link</a>
   </div>

My question is:
Where is class 'object-right' defined?

I don't mean stylesheet, but where is the statement saying that embedded link should have "object-right" class used?

I output debug info and it says that embed.tpl file is used, but there is no "object-right" class used. I even grep out whole ez directory and didn't find it.

Looking for any solution
greetz
Aleksander

Ɓukasz Serwatka

Thursday 29 September 2005 12:59:11 am

Hi,

Look in to
design/standard/templates/content/datatype/view/ezxmltags/embed.tpl

To set correct align use

<embed href='ezobject://104' align='left' />

Do not change standard tpl files. Use override system.

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