Change the width of a form item

Author Message

Clemens T

Thursday 08 September 2005 4:38:29 am

Heya all,
I'd like to change the width of the subject line in my template.

{attribute_view_gui attribute=$node.object.data_map.subject}

This code just shows the input-field, but how can I adjust the width without changing the MAX length of the subject line (because I want that one to be unlimited).

Thanks!
Clemens

Albert Hornos

Friday 09 September 2005 1:49:06 am

Hi Clemens!
I don't know if I've understood so well and I don't know what datatype is your subject attribute (perhaps a text line?). I changed my with directly in ezstring.tpl (or some other datatype in /design/standard/classes/datatype/view/ezxxx.tpl and if you prefer you could make an override).

I hope it will be a help for you.

Albert.

Clemens T

Friday 09 September 2005 1:54:32 am

Hey Albert!
Thanks for the reply,
I'm not sure that is what I'm looking for. I'm talking about the feedback-form (so the standard feedback-form class) and the subject attribute of that class... and I would like to give that specific input textbox a specified width.. apart from all other input-text-boxes.

I didn't change the feedback-form or anything, so it's the default Subject attribute, single textline.

Got a idea?
Thanks!
(ps: I'll be trying your solution as well)

Aleksander Medevedev

Thursday 23 February 2006 5:48:45 am

Hey Everybody!

I have the same problem and struggling to sol that?

I think many faces the same problem?
Any solutions?

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.