Forums / General / Inserting tables from the online editor problem

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