Monday 21 July 2008 5:24:03 am
Can not reproduce.
Did everything like you expect I placed the template in: extension/<my_extension>/design/standard/templates/content/datatype/view/ezxmltags/edito.tpl And enabled color picker in Oniline edtior 5.0 (content.ini):
[CustomAttribute_edito_color]
Type=color
Name=Text Color
Then I cleared override cache and cleared view cache on the specific node I tested this on ( in admin: click on big icon next to the "title[class name]" of the current node ). But even before I added the template I didn't get the output you describe(I dind't get anything, I just got a warning that the template didn't exist), the only place I get what you got is if I disable Online Editor while editing. Warning before I created the template:
No template could be loaded for "content/datatype/view/ezxmltags/edito.tpl" using resource "design"
Output while editing with editor disabled:
<custom name="edito" custom:color="#11ed2c">asdfsdfdsf</custom>
Output in content/view after adding template and clearing caches:
<span style="color:#11ed2c">asdfsdfdsf</span>
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
|