This project is read-only.

Recipe - set some core settings

Topics: Administration
Jan 25, 2013 at 1:42 PM
Edited Jan 25, 2013 at 1:42 PM


in my new Recipe I need to turn on some settins, ie: RegistrationSettingsPartRecord.UsersCanRegister.

How can I do it?

Thank you.

Jan 25, 2013 at 1:46 PM

Here's an example: 

<?xml version="1.0"?>
        <Name>Your Recipe Name</Name>
        <Description>Your recipe description</Description>
        <Author>Your Name</Author>
        <RegistrationSettingsPart UsersCanRegister="true" UsersMustValidateEmail="false" UsersAreModerated="false" NotifyModeration="false" EnableLostPassword="true" />

Jan 25, 2013 at 2:05 PM

Perfect! Thank you.

Jan 28, 2013 at 7:28 AM

Is it possible to use user input as a value?

Lets say I would like to use SiteName privided by User during the setup for setting the "RegistrationSettingsPart.ValidateEmailRegisteredWebsite".

Jan 31, 2013 at 8:43 AM
No. You would have to modify the setup module for that.