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

Displaying threads with an alternative PAGE_CONTAINER template

Discussion in 'XenForo Development Discussions' started by Espen Espelund, Feb 1, 2012.

  1. Espen Espelund

    Espen Espelund Active Member

    I need to display specific threads below articles in WordPress using an iframe. So basically I need a way show the threads with an alternative PAGE_CONTAINER template, preferably by adding a query string to the url.

    Can someone give me a push in the right direction for doing this?
     
  2. Brogan

    Brogan XenForo Moderator Staff Member

  3. Espen Espelund

    Espen Espelund Active Member

    Thanks alot. I'll give it a try.

    Using a query string ( ?removedesign ) and setting robots noindex seems like a somewhat clean way to do it. The alternative would be a new route I guess
     
  4. Espen Espelund

    Espen Espelund Active Member

    Does anyone know if listening to some controller and watching for a query string to replace the container would screw up caching? Guess I might have to use routes after all.

    Any input on the best way to get a create a clean thread view for iframes would be great
     
  5. James

    James Well-Known Member

    Digital Doctor likes this.
  6. Espen Espelund

    Espen Espelund Active Member

    Made it work that way James. Thanks! :D
     

Share This Page