Hi guys,
thank you for your work so far. I'm using Croogo 3.05 and want to extend it features. I've created a theme (which wasn't that easy, as every documentation i can find is made vor earlier Versions of the CMS) which i want to use in my plugin i'm creating right now. The Plugin is going to be a simple Backend Module with CRUD functionality and display in the frontend.
I'm stuck at how i can achieve to use my theme i created inside the views of my plugin? The CakePHP Documentation says
// For CakePHP before 3.1
public $theme = 'Modern';
public function beforeRender(\Cake\Event\Event $event)
{
$this->viewBuilder()->setTheme('Modern');
// For CakePHP before 3.5
$this->viewBuilder()->theme('Modern');
}
But how can i declare my plugin to use the theme i created and activated in the Backend of Croogo?
Thank you and Best Regards