[
http://jira.magnolia.info/browse/MGNLPUR-17?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17238#action_17238 ]
will edited comment on MGNLPUR-17 at 7/24/08 1:28 PM:
------------------------------------------------------------------
I extended PUR to allow user registration in a certain context (e.g. a domain). Inside the PUR config folder a "contexts" folder must be created, which will contain configurations for each context to be used. If some config value in a context is not provided, the default value will be used. A sample contexts configuration is also attached.
I'm sure that the code is pretty crappy because I don't have all the insight yet in the magnolia "secrets" ;-) Still: It works well and you may add it to PUR if you think this might be a valuable extension.
-> I guess I will do the same thing for the other actions too.
was (Author: will):
New page to register within a context (passed in as parameter)
> defaultBaseUrl used in the email.html template should get it's value from the request URI
> -----------------------------------------------------------------------------------------
>
> Key: MGNLPUR-17
> URL:
http://jira.magnolia.info/browse/MGNLPUR-17> Project: Magnolia Public User Registration
> Issue Type: Improvement
> Reporter: Will Scheidegger
> Assignee: Gregory Joseph
> Priority: Minor
> Attachments: emailWithContext.html, MailInContext.java, RegisterInContext.java, RegisterInContext.java, user-registration-in-context.html
>
>
> The registration confirmation mails sent out use "defaultBaseUrl" to setup the link which lets the user confirm his/her registration. This value is taken form config:/server/defaultBaseUrl which makes it impossible to use PUR on more than one domain in an instance. It would be preferable if the base url + context path would be derived from the request URI.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.magnolia.info/secure/Administrators.jspa-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
----------------------------------------------------------------
for list details see
http://documentation.magnolia.info/----------------------------------------------------------------