| Index
» Projekty
» phpMyEdit
» Fórum
» View mode issue - textarea boxes? |
 |
jtzako
Založený: 12.01.2017
Príspevky: 16
Zaslal: 2017-02-16 00:28
Návrat hore
Odpovedať s citátom
|
Some of my fields are Textarea when in Edit mode but they are not text boxes in View mode. Is it possible to make them show up as Textarea boxes with scrollbars in View mode? (but not list mode of course)
|
doug
Založený: 10.02.2003
Príspevky: 1013
Bydlisko: Denver, Colorado (USA)
Zaslal: 2017-02-17 01:55
Návrat hore
Odpovedať s citátom
|
In View mode, there is simply data in a TD tag (no form fields except for navigation buttons).
Which makes me wonder if text displayed is truncated due to incorrect usage of the trimlen option.
// in list mode, display only 30 characters
$opts['fdd']['your_field']['trimlen|LF'] = 30;
|
jtzako
Založený: 12.01.2017
Príspevky: 16
Zaslal: 2017-02-21 17:05
Návrat hore
Odpovedať s citátom
|
I am using the trimlen so it doesnt try and post a wall of text on my "List" view.
The text that goes in these particular fields can be quite long. I was just hoping for a way to see all of it in View mode without messing up List mode.
Using your version of the trimlen seems to work as I wanted. I was doing it the way the documentation suggested and it was donig the trimlen on both views.
|
doug
Založený: 10.02.2003
Príspevky: 1013
Bydlisko: Denver, Colorado (USA)
Zaslal: 2017-02-21 17:34
Návrat hore
Odpovedať s citátom
|
I suppose you could surround the field contents with a TEXTAREA tag by using CONCAT. Use the forum search feature to locate Concat examples.
|
|
Odoslať novú tému
Odpovedať na tému
|
|
|
|