[CFG CHANGE] - $g_tpl

News about TestLink 2.0 development, direction, etc
Post Reply
fman
Member of TestLink Community
Posts: 3123
Joined: Tue Nov 15, 2005 7:19 am

[CFG CHANGE] - $g_tpl

Post by fman »

$g_tpl renamed => $tlCfg->tpl and moved from const.inc.php to config.inc.php

=======================================================================================
From our documentation (This feature is an OLD one)

Configurable templates.
This can help if you want to use a non standard template.

i.e. you want to develop a new one without loosing the original template.
key: original TL template name WITHOUT extension
value: whatever name you want, only constrain you have to copy your template
ON SAME FOLDER where original template is.
Examples:

$tlCfg->tpl['login'] = 'myFancyLogin.tpl';

$tlCfg->tpl = array('tcView' => 'custom_tcView.tpl',
'tcSearchView' => 'myOwnTCSearchView.tpl',
'tcEdit' => 'tcEdit_ultraCool.tpl');
=======================================================================================
Post Reply