This topic is locked

Truncate Text Area

11/15/2006 5:39:52 PM
PHPRunner General questions
W
willpower author

Hi
Clearly you can truncate text fields...but what about text areas? How can I do this?
Will

Sergey Kornilov admin 11/15/2006

Will,
what do you mean "truncate"?
What page and option you talking about?

W
willpower author 11/15/2006

Will,

what do you mean "truncate"?
What page and option you talking about?


I mean
Step 11 of 12.
Truncate (shorten) large text fields (more ... Link)
The option includes a checkbox to shorten any long text fields...but not text areas. Now these of course are by default normally longer and I'd like to have a (More...) Link on these as much as the text fields
Will

T
thesofa 11/16/2006

That seeems to happen to my text areas when I build them, maybe it means text ares, rather than text fields?

HTH

Sergey Kornilov admin 11/16/2006

"Truncate fields" option applies to both text fields and text areas.
The only exception is text areas with RTE enabled. RTE produces HTML code which cannot be safely truncated.

W
willpower author 11/16/2006

Ok I can understand that. I have now tried to make the column with (in px) wider on step 8 (View as HTML col width 400) No Joy.
I need to reduce the severe vertical space that is being used when viewing the table....any and I mean any ideas.
Thanks
Will

Sergey Kornilov admin 11/16/2006

Will,
are you talking about the same issue or this is another issue?
Please clarify.

W
willpower author 11/18/2006

Ok here is the deal.
In the 'view' page format I have a column wich is a text area which I wanted to truncate to save space.
As you correctly identified, I cant use the truncate option as I am using RTE
So I wanted to increase the width instead so as I do not have vertically endlessly scrolling pages.
So in the absence of an ability to truncate, i need to expand the column to take up less vertical space ...make sense.
If you feel that this is a different problem, please feel free to move the message to new topic, however, i feel that the solution may be different, but the issue...(not wanting to take up so much vertical space) is the same.
Hope that clarifies.
Will

W
willpower author 11/21/2006

*bump

J
Jane 11/21/2006

Will,
you can do it editing generated ..._list.php file manually.

You need to find <td> element of this field and replace it with something like this: <td width=250>. Perhaps you'll need to increase table width also:

<table width=250>.
Or you can upgrade your PHPRunner to 3.1 where you can easily change column width in the Visual Editor.

W
willpower author 11/21/2006

thank you