Package controller
Permalink
Hi,
I think about rewriting my Foundation package to be concrete 5.7 compatible.
Actually (5.6.x) it looks like this:
https://github.com/vl-ad/c5f5boilerplate/blob/master/controller.php...
I changed the head of the controller to
I'm able to install the package in concrete 5.7.0b1 but the page theme and file attributes aren't installed. When I uninstall the package concrete says "Uninstalling c57f5boilerplate will remove the following data from your system." But there are no entries there. So I think my stuff isn't correctly registered in concrete 5.7.0b1.
Is there any documentation about package controllers in 5.7?
Thanks
vladd
I think about rewriting my Foundation package to be concrete 5.7 compatible.
Actually (5.6.x) it looks like this:
https://github.com/vl-ad/c5f5boilerplate/blob/master/controller.php...
I changed the head of the controller to
<?php namespace Concrete\Package\c57f5boilerplate; use Package; use Loader; use CollectionType; use PageTheme; use AttributeKeyCategory; use FileAttributeKey; class Controller extends Package { ...
I'm able to install the package in concrete 5.7.0b1 but the page theme and file attributes aren't installed. When I uninstall the package concrete says "Uninstalling c57f5boilerplate will remove the following data from your system." But there are no entries there. So I think my stuff isn't correctly registered in concrete 5.7.0b1.
Is there any documentation about package controllers in 5.7?
Thanks
vladd
I'd look into the classes that provide the functionality of installing (PageType, AttributeKeys) and see if their methods have been changed. You'll mind most of it within /web/concrete/core/.