How to set template

I have directory templates/mytemplate
How to set template to "mytemplate"
I’m try to use

  1. new Frontend(‘front’,‘mytemplate’);
  2. $this->pathfinder->addLocation(
    array(
    ‘page’=>‘page’,
    ‘php’=>’…/shared’,
    ‘template’ => ‘templates/mytemplate’
    )
    it not set template path

It looks like you are trying to use “skin” which is 2nd argument to Frontend. It’s quite an advanced feature, which might not be what you are looking for right now.

Please read:

http://book.agiletoolkit.org/views/templates.html
http://book.agiletoolkit.org/controller/pathfinder.html

and if you are still having trouble, ask again.

Thanks, Romanish can’t set like atk 4.2 ?

There are no native skin support in 4.3, it was rarely used, but you can still tweak your path-finder config to set up your skin paths in a way you want.