You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
use BootstrapUI\View\UIViewTrait;
use Cake\View\View;
class AppView extends View
{
use UIViewTrait;
/**
* Initialization hook method.
*/
public function initialize(): void
{
parent::initialize();
// Call the initializeUI method from UIViewTrait
$this->initializeUI();
}
}
I have override this behavior in two ways 👍 Assign a layout to the template with $this->setLayout('layout'). as into controller $this->viewBuilder()->setLayout('default'); + 👍 Disable auto loading of the layout in BootstrapUI\View\UIViewTrait by adding $this->initializeUI(['layout' => false]); to your AppView's initialize() function.
Expected Behavior
My problem is that :
My default template is contain into the bootstrap-ui default template
I want only use my template with helper from trait, not the bootstrap-ui default
Actual Behavior
EXPLAIN WHAT IS ACTUALLY HAPPENING, HERE.
Before you open an issue, please check if a similar issue already exists or has been closed before.
P.S. Remember, an issue is not the place to ask questions. You can use Stack Overflow
for that or join the #cakephp channel on irc.freenode.net, where we will be more
than happy to help answer your questions.
The text was updated successfully, but these errors were encountered:
This is a (multiple allowed):
bug
enhancement
feature-discussion (RFC)
BootstrapUI Version: Last realease.
Bootstrap Framework Version: Last version
jQuery: Last version
Platform and Target: wampserver
What you did
I have install the plugin :
declare(strict_types=1);
namespace App\View;
use BootstrapUI\View\UIViewTrait;
use Cake\View\View;
class AppView extends View
{
use UIViewTrait;
}
Expected Behavior
My problem is that :
Actual Behavior
EXPLAIN WHAT IS ACTUALLY HAPPENING, HERE.
Before you open an issue, please check if a similar issue already exists or has been closed before.
P.S. Remember, an issue is not the place to ask questions. You can use Stack Overflow
for that or join the #cakephp channel on irc.freenode.net, where we will be more
than happy to help answer your questions.
The text was updated successfully, but these errors were encountered: