Show image captions in the admin

Author Message

Benjamin Bertrand

Tuesday 19 July 2011 10:34:00 am

I have a fully functioning ezflow site. The only issue is that when I embed an image object into the body (xml block) of an article, I do not see the captions in edit mode.

The published article shows images with captions perfectly. So does the admin preview. But there are no captions while editing in the admin. Is there a way to activate them?

When I "Disable Editor" the embed is this:

<embed size="medium" align="left" custom:offset="0" custom:limit="5" href="ezobject://585" />

I suspect it has to do with the ezoe or TinyMCE. Has anyone dealt with this before?  

Daniele Nocentini

Wednesday 27 July 2011 1:39:10 am

it's normal because you fill caption field when you create or edit the image (content object). if you embed an image inside article using OE ez make only a relation between article and image and OE display only preview of a image.I think if you can display the caption of a image inside editor by editing a template but you can't edit caption because the caption it's a field of a image and not of a article.

Antica Bottega Digitale srl
http://www.abd.it

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 17 2025 22:58:55
Script start
Timing: Jan 17 2025 22:58:55
Module start 'layout'
Timing: Jan 17 2025 22:58:55
Module start 'content'
Timing: Jan 17 2025 22:58:56
Module end 'content'
Timing: Jan 17 2025 22:58:56
Script end

Main resources:

Total runtime0.7198 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.0072 589.0547152.6250
Module start 'layout' 0.00720.0031 741.679739.4531
Module start 'content' 0.01020.7083 781.1328528.6953
Module end 'content' 0.71850.0013 1,309.82818.1563
Script end 0.7198  1,317.9844 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00320.4393160.0002
Check MTime0.00120.1660160.0001
Mysql Total
Database connection0.00100.137710.0010
Mysqli_queries0.677594.1147540.0125
Looping result0.00050.0743520.0000
Template Total0.687995.620.3440
Template load0.00190.268420.0010
Template processing0.686095.297120.3430
Template load and register function0.00010.012410.0001
states
state_id_array0.00150.214510.0015
state_identifier_array0.00080.116020.0004
Override
Cache load0.00150.2066140.0001
Sytem overhead
Fetch class attribute can translate value0.00050.069420.0002
Fetch class attribute name0.00110.147340.0003
XML
Image XML parsing0.00110.150420.0005
class_abstraction
Instantiating content class attribute0.00000.001040.0000
General
dbfile0.00100.1356210.0000
String conversion0.00000.001240.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/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.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/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
2content/datatype/view/ezxmltags/strong.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/strong.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 12
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs