Jump to content

Edit History

rhythm

rhythm

Hello,

I am trying to build a controller. My controller don't need to render anything, just do some stuff and when redirect to order controller. So far I have:

class CustomControllerCore extends FrontController
    {
        public $php_self = 'custom';
        public function init()
        {
            parent::init();
        }
        public function initContent()
        {
            parent::initContent();
        }
	}

I can see it on Traffic and SEO tab, can assign friendly URL to access it. I tried friendly URL, index?php=controller=custom

Controller file is uploaded to PS ROOT/controllers/front/

rhythm

rhythm

Hello,

I am trying to build a controller. My controller don't need to render anything, just do some stuff and when redirect to order controller. So far I have:

class CustomControllerCore extends FrontController
    {
        public $php_self = 'custom';
        public function init()
        {
            parent::init();
        }
        public function initContent()
        {
            parent::initContent();
        }
	}

I can see it on Traffic and SEO tab, can assign friendly URL to access it. I tried friendly URL, index?php=controller=custom

rhythm

rhythm

Hello,

I am trying to build a controller. My controller don't need to render anything, just do some stuff and when redirect to order controller. So far I have:

×
×
  • Create New...