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

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

eZ debug

Timing: Jan 18 2025 21:00:37
Script start
Timing: Jan 18 2025 21:00:37
Module start 'layout'
Timing: Jan 18 2025 21:00:37
Module start 'content'
Timing: Jan 18 2025 21:00:37
Module end 'content'
Timing: Jan 18 2025 21:00:37
Script end

Main resources:

Total runtime0.0216 sec
Peak memory usage2,048.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0067 587.9063152.6250
Module start 'layout' 0.00670.0036 740.531339.4297
Module start 'content' 0.01030.0091 779.960989.3984
Module end 'content' 0.01940.0021 869.359430.3047
Script end 0.0216  899.6641 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002913.3944140.0002
Check MTime0.00125.6466140.0001
Mysql Total
Database connection0.00083.701110.0008
Mysqli_queries0.003214.661930.0011
Looping result0.00000.074010.0000
Template Total0.00177.810.0017
Template load0.00104.672710.0010
Template processing0.00073.083910.0007
Override
Cache load0.00083.524410.0008
General
dbfile0.00031.370280.0000
String conversion0.00000.046440.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs