Can I replace theme::....

chrisd

Oct 13th, 2024 07:00 PM

This is causing an issue with the Laravel Idea Plugin

@include('theme::partials.header')

It doesn't know what to do with that.

  • I use this plugin to save a lot of time, can jump around quickly, but in this case it doesn't understand it 2024-10-14 12_51_09-_Sem título-1.fw.png.jpg

Do you know how to configure Laravel Idea Plugin to accommodate for this kind of include? Or, will I have to search & replace it in all the files in: /resources/views/themes/tallstack ? What are the consequences if I just replace the text 'themes::' with 'themes.tallstack.' in that folder?

bobbyiliev

Oct 14th, 2024 12:26 AM

Hey there!

Unfortunately, I'm not super familiar with the Laravel Idea Plugin specifically. However, I would recommend reaching out directly to the plugin providers or checking out their documentation to see if there's an official way to configure the plugin for handling @include('theme::partials.header').

That being said, if you're okay with not using the theme:: directive, you can definitely do a search and replace to use the full path to the Blade views instead. So, you could replace 'theme::' with 'themes.tallstack.' in all the files under /resources/views/themes/tallstack.

Hope that helps! 🙌

- Bobby

chrisd

Oct 14th, 2024 12:36 AM

Okay thanks, I searched and replaced it in my theme folder, and all is workign so far.

bobbyiliev

Oct 14th, 2024 12:41 AM

Hey!

Sounds good! Happy to hear that it is working as expected.

- Bobby