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

XF 2.0 Returned view is showing inside popup

CMTV

Active member
#1
Hi!

I have extended Thread class and added my own action... methods.

At the end of my action I want to simply show current thread (with page refresh) (thread where my button was clicked):

PHP:
return $this->redirectPermanently($this->buildLink('threads', $thread));
The problem is that current thread is showing inside popup:
Screenshot_1.png
I need to simply refresh current thread page.
 

Mike

XenForo developer
Staff member
#2
This would relate more to the JS side of things (or the HTML that interacts with it). How is this being triggered? What HTML are you using?