Platon Technologies
neprihlásený Prihlásiť Registrácia
SlovakEnglish
open source software development oslavujeme 10 rokov vývoja otvoreného softvéru! Utorok, 24. november 2026
O nás
Magazín
Otvorený softvér
CVS
Služby
Index  »  Projekty  »  phpMyEdit  »  Fórum  »  View mode issue - textarea boxes?

phpMyEdit Configuration     View mode issue - textarea boxes?
Odoslať novú tému   Odpovedať na tému    
 
jtzako     Založený: 12.01.2017   Príspevky: 16  
Príspevok 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)
Príspevok 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  
Príspevok 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)
Príspevok 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    

Copyright © 2002-2006 Platon Group
Stránka používa redakčný systém Metafox
Na začiatok · Odkazový formulár · Prihláška
Upozorniť na chybu na PLATON.SK webstránke · Podmienky použitia · Ochrana osobných údajov