Post by jornmo » Tue Aug 15, 2017 9:35 pm

Hello!

I tried this, but to no avail. How can I use redirect in twig templates in OC3?
Last edited by jornmo on Wed Aug 16, 2017 3:30 pm, edited 1 time in total.

New member

Posts

Joined
Thu Oct 06, 2016 9:15 pm

Post by jornmo » Wed Aug 16, 2017 3:30 pm

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.

New member

Posts

Joined
Thu Oct 06, 2016 9:15 pm

Post by letxobnav » Fri Aug 18, 2017 5:44 pm

twig is for layouts.
for redirects functionality better use the controller.

Crystal Light Centrum Taiwan
Extensions: MailQueue | SUKHR | VBoces

“Data security is paramount at [...], and we are committed to protecting the privacy of anyone who is associated with our [...]. We’ve made a lot of improvements and will continue to make them.”
When you know your life savings are gone.


User avatar
Expert Member

Posts

Joined
Fri Aug 18, 2017 4:35 pm
Location - Taiwan
Who is online

Users browsing this forum: Bing [Bot], Google [Bot], lockbox, OSWorX, Semrush [Bot] and 100 guests