Hello everyone,
We are playing around with Waterhole now, to see if its the right forum and investment for us. We already own a laravell website with lots of custom functionality, and we want the forum to be a sub page within that platform.
We have already integrated the authentication from another forum post here, but we are having some problems with our frontend.
How can we insert Waterhole inside another laravel project and keep our header and footer, without breaking all js and css on site. Anyone tried something similar before?
Thanks in advance,
3 Comments
@Toby could you maybe help explain if this is possible or not?
Is this project dead? @Toby
Hi @Thomas Thaulow, sorry for the delay! Not dead, just on a bit of a hiatus.
Rather than inserting Waterhole into your existing frontend, you'll need to insert your custom header/footer into Waterhole's frontend. You can do this using the LayoutBefore and LayoutAfter extenders along with some custom CSS.
The tricky thing is that Waterhole has its own design system that makes use of global styles and classes, so you may need to be careful/selective with which CSS you bring in from your own frontend, and possibly make some adaptations. It's possible in the future that I'll look at namespacing Waterhole's CSS to make customisations like this easier.