Best is to create jira tickets for each item in the PUR project, they
will most likely be applied immediately. The nasty duplicated folder
issue is already solved.
Thanks
- Philipp Bärfuss
On 06.10.2009, at 16:05, Bert Leunis wrote:
Hello Magnolians,
I see that you are starting work on the PUR module. On this moment I
work with PUR on one of our projects. The client will use PUR in a
slightly different way than the intended scenario. I have two ideas
that, when applied, can make the module more flexible. Thus the code
will serve more different scenarios, with little effort. I think
this can be achieved very easily and will lead to less programming
work when adapting/applying PUR, but instead configuration.
1. Add a new method to
info.magnolia.module.publicuserregistration.strategy.Mail: public
void validateRegistration(User user, Map<String, Object>
templateValues). This way the process using that class can add their
templateValues themselves.
2. When you need an extra strategy, you have to adapt the
PublicUserRegistrationConfig class. Instead of having a fixed set of
3 strategies, a list of strategies could be present in the config.
Probably a module class has to be created that loads the strategies
in a Map<String, Strategy>. From the module instance the strategy
can then be retrieved by name. (I created a sendPasswordStrategy).
Some other issue I have is with the tree Public Users. All folders
appear twice, in two shades. I didn’t change the config of that.
What’s wrong here?
<image001.png>
If you’re interested I may apply a small patch for these changes.
Many regards, Bert
----------------------------------------------------------------
For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------
----------------------------------------------------------------
For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------