• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

XF 1.3 xen:link redirect to same page

Mike Creuzer

Well-known member
#1
Hi there,

I am trying to create a link that changes the theme. I want the redirect. This is what I have:

Code:
<a href="{xen:link 'misc/style', '', 'style_id=32', '_xfToken={$visitor.csrf_token_page}', 'redirect={$redirect}'}"></a>
I want the link to change the theme and not show any change in page (no 'Are you sure you want to change the style' or anything). So if someone was in thread_view, they would see the theme change on that thread.

Much appreciated!
Mike