5541 Posts in 1738 Topics by 1224 members
|Go to End|
13 May 2014 at 1:20am
I'm using SS3.1, how can I replace the SecurityAdmin and MemberImportForm with my own custom methods to create a custom Member CSV import? I've tried
I've also attempted .yml settings, but I'm not very knowledgeable about YAML.
but neither of them work. Other than hacking the framework directly, is there a more elegant solution?
13 May 2014 at 2:00am
maybe this will work
13 May 2014 at 2:51am
That doesn't work either. MemberImportForm does loads of initializing in the __construct(...). The constructor can't be called when extending Extension rather than Form.
Tried going one level deeper to SecurityAdmin, but similiar issue with calling parent::init() function. Fatal error: Call to undefined method Extension::init() in E:\localhost\cbyc\mysite\code\CustomSecurityAdmin.php on line 35. I get stuck as I don't know how I can call the parent of $this->owner.
|Go to Top|