Recent content by CedNet

  1. CedNet

    XF 2.2 Using template outside of XF forum

    Thx my man. I will for sure try this out. Would I be able to do the same on the PAGE_CONTAINER template? Can I also set the nav tree / navigation ID at the same time? It'd then be perfect.I Can I somehow pass the current session to such template in order to show the logged in version of the...
  2. CedNet

    XF 2.2 Setting navigation ID for controller view

    Thx for taking time to answer. Specifically what I have done is making a controller with as little context as possible. It's basically a view with nothing in it. The purpose of this view is to act as an empty template (to be rendered as fast as possible) that I parse into the main website...
  3. CedNet

    XF 2.2 Using template outside of XF forum

    I made a super hack. I tagged certain areas of a custom view with what I want to use outside of the forum. Passing the current session via the file_get_conents() function I get all the JS, meta etc that I need outside of the forum. Both as guest and as a logged in user. My server is pretty...
  4. CedNet

    XF 2.2 Setting navigation ID for controller view

    Yes, finally google and found the answer. Why is there no documentation showing all the possible parameters or view options? For everyone else, this is the answer: $this->setSectionContext('forums');
  5. CedNet

    XF 2.2 Setting navigation ID for controller view

    I've created a simple controller with a view. Right now displays the _default menu ("no selected tab"). I want it to show the forums navigation menu. What is the parameters I should pass to the view to have it show the forum section / sub links?
  6. CedNet

    XF 2.2 Using template outside of XF forum

    New to XF (2) and migrated a large site from vB 4 this weekend. Intend to use XF outside of the forum. I'm loading the XF framework as per guides I've found here and \XF::start(). It all works and I can get the currently logged in user. But I can't figure out how to load a specific template...
  7. CedNet

    mod_rewrite problem when mixed with Laravel

    You are absolutely correct of course. Always forgets this. Got it working right away :)
  8. CedNet

    mod_rewrite problem when mixed with Laravel

    New to XenForo and on on my prod server (nginx) the rewrite is not acting the same as in dev (apache). XenForo is installed in /forum While in / the Laravel framework is responding Nginx Server When I enable SEO friendly URLs I get 404 response from the Laravel framework, hinting that the root...
Top Bottom