[CFG CHANGE] - $g_tpl

News about TestLink 2.0 development, direction, etc

[CFG CHANGE] - $g_tpl

Postby fman » Sun Sep 30, 2012 9:41 am

$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.

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

$tlCfg->tpl = array('tcView' => 'custom_tcView.tpl',
'tcSearchView' => 'myOwnTCSearchView.tpl',
'tcEdit' => 'tcEdit_ultraCool.tpl');
Member of TestLink Community
Posts: 3088
Joined: Tue Nov 15, 2005 7:19 am

Return to TestLink 2.0

Who is online

Users browsing this forum: No registered users and 2 guests