Wednesday 09 August 2006 9:19:04 am - 2 replies
Kirill Subbotin
Thursday 10 August 2006 3:51:39 am
Add to content.ini:
[embed] AvailableClasses[]=imageright
This will solve the problem. It was just a bug of previous versions that presence of the class in this list was not checked.
Concerning wrong error message (no tag name) this was also a little bug, fixed recently. Patch:
Modified: kernel/classes/datatypes/ezxmltext/ezxmlinputparser.php =================================================================== --- kernel/classes/datatypes/ezxmltext/ezxmlinputparser.php 2006-08-01 09:26:10 UTC (rev 16565) +++ kernel/classes/datatypes/ezxmltext/ezxmlinputparser.php 2006-08-01 09:57:43 UTC (rev 16566) @@ -549,7 +549,7 @@ { $this->isInputValid = false; if ( $this->errorLevel >= 2 ) - $this->Messages[] = ezi18n( 'kernel/classes/datatypes/ezxmltext', "Class '%1' is not allowed for element <%2> (check content.ini).", false, array( $value, $newTagName ) ); + $this->Messages[] = ezi18n( 'kernel/classes/datatypes/ezxmltext', "Class '%1' is not allowed for element <%2> (check content.ini).", false, array( $value, $element->nodeName ) ); continue; } }
Harry van Irsel
Friday 11 August 2006 2:57:46 am
Thanks,
I've added the next in settings/override/content.ini.append.php :
[embed] AvailableClasses[]=imageright AvailableClasses[]=imageleft
After that i cleared all the caches, but I stil get the same message after saving content.
Is there something else that I must add ?
You must be logged in to post messages in this topic!