Thursday 15 March 2007 11:55:42 pm
Hi Christian
I opened /edit/ezinteger.tpl but I think it only contain settings about min and max value of the datatype
In my instalation of eZ 3.8.7 design/standard/templates/<b>content</b>/datatype/edit/ezinteger.tpl contains:
{* DO NOT EDIT THIS FILE! Use an override template instead. *}
{default attribute_base=ContentObjectAttribute}
<input id="ezcoa-{if ne( $attribute_base, 'ContentObjectAttribute' )}{$attribute_base}-{/if}{$attribute.contentclassattribute_id}_{$attribute.contentclass_attribute_identifier}" class="box ezcc-{$attribute.object.content_class.identifier} ezcca-{$attribute.object.content_class.identifier}_{$attribute.contentclass_attribute_identifier}" type="text" name="{$attribute_base}_data_integer_{$attribute.id}" size="10" value="{$attribute.data_int}" />
{/default}
The size is fixed at 10. design/standard/templates/<b>class</b>/datatype/edit/ezinteger.tpl is the template that is used when editing the class defination and conatins the max & min stuff. Firebug ( http://www.getfirebug.com/ ) is a fantastic plugin for firefox that (amongst other things) allows you to "inspect" html elements and see the styles that are applied to it, including the file and line number where the style is located. I find it invaluable for working with styles. Hope this helps
Cheers Bruce
My Blog: http://www.stuffandcontent.com/
Follow me on twitter: http://twitter.com/brucemorrison
Consolidated eZ Publish Feed : http://friendfeed.com/rooms/ez-publish
|