Username
Forgot password?
Welcome to our site!
Or Join with FTTF

Getting error for my own created tab

1

589 views
Hi Dmitri,

I created my own template file with name 'tplMytab.php' the content is like this

protected static $tpl = '

Welcome to new tab

';
this class extends Template\Fast

Whenever i'm calling this class from Mytab.php(is a controller) class as

public function gettpl()
{
$this->typeDiv = Urhere::factory($this->Registry)->get('tplMytab',$this->qtab);
}
it doesn't displaying the text in tplMytab.

for my own created tab,when it is active orange color is not coming.what might be the problem.Whenever i'm clicking on 'Questions' tab,both mytab and questions tab getting orange color.

 
Edited December 5, 2011 7:22 am CST
added the image
asked December 5, 2011 at 6:49 AM

 IN
the only way to call template file from Urhere class or any other way is also have,if so,what is the another way.
flag
Dec 5 '11 at 7:18

0 Answers

Be the first to answer this question

Join with account you already have

FTTF

Preview

Alert