Page 1 of 1

Twig redirect

Posted: Tue Aug 15, 2017 9:35 pm
by jornmo

I tried this, but to no avail. How can I use redirect in twig templates in OC3?

Re: Twig redirect

Posted: Wed Aug 16, 2017 3:30 pm
by jornmo
Haha! I think I had been at work for too long yesterday, as I was sure I was quoting the Twig manual :) Is there any method to do redirects with twig templates? I want in particular to redirect the affiliate pages to common/home.

Re: Twig redirect

Posted: Fri Aug 18, 2017 5:44 pm
by letxobnav
twig is for layouts.
for redirects functionality better use the controller.