Comments AlexanderWM started the conversationSeptember 16, 2020 at 11:03amMy blade template file super.blade.php is located in platform/themes/%theme_name%/views/super.blade.phpHow to access it from platform/themes/%theme_name%/src/HTTP/Controllers/%Theme_name%Controller.php I'm trying public function getMySuperPagePlease(Request $request) { return view('super'); }But path to view is wrong. What is correct way? 2,537Support repliedSeptember 16, 2020 at 11:34amHi,Use: return Theme::scope('super')->render();With data: $abc = 'aaa'; return Theme::scope('super', ['abc' => $abc])->render();Docs: https://docs.botble.com/cms/5.8/theme1 Like Sign in to reply ...
My blade template file super.blade.php is located in platform/themes/%theme_name%/views/super.blade.php
How to access it from platform/themes/%theme_name%/src/HTTP/Controllers/%Theme_name%Controller.php
I'm trying
But path to view is wrong. What is correct way?
Hi,
Use:
With data:
Docs: https://docs.botble.com/cms/5.8/theme