All,
I have a structure as follows:
- Main Application
- Custom Theme Plugin
- Plugin with AppController and other Controllers
I am using the custom theme plugin for my main application but the second plugin is defaulting to using the standard CakePHP theme. Is there any way to specify what theme it needs to use without changing the plugin files of the theme itself?
Thanks for your input in advance.
The answer was discovered after reading the selected response below. Answer was as follows I had the following:
class PluginSystemPluginsController extends Controller
It needed to be:
class PluginSystemPluginsController extends AppController
Also the AppController in my plugin was extending Controller and should be
use App\Controller\AppController as BaseController;
class AppController extends BaseController