$user->sendThankYou();
I tried creating the following module:
class UserExtended extends User implements Module{
public static function getModuleInfo() {
return array(
'title' => 'Extended User Module',
'version' => 100,
'summary' => 'Extends Processwire\'s Core User Module',
'singular' => true,
'autoload' => true
);
}
public function sendThankYou() {
// Do something
}
}But I get the following error:
Class UserExtended contains 1 abstract method and must therefore be declared abstract or implement the remaining methods (Module::init) (line 18 of /home/hani/public_html/site/modules/UserExtended.module)
At that point, I thought, "Of course. "User" isn't a really a module. It's not in the Modules list. It extends Page."
I'd really appreciate any direction on how to do this.













