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

yched’s picture

Status: Active » Fixed

You 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.

orthopoint’s picture

You mean under "Data settings" ? This has no effect. Or must I use this as PHP code ?

orthopoint’s picture

Now 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 ?

yched’s picture

Strange 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)

orthopoint’s picture

Thank 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.

yched’s picture

Status: Fixed » Active

I 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.

orthopoint’s picture

Sorry 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.

yched’s picture

Status: Active » Fixed

Not sure I understand the translation issues.
Glad that it works for you, though :-)

Anonymous’s picture

Status: Fixed » Closed (fixed)