From 587737f9ed6423ef1a3a210c3d90a6c347185377 Mon Sep 17 00:00:00 2001 From: Ilya Sheershoff Date: Mon, 8 Jul 2013 19:32:35 +0600 Subject: [PATCH 1/2] add tables names to config sections of Readme.md, add module parameters table --- README.md | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/README.md b/README.md index 4fa2526..a05f882 100644 --- a/README.md +++ b/README.md @@ -59,6 +59,16 @@ Change your config main: # page after logout 'returnLogoutUrl' => array('/user/login'), + + # User model table + 'tableUsers' => array('user'), + + # Profile model table + 'tableProfiles' => array('user_profile'), + + # ProfileField model table + 'tableProfileFields' => array('user_profile_field'), + ), #... ), @@ -118,6 +128,16 @@ Change your config console: # page after logout 'returnLogoutUrl' => array('/user/login'), + + # User model table + 'tableUsers' => 'user', + + # Profile model table + 'tableProfiles' => 'user_profile', + + # ProfileField model table + 'tableProfileFields' => 'user_profile_field', + ), #... ), @@ -131,3 +151,8 @@ Run command: yiic migrate --migrationPath=user.migrations Input admin login, email and password + +Module parameters +----------------- + +
PropertyTypeDescriptionDefault
user_page_sizeintitems on page10
fields_page_sizeintitems on page10
hashstringhash methodmd5
sendActivationMailbooleanuse email for activation user accounttrue
loginNotActivbooleanallow auth for is not active userfalse
activeAfterRegisterbooleanactivate user on registration (only $sendActivationMail = false)false
autoLoginbooleanlogin after registration (need loginNotActiv or activeAfterRegister = true)true
registrationUrlarrayregitration patharray("/user/registration")
recoveryUrlarrayrecovery patharray("/user/recovery/recovery")
loginUrlarraylogin patharray("/user/login")
logoutUrlarraylogout patharray("/user/logout")
profileUrlarrayprofile patharray("/user/profile")
returnUrlarrayreturn path after loginarray("/user/profile")
returnLogoutUrlarrayreturn path after logoutarray("/user/login")
relationsarrayUser model relation from other modelsarray()
profileRelationsarrayProfile model relation from other modelsarray()
captchaarrayuse captchaarray('registration'=>true)
tableUsersstringUser model table{{users}}
tableProfilesstringProfile model table{{profiles}}
tableProfileFieldsstringProfileField model table{{profiles_fields}}
From a0b22101234b0488103f61d71b20ad7bb8b0fd3d Mon Sep 17 00:00:00 2001 From: Ilya Sheershoff Date: Mon, 8 Jul 2013 19:43:43 +0600 Subject: [PATCH 2/2] fixes missing td --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index a05f882..d20ed27 100644 --- a/README.md +++ b/README.md @@ -155,4 +155,4 @@ Input admin login, email and password Module parameters ----------------- -
PropertyTypeDescriptionDefault
user_page_sizeintitems on page10
fields_page_sizeintitems on page10
hashstringhash methodmd5
sendActivationMailbooleanuse email for activation user accounttrue
loginNotActivbooleanallow auth for is not active userfalse
activeAfterRegisterbooleanactivate user on registration (only $sendActivationMail = false)false
autoLoginbooleanlogin after registration (need loginNotActiv or activeAfterRegister = true)true
registrationUrlarrayregitration patharray("/user/registration")
recoveryUrlarrayrecovery patharray("/user/recovery/recovery")
loginUrlarraylogin patharray("/user/login")
logoutUrlarraylogout patharray("/user/logout")
profileUrlarrayprofile patharray("/user/profile")
returnUrlarrayreturn path after loginarray("/user/profile")
returnLogoutUrlarrayreturn path after logoutarray("/user/login")
relationsarrayUser model relation from other modelsarray()
profileRelationsarrayProfile model relation from other modelsarray()
captchaarrayuse captchaarray('registration'=>true)
tableUsersstringUser model table{{users}}
tableProfilesstringProfile model table{{profiles}}
tableProfileFieldsstringProfileField model table{{profiles_fields}}
+
PropertyTypeDescriptionDefault
user_page_sizeintitems on page10
fields_page_sizeintitems on page10
hashstringhash methodmd5
sendActivationMailbooleanuse email for activation user accounttrue
loginNotActivbooleanallow auth for is not active userfalse
activeAfterRegisterbooleanactivate user on registration (only $sendActivationMail = false)false
autoLoginbooleanlogin after registration (need loginNotActiv or activeAfterRegister = true)true
registrationUrlarrayregitration patharray("/user/registration")
recoveryUrlarrayrecovery patharray("/user/recovery/recovery")
loginUrlarraylogin patharray("/user/login")
logoutUrlarraylogout patharray("/user/logout")
profileUrlarrayprofile patharray("/user/profile")
returnUrlarrayreturn path after loginarray("/user/profile")
returnLogoutUrlarrayreturn path after logoutarray("/user/login")
relationsarrayUser model relation from other modelsarray()
profileRelationsarrayProfile model relation from other modelsarray()
captchaarrayuse captchaarray('registration'=>true)
tableUsersstringUser model table{{users}}
tableProfilesstringProfile model table{{profiles}}
tableProfileFieldsstringProfileField model table{{profiles_fields}}