Empty/blank layout - Joomla! Forum - community, help and support
hi, i'm trying particular controller use specific layout, can't seem work:
i have set layout file in:
/templates/[current template in use/html/[com_component]/sample/default.php
any can offer appreciated.
code: select all
defined('_jexec') or die();
jimport('joomla.application.component.controller');
class componentsamplecontroller extends jcontroller
{
function index()
{
}
function display()
{
jrequest::setvar( 'layout', 'empty');
parent::display();
}
function test() {
}
}
i have set layout file in:
/templates/[current template in use/html/[com_component]/sample/default.php
any can offer appreciated.
defiant wrote:hi, i'm trying particular controller use specific layout, can't seem work:code: select all
defined('_jexec') or die();
jimport('joomla.application.component.controller');
class componentsamplecontroller extends jcontroller
{
function index()
{
}
function display()
{
jrequest::setvar( 'layout', 'empty');
parent::display();
}
function test() {
}
}
i have set layout file in:
/templates/[current template in use/html/[com_component]/sample/default.php
any can offer appreciated.
is controller getting called?
ian
Comments
Post a Comment