This topic is locked

Text area format definition

8/11/2006 12:47:22 AM
PHPRunner General questions
rjks author

Hallo,
I would like to change the standard display of text areas in the add view and edit pages.
At the moment only in the add and editpages is a text box displayed, in the view page the text is spread over the page without format. Has this got anything to do with the problem I reported about template variables not being interpreted i.e. in the functions files

// check, whether field is viewable

function CheckFieldPermissions($strField)

{

global $fieldlist;

// check if field in listfields or editfields

##VIEWFIELDS##

if($strField=="##FIELD##" || $strField==GetFilenameField("##FIELD##")) return true;

##/VIEWFIELDS##
// returns text edit parameters

function GetEditParams($field)

{

if($field=="##FIELD##") return "##EDITPARAMS##";

if($field=="##FIELD##") return "##EDITPARAMS##";

if($field=="##FIELD##") return "##EDITPARAMS##";

if($field=="##FIELD##") return "##EDITPARAMS##";

if($field=="##FIELD##") return "##EDITPARAMS##";

if($field=="tag") return "";

if($field=="we") return "";

if($field=="belegt") return "";

if($field=="##FIELD##") return "##EDITPARAMS##";



return "";

}


This problem was to be fixed in a new version, is it fixed yet??
QUESTION
Where can I set a standard Text Area Format which will be used on every page, either with input or read only set.
Thanks in advance
Robert

J
Jane 8/11/2006

Robert,
you can't set a standard Text Area Format in one place.

You need to modify view.php, add.php and edit.php file manually.
These problems will be fixed in outcoming PHPRunner 4.0 beta.