Installing a 3rd party package

Laraship QuestionsCategory: TechnicalInstalling a 3rd party package
Sebastian asked 3 years ago
Hi guys, I am trying to install a forum package to use in the backend of Laraship subscriptHere is the link to the package: https://github.com/thedevdojo/chatter This package install in the vendor folder of the applications, and publishes a config files, its assets, and migrations. I think everything is going well, but the only progblem i am running into is that the blade files that come with the package do not properly use the Theme component you guys made. So it attempts to look for its layouts file in the resources/views/ folder as per standard laravel procdure. I did not attempt to transform this package into a laraship type module, as I'm trying to avoid that work if possible. Is there a way to hack this themeing issue so that it can use the themes that I have designated in my app? thanks, Sebastian
1 Answers
laraship Staff answered 3 years ago
Hello Sebastian, Unfortunately, we haven't used this package before, however, if the package used standard blade views, you only need to ask the vendor how to override the extension views and then add to the extended view the code needed
sebaqe replied 3 years ago

Thanks so much for answering. I will have to do this myself. Could you please give me a bit more detail, even high level, on what standard blade view are missing, and how to transform them into whatever Laraship is using?
Thanks so much,
Sebastian

laraship Staff replied 3 years ago

Hello,
Laraship is using the standard Laravel blade engine, so you need to check your theme and the available layouts under layout folder, then create a new route and controller to include a new template that extends these layouts and include your blade inside it