Closed (fixed)
Project:
Content Construction Kit (CCK)
Version:
6.x-1.x-dev
Component:
General
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
2 Feb 2007 at 11:10 UTC
Updated:
17 Feb 2007 at 16:16 UTC
Sorry I am new to CCK and I am new to PHP.
My question is hwo to change the text fields for users.
The problem is if I offer some text fields they are not text fields they are shown as one line. How can I change this problem. In many of my fields people should wrote a longer text and they see only onle line.
Comments
Comment #1
yched commentedYou have a setting in the field's settings form that allows you to specify a number of 'rows'
If =1, you get a (html) 'textfield' (1 line), if >1, you get a 'textarea', which is what you want.
Comment #2
orthopoint commentedYou mean under "Data settings" ? This has no effect. Or must I use this as PHP code ?
Comment #3
orthopoint commentedNow I use the newest version and I get the same problem. It means I see only one row and not a text field. I hope that this is not a gnerel problem. But I see this as a usability problem because user can not see their input. A user can only see one row of his or her input (text) and I give the opportunity for ca. 150 words. Can you help me ?
Comment #4
yched commentedStrange indeed.
If you're using a custom or contrib theme, could you try switching to default theme and see if the problem remains ?
Plus maybe could you provide
- a screenshot
- an export of your content type (using content_copy.module, included in cck bundle)
Comment #5
orthopoint commentedThank you for help. It´s also strange because I said to my user that I will launch the new website next week. Now this is not possible. I use all default settings. There is no change in the bluemarine theme. It could be that this is a filter problem. I delet all CCK fields. Today I will wrote all the stuff new. I will give you further information i.e. a screen shot next week. For me after 2 month work this is a disaster.
Comment #6
yched commentedI did not read your answer in in #2 closely enough.
The 'rows' parameter I'm talking about is in 'widget settings", under the "label" textfield.
This is different form the 'maxlength' setting in "data settings".
This is basic functionality of text.module, so i assume if it was broken we'd know that already.
And 2 months of work should certainly not be endangered because of that.
Comment #7
orthopoint commentedSorry for all your troubel because of my question. Your first answer was absolutly right. The problem is the the German translation is in my opinion very bad regarding this subject. I gave the great CCK today a last chance and he and I won it. My mistake was that I didn`t follow your advice and set a number grater than one. So I thought that the German translation said that if you will have one row the number of rows is one because this field has not the name "value" the German name of this field is "number of rows". I need with your help two days to understand that. I think it´s important to change this. The German translation for "Zeilen" (rows) should be "Zeilen oder Wert" (rows or value of one row). That a big problem for newbis....
Thank you twice for your help.
Comment #8
yched commentedNot sure I understand the translation issues.
Glad that it works for you, though :-)
Comment #9
(not verified) commented