Online Editor resetting CustomAttributes width

Author Message

Linh Vu

Tuesday 14 October 2008 8:57:05 pm

I have a custom tag setup for factbox. This is in the admin siteaccess content.ini override:

[CustomTagSettings]
[factbox]
CustomAttributes[]
CustomAttributes[]=title
CustomAttributes[]=alignment
CustomAttributes[]=width
CustomAttributes[]=colour
ClassDescription[]
ClassDescription[fbBlue]=Blue Box
ClassDescription[fbGreen]=Green Box
ClassDescription[fbPink]=Pink Box
ClassDescription[fbYellow]=Yellow Box

This was working fine in 3.10.0 and 3.10.1RC

After upgrading to 3.10.1 final (following the official guide), the Online Editor now screws up the width attribute. If I make a change, it always gets reset back to 100%. Other custom attributes hold their values fine.

If I turn off the Online Editor, then it does successfully save my changes.

Any idea? Thanks :)

If I had more time, I would write less code.

Linh Vu

Monday 20 October 2008 3:51:14 pm

The problem seems to be with Online Editor v4.2.5

Rolling back to v4.2.4 fixed it.

I've submitted a bug report: http://issues.ez.no/IssueView.php?Id=13786&activeItem=1

If I had more time, I would write less code.

Nabil Alimi

Friday 10 September 2010 6:19:50 am

I have the same problem with OE 5.

I added a custom attribute on embed custom tag and the attribute is resetted when I (save & ) close the popup window. But if i uncheck the "Inline" checkbox i can see my input back.

My blog : http://www.starnab.com/ezpublish / http://www.starnab.com/ / http://www.assiki-consulting.com
eZ Publish Freelance developper. Feel free to contact me +33 674 367 057
nabil at assiki d0t fr

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

Main resources:

Total runtime0.0208 sec
Peak memory usage8,192.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0047 588.2656151.2266
Module start 'layout' 0.00470.0037 739.4922220.7344
Module start 'content' 0.00840.0112 960.2266997.8359
Module end 'content' 0.01960.0012 1,958.062533.9922
Script end 0.0208  1,992.0547 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002511.9622140.0002
Check MTime0.00104.8337140.0001
Mysql Total
Database connection0.00073.273310.0007
Mysqli_queries0.002210.466030.0007
Looping result0.00000.048110.0000
Template Total0.00094.110.0009
Template load0.00073.175910.0007
Template processing0.00020.937210.0002
Override
Cache load0.00052.191710.0005
General
dbfile0.00115.308080.0001
String conversion0.00000.037840.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