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

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 19 2025 00:58:03
Script start
Timing: Jan 19 2025 00:58:03
Module start 'layout'
Timing: Jan 19 2025 00:58:03
Module start 'content'
Timing: Jan 19 2025 00:58:03
Module end 'content'
Timing: Jan 19 2025 00:58:03
Script end

Main resources:

Total runtime0.6957 sec
Peak memory usage4,096.0000 KB
Database Queries54

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0075 589.0391152.6094
Module start 'layout' 0.00760.0030 741.648439.4297
Module start 'content' 0.01060.6836 781.0781530.2578
Module end 'content' 0.69420.0015 1,311.33598.5000
Script end 0.6957  1,319.8359 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00360.5214160.0002
Check MTime0.00140.2067160.0001
Mysql Total
Database connection0.00170.239910.0017
Mysqli_queries0.640792.0839540.0119
Looping result0.00050.0790520.0000
Template Total0.658894.720.3294
Template load0.00260.372420.0013
Template processing0.656294.322920.3281
Template load and register function0.00030.038810.0003
states
state_id_array0.00200.283210.0020
state_identifier_array0.00180.258620.0009
Override
Cache load0.00210.2984230.0001
Sytem overhead
Fetch class attribute can translate value0.00080.119420.0004
Fetch class attribute name0.00150.218930.0005
XML
Image XML parsing0.00130.188420.0007
class_abstraction
Instantiating content class attribute0.00000.001230.0000
General
dbfile0.00170.2456180.0001
String conversion0.00000.001340.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
2content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
4content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
6content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
2content/datatype/view/ezxmltags/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.tplEdit templateOverride template
1content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 17
 Number of unique templates used: 7

Time used to render debug report: 0.0002 secs