Closed (fixed)
Project:
Content Construction Kit (CCK)
Version:
6.x-2.1
Component:
General
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
4 Dec 2008 at 21:04 UTC
Updated:
6 Nov 2010 at 03:44 UTC
Jump to comment: Most recent file
Comments
Comment #1
yched commentedIf using the 'textfield' widget, there's a 'size of textfield' setting on the field's settings page.
Comment #2
henrys212 commentedThank you for the responds. I am using the textfield widget but there is no size of textfield anywhere.
Any other suggestions please?
Comment #3
yched commentedSee screenshot.
Comment #4
yched commentedCrap, previous screenshot has some non-committed in-progress stuff from my local code.
Actual shot with the actual CCK 2.1 attached
Comment #5
henrys212 commentedI dont have that. All I have right underneath the button "Change basic information" is the help text box I am missing the field size can that be a seperate module that I need?
Comment #6
henrys212 commentedIs the field size a seperate module? Since I dont have that option on my cck module.
Comment #7
yched commentedIs your widget a 'textfield' (single line input) or a 'textarea' (multiline input) ? As pointed in comment #1, this option is available only for 'textfield' widget.
Also, please make sure you're actually running CCK 2.1.
Comment #8
henrys212 commentedNow I see its only when I create the field I will be able to see it but not on existing fields. But thats not my issue that I was having. What I wanted to know if its possible for the text box to be the size of the field size you specify when you create the field.
for example if I have a field age the text box should be the following width
____
|____|
instead of having the text box take up the whole page like this
_______________________________________________________
|_______________________________________________________|
Also if I can have city state and zip on the same line instead of each field on a seperate line.
Comment #10
neroflick commentedI don't think this problem is solved cos I can't see any solution here. I still have the same problem and and am using latest CCK. The 'size of textfield' setting is not working AFAIK. Anyone got a fix?
Comment #11
neroflick commentedComment #12
QBMan commentedLast Status says "Postponed: Maintainer needs more info" yet the issue is closed. Hopefully, I can provide some more information.
Like Henrys212, I have fields that only need to be wide enough to hold dates and things. These fields do not need to be wide enough to fill the center content region.
Unlike Henrys212, I DO see the textfield size field when I'm configuring the field. But there are a couple of problems. First, it doesn't DO anything if I change it from the default 60. Second, it would be helpful to know what type of units 60 (or my supplied value) is supposed to represent. Is it pixels, characters (there is a separate field for length so I assume not), percent of parent container, etc.? Offering this information in the description/help text area would be a great help. So I add my voice to Henrys212's hoping to see some light shed on this.
Also like Henrys212, I'm baffled by (pardon the pun) gravitational field layout. While top to bottom layout is great for menus and blocks, it's waste of real estate when desiging content that covers a wide area on the page. It would certainly be nice to lay out fields on the horizontal plane as well as the vertical. Is this something that is do-able in a future release, perhaps?
Please forgive if I have posted in an inappropriate place. Still being new to Drupal and your site, I'm still finding my way through all the cubby-holes of information. If there is later information on this issue, feel free to point me to it.
Comment #13
karens commented#12 is a whole bunch of unrelated stuff. The original issue is about a way to set the size. There is a way to set the size that works in the core themes but may or may not work in other themes. CCK gives you a place to set it. Your theme has to respond to the change.
Comment #15
salvano commentedWhy do you keep closing this thread. There is still no solution. I'm having the same issue, still more than 1 year later. Within a CCK-developed content type I cannot control the textfield length. I have the admin menu that yched shows above, but nothing happens when I change the "Size of textfield" from 60...it always spans across the entire screen. This is ridiculously annoying, and I'm not even clear why the "Size of textfield" is required if it doesn't do anything. So, I too add my voice to Henry212's and QBMan's. Let us control the size of our textfields!!!
Comment #16
joshmmo commentedAmen salvano!
This is pretty annoying that the size of textfield doesnt work. :(
Comment #17
Svm commentedThis is the way I did it. It's my first post to drupal.org so I'll try to explain as clear as possible.
1. I installed the firebug app.
2. Opened a page containing a text field.
3. hovered over the text field and watched for the css-file and css instance that controlled it
mine for example was : css file : ...\modules\system\system.css
(watch out when optimized css is set under the /admin/settings/performance
--> drupal merges the css files)
css instance : html.js .resizable-textarea textarea
4. Open this css file and find the instance
5. Change width and height at will
I changed width to 50%; and added
height 20px;
Of course this will be for all your text fields on your drupal installation. If you want it to be on a specific page you will
have to create separate css files
Hope this helped to anyone !