Inserting tables from the online editor problem

Author Message

Lo' F.

Monday 17 January 2011 7:02:26 am

Hello there.

I have problems inserting tables in the online editor. In the front-end they are not displayed but replaced by a series of *}*}*}*}*}*}*}*}

Any idea why?

Thanks a lot!

loredanaebook.it

André R.

Monday 17 January 2011 7:35:42 am

Looks like there are some parser issues in one of your templates, check your source code (in the browser) to see where "*}" is coming from (this will give you a hint on which templates this is coming from).

eZ Online Editor 5: http://projects.ez.no/ezoe || eZJSCore (Ajax): http://projects.ez.no/ezjscore || eZ Publish EE http://ez.no/eZPublish/eZ-Publish-Enterprise-Subscription
@: http://twitter.com/andrerom

Lo' F.

Monday 17 January 2011 8:04:43 am

Hi Andre', thanks for your reply.

The source code appears like this..

...

*}*}*}*}*}*}*}*}
<table class="renderedtable" border="1" cellpadding="2" cellspacing="0" width="304"></table>
<p>...

an empty table and those *} just above it...

by enabling the inline template debug I get this...

extension/_soextra/design/ezwebin/templates/content/datatype/view/ezxmltags/table.tpl
extension/_soextra/design/ezwebin/templates/content/datatype/view/ezxmltags/tr.tpl
*}
extension/_soextra/design/ezwebin/templates/content/datatype/view/ezxmltags/tr.tpl
*}
...

loredanaebook.it

Lo' F.

Monday 17 January 2011 8:53:13 am

The problem was in the tr.tpl : misuse of comment tags.

Thank Andre' your useful hint opened me the way.. :)

loredanaebook.it

André R.

Tuesday 18 January 2011 5:40:54 am

Nop :)
Remember to open an issue / pull request on this if it came from default eZ Publish templates.

eZ Online Editor 5: http://projects.ez.no/ezoe || eZJSCore (Ajax): http://projects.ez.no/ezjscore || eZ Publish EE http://ez.no/eZPublish/eZ-Publish-Enterprise-Subscription
@: http://twitter.com/andrerom

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 19:42:46
Script start
Timing: Jan 30 2025 19:42:46
Module start 'layout'
Timing: Jan 30 2025 19:42:46
Module start 'content'
Timing: Jan 30 2025 19:42:46
Module end 'content'
Timing: Jan 30 2025 19:42:46
Script end

Main resources:

Total runtime0.0215 sec
Peak memory usage6,144.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0048 588.2578151.2266
Module start 'layout' 0.00480.0036 739.4844220.7266
Module start 'content' 0.00840.0116 960.21091,001.9453
Module end 'content' 0.02010.0014 1,962.156337.9766
Script end 0.0215  2,000.1328 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002712.4159140.0002
Check MTime0.00104.7340140.0001
Mysql Total
Database connection0.00073.426910.0007
Mysqli_queries0.002310.922530.0008
Looping result0.00000.042110.0000
Template Total0.00104.810.0010
Template load0.00083.943510.0008
Template processing0.00020.796010.0002
Override
Cache load0.00062.803810.0006
General
dbfile0.00031.268380.0000
String conversion0.00000.023340.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