Harings Rob
03/01/2022, 6:42 AMHarings Rob
03/01/2022, 7:55 AMzoi
03/01/2022, 10:55 AMHarings Rob
03/01/2022, 11:20 AMzoi
03/01/2022, 11:29 AMkalle
03/01/2022, 11:31 AMconfig/app.php under providers list?zoi
03/01/2022, 11:31 AMHarings Rob
03/01/2022, 11:35 AMprotected $browserColumns = [
'title' => [
'title' => 'Title',
'field' => 'title',
],
'updated_at' => [
'title' => 'updated at',
'field' => 'updated_at',
],
]; on your module controller.ifox
03/01/2022, 11:38 AMHarings Rob
03/01/2022, 11:45 AM/**
* @param array $scopes
* @return \Illuminate\Database\Eloquent\Collection
*/
protected function getBrowserItems($scopes = [])
{
return $this->getIndexItems($scopes, true);
}ifox
03/01/2022, 11:46 AMifox
03/01/2022, 11:46 AMsearchIn()Harings Rob
03/01/2022, 11:48 AMView::composer('site.blocks.text', function (ViewView $view) {
$view->with('test', 'test!');
});
This should work as an example. ViewView is just an alias of the View classzoi
03/01/2022, 11:49 AMzoi
03/01/2022, 11:51 AMzoi
03/01/2022, 11:52 AMkalle
03/01/2022, 11:52 AM\View is not same as \lluminate\View\Viewkalle
03/01/2022, 11:53 AMzoi
03/01/2022, 11:56 AMHarings Rob
03/01/2022, 12:00 PMHarings Rob
03/01/2022, 12:00 PMHarings Rob
03/01/2022, 12:11 PMHarings Rob
03/01/2022, 12:12 PMHarings Rob
03/01/2022, 12:24 PMpublic function render()
{
return BladeCompiler::render(
self::removeSpecialBladeTags($this->contents),
[
'renderForBlocks' => true,
]
);
}amargoCactus
03/01/2022, 5:27 PMamargoCactus
03/01/2022, 5:33 PMifox
03/01/2022, 5:34 PMifox
03/01/2022, 5:35 PMifox
03/01/2022, 5:35 PMifox
03/01/2022, 5:35 PM