eZ 3.4 beta 2: bug, feature or ...

Author Message

Peter Szmulik

Sunday 23 May 2004 8:37:16 am

...or am I doing something wrong?

First of all, 3.4 looks like a great release!

I'm trying to make an image an anchor for a link. I created a document in the admin interface and typed:

<td><link href='/a_valid_URL_inside_eZ' target='_self'><object id='a_valid_object_ID' /></link></td>

When I try to save this I get an error message saying that objects are not supported inside a link tag. How can I create clickable images in eZ?

Thanks!
Peter

Bård Farstad

Sunday 23 May 2004 10:30:18 am

The link tag does not support object as a child tag. You have to use an attribute on the object tag. E.g. <object href="http://ez.no" id="42" ... />. This does however need to be supported by the given object template ( the image template does support this by default ).

--bård

Documentation: http://ez.no/doc

Peter Szmulik

Sunday 23 May 2004 11:05:27 am

Thanks!

... but I still don't get the link:

  <td><object id="165" size="small" href="http://domain.xx/index.php/corporate/blablabla" target="_self" /></td>

Best Regrads
Peter

Peter Szmulik

Sunday 23 May 2004 1:45:59 pm

... and a related problem: when I do:

  <td><object id="165" size="small" href="http://domain.xx/index.php/corporate/blablabla" target="_self" /></td>

... I also get an annoying (empty) line below the image. If I insert some text, it appears on a line below the empty line. Is there a way of getting rid of the empty line?

Thanks & Best Regards
Peter

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 30 2025 21:40:36
Script start
Timing: Jan 30 2025 21:40:36
Module start 'layout'
Timing: Jan 30 2025 21:40:36
Module start 'content'
Timing: Jan 30 2025 21:40:36
Module end 'content'
Timing: Jan 30 2025 21:40:36
Script end

Main resources:

Total runtime0.0218 sec
Peak memory usage4,096.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0043 588.1328151.2109
Module start 'layout' 0.00430.0036 739.3438220.6875
Module start 'content' 0.00790.0124 960.0313997.9297
Module end 'content' 0.02030.0014 1,957.960933.9922
Script end 0.0217  1,991.9531 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002511.4633140.0002
Check MTime0.00104.8056140.0001
Mysql Total
Database connection0.00062.850510.0006
Mysqli_queries0.00219.782130.0007
Looping result0.00000.050410.0000
Template Total0.00104.610.0010
Template load0.00083.607810.0008
Template processing0.00020.974310.0002
Override
Cache load0.00052.459210.0005
General
dbfile0.00021.115680.0000
String conversion0.00000.031840.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.0002 secs