Forums / Setup & design / xml: $object_parameters.align is default right

"Please Note:
  • At the specific request of Ibexa we are changing this projects name to "Exponential" or "Exponential (CMS)" effective as of August, 11th 2025.
  • This project is not associated with the original eZ Publish software or its original developer, eZ Systems or Ibexa".

xml: $object_parameters.align is default right

Author Message

peter peter

Monday 04 July 2005 4:06:24 pm

hiho,
$object_parameters.align is default "right".

how can i change this?

the XML object is for example

<object id="112" size="original" />

my object.tpl

<div class="object-{$object_parameters.align}{section show=ne($classification|trim,'')} {$classification|wash}{/section}">
{content_view_gui view=$view link_parameters=$link_parameters object_parameters=$object_parameters content_object=$object}
</div>

{*
Set variable to true if the object should be rendered as a block
tag. If it should be rendered as inline use false.
{set-block scope=root variable=is_block}true{/set-block}

*}

peter peter

Wednesday 06 July 2005 1:38:56 am

I think i have to hack the kernel.

peter peter

Wednesday 06 July 2005 4:59:22 am

ich solve the problem by adding a new attribute "normal"