Forums / General / Fetch embed-inline class

Fetch embed-inline class

Author Message

John Smith

Monday 19 October 2009 9:34:55 am

Hi guys...

In content.ini.append.php i have the following settings:

[embed-inline]
AvailableClasses[]=FullWidth

What is best way to fetch the class into embed-inline.tpl. I am trying to use $object_parameters.class, but it is not working.

Anybody help....

Sander van den Akker

Monday 26 October 2009 12:19:36 pm

I'm not sure what you are trying to accomplish.

The way I use classification is by using override.ini.append.php

[embed-inline_FullWidth]
Source=content/view/embed-inline.tpl
MatchFile=embed-inline/fullwidth.tpl
Subdir=templates
Match[classification]=FullWidth

Hope this gets you going!

eZ Publish certified developer
http://auth.ez.no/certification/verify/392313