Hi
I must ask this even this is answered on TL 1.8 (http://www.teamst.org/forum/viewtopic.php?f=9&t=2836).
This workaround doesn't work on TL 1.9.1.
Any suggestion?
TNX
[SOLVED] Can CustomField (Text Area) be greater than 255 ?
Moderators: Amaradana, TurboPT, TL Developers
Re: Can CustomField (Text Area) be greater than 255 ?
I have found solution for this issue. One must read an configuration manual and do some adjustment of JavaScript. Tnx
Re: Can CustomField (Text Area) be greater than 255 ?
Hi ,
i am also trying the same on TL 1.9 can you please give some more inputs to which files and which adjustment of JavaScript.
Tnx in advance
sangeeta
i am also trying the same on TL 1.9 can you please give some more inputs to which files and which adjustment of JavaScript.
Tnx in advance
sangeeta
Re: Can CustomField (Text Area) be greater than 255 ?
I also looking for a solution to increase the size of the text area field.
TEXTAREA_MAX_SIZE in lib/functions/cfield_mgr.class.php is not used in 1.9.3.
Any ideas?
TEXTAREA_MAX_SIZE in lib/functions/cfield_mgr.class.php is not used in 1.9.3.
Any ideas?
Re: Can CustomField (Text Area) be greater than 255 ?
Please always:
1. search on our mantis site REMOVING ALL STATUS FILTERS
2. give a look to following files
config.inc.php
const.inc.php
on const.inc.php
/* [CUSTOM FIELDS] */
// /**
// * Custom field constrains for HTML inputs use values to created to get/show custom field contents
// * <ul>
// * <li>for string,numeric,float,email: size & maxlenght of the input type text.</li>
// * <li>for list,email size of the select input.</li>
// * </ul>
// */
// $tlCfg->gui->custom_fields->sizes = array(
// 'string' => 50,
// 'numeric'=> 10,
// 'float' => 10,
// 'email' => 50,
// 'list' => 1,
// 'multiselection list' => 5,
// 'text area' => array('cols' => 40, 'rows' => 6)
// );
and you can see on cfield_mgr class that this values are used:
/**
* Class constructor
*
* @param resource &$db reference to the database handler
*/
function __construct(&$db)
{
parent::__construct();
$this->db = &$db;
$this->tree_manager = new tree($this->db);
$cfConfig = config_get('custom_fields');
$this->sizes = $cfConfig->sizes;
we are going to create some quick config guide on future
1. search on our mantis site REMOVING ALL STATUS FILTERS
2. give a look to following files
config.inc.php
const.inc.php
on const.inc.php
/* [CUSTOM FIELDS] */
// /**
// * Custom field constrains for HTML inputs use values to created to get/show custom field contents
// * <ul>
// * <li>for string,numeric,float,email: size & maxlenght of the input type text.</li>
// * <li>for list,email size of the select input.</li>
// * </ul>
// */
// $tlCfg->gui->custom_fields->sizes = array(
// 'string' => 50,
// 'numeric'=> 10,
// 'float' => 10,
// 'email' => 50,
// 'list' => 1,
// 'multiselection list' => 5,
// 'text area' => array('cols' => 40, 'rows' => 6)
// );
and you can see on cfield_mgr class that this values are used:
/**
* Class constructor
*
* @param resource &$db reference to the database handler
*/
function __construct(&$db)
{
parent::__construct();
$this->db = &$db;
$this->tree_manager = new tree($this->db);
$cfConfig = config_get('custom_fields');
$this->sizes = $cfConfig->sizes;
we are going to create some quick config guide on future
Re: Can CustomField (Text Area) be greater than 255 ?
Thanks, now it works.