AdamDrury I cannot seem to find where the url location is for the header. Basically I want to set it so my website name when clicked on goes to the main page and not just back to flarums main page. Any ideas where I can find this. Seems the code side of things doesnt quite tell me the location of where thats coming from.
Bleed0xx The file you're looking for is in \vendor\flarum\core\views Edit this line in forum.blade.php <a href="{{ $forum->attributes->baseUrl }}" id="home-link"> Just note that whenever you update Flarum, forum.blade.php may get overwritten.
AdamDrury I've changed it to this, however for some reason the only way it works is if I right click it and open in new tab. Left clicking still throws me the forum page. Weird <h1 class="Header-title"> <a href="http://www.arcadianetwork.eu" id="home-link"> {{ $forum->attributes->title }} </a>
Bleed0xx Huh. I guess that means there's a click event tied to that element in the JS... You could try removing id="home-link"
AdamDrury Bleed0xx yup that did the job. home-link must be tied in as an overwrite somewhere then? Thanks for the assist ?
niiicou The JS event is on core/js/forum/src/initializers/boot.js line 60 // Route the home link back home when clicked. We do not want it to register // if the user is opening it in a new tab, however. $('#home-link').click(e => { if (e.ctrlKey || e.metaKey || e.which === 2) return; e.preventDefault(); app.history.home(); });