Closed (works as designed)
Project:
Content Construction Kit (CCK)
Version:
5.x-1.x-dev
Component:
General
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
6 Oct 2007 at 06:31 UTC
Updated:
25 Jan 2012 at 09:24 UTC
Jump to comment: Most recent
Comments
Comment #1
webpotato commentedThat makes two of us. I'd also greatly appreciate knowing how to do this.
Comment #2
Anonymous (not verified) commentedhttp://drupal.org/node/186019
Comment #3
karens commentedFields that go all the way across the whole page are the default Drupal way of doing forms. Doing it differently is a matter of personal taste, and generally in CCK we just do things the standard 'Drupal' way.
The best way around this is to either do something with css in your theme or to form_alter the form and change the value, as done in the link above.
Comment #4
neroflick commentedThere's a fix here http://drupal.org/node/145701#comment-558404
Comment #5
usonian commentedIs this the final word on custom CCK field lengths? It's very frustrating not to be able to specify this via the web interface. The first thing clients ask us is, "Can we change the size of that field?" It would be so much more convenient all around to point them at the appropriate setting in the field form than to muck with the theme or write a custom module just to tweak a form property.
I'm happy to clone text.module and add a few lines to create a "text with field size" widget, but it seems like a shame to duplicate so much code to add such a basic feature.
Comment #6
yched commentedThis has been added to CCK D6. CCK D5 will see no new feature.
Comment #7
ss54 commentedYatched, Even after upgrading to 6.19 I could not change it from (text field size) text box, until I changed it from
.node-form .form-text {
display: block;
width: 95%; => 40% and it worked
}
When I changed it from the above text box, for example, to 40 it did not change, until I used the above method. The problem with this, it changed all the text fields not specific fields. Any idea, thanks
Comment #8
alanwsl commentedJust set the width to auto will do
.node-form .form-text {
display: block;
width: Auto;
}