Add-on Demo won't install in 5.7.0b1

Permalink 2 users found helpful
The demo code for the Email List Signup add-on (http://andrewembler.com/files/6613/9829/8703/email_list_signup.zip) won't install on 5.7.0b1 because the package controller file isn't namespaced. The necessary modifications should also be added to Part 1 of the tutorial (http://www.concrete5.org/documentation/how-tos/developers/concrete5-5.7-add-on-development-part-1/ and on Andrew's blog).

Here's the new namespace and class declaration that I used so that it installs:
<?php
namespace Concrete\Package\EmailListSignup;
use Package;
use BlockType;
use SinglePage;
use Loader;
class Controller extends Package {
...


edit: fixed use statements

cpillz
View Replies:
andrew replied on at Permalink Reply
andrew
Thanks for pointing this out. Yes, this changed at some point between the how-to and beta 1. I've updated my how-tos.