Jump to content

Admin Tab display file .tpl


Recommended Posts

this is my code:

class MyModuleController extends AdminController {


     public function __construct() {
          $this->bootstrap = true;
          parent::__construct();
     }

public function initContent() {
parent::initContent();
}
}

mymodule.tpl:

<h1>Hello world</h1>

Now, I want to click on the tab, which will display the file contents are stored in mymodule.tpl

Somebody can help me?

(mymodule directories structure in attach file)

post-799843-0-11460600-1405647558_thumb.jpg

  • Like 1
Link to comment
Share on other sites

  • 2 weeks later...
×
×
  • Create New...