[magnolia-user] Re: Struggling with first directive

2016-09-16 Thread Nils Breunese (via Magnolia Forums)
You could also expose functionality via your model class. Adding global context attributes can be a bit too much 'magic' sometimes and a call to model.someMethod() is always easy to track, which is especially important when you're working with multiple developers. You can always delegate the met

[magnolia-user] Re: Extends DefaultUserRegistrar Magnolia 5.4

2016-09-16 Thread via Magnolia Forums
The same question for me, because I've tried to override this implementation [url=https://wiki.magnolia-cms.com/display/DEV/Components+in+Magnolia#ComponentsinMagnolia-Definingcomponents]as described HERE[/url] but w/o luck: 1. Add within custom module (my-pur) dependency to PUR 2. specify my imp