i'm thinking creating authentication override plug-in allow schools let students log in using username/password external database (such 1 use school network logins). idea plug-in will
1. go through usual #__users check
2. if no luck, search external database username , password
3. if match, either add them #_users , assign them group , repeat joomla login procedure (with success) or give them temporary access (i'm looking @ http://extensions.joomla.org/extensions ... dges/16903 this- not checked how yet )
4. if no match fail login.
in order this, i'll have create kinds of parameters put in database login details , basic options. 1 of options user group assign new (student) user to. given school websites can create own user groups, how can allow admin select dropdown of user groups in system? i'd rather not have them manually check groupid in user groups manager , enter (though guess that's option).
answer: there form field type called 'username' exact thing. durr!
the other thing i'd able allow them identify database belonging recognised student information system, , in way avoid having enter field names line required field names joomla needs (as data structure of these tables consistent). if select 'other', should able manually enter these in non-standard data structures. question this- can disable/hide these custom fields unless selects 'other'. in front end bit of js, i'm not sure if it's possible plugin parameters??? think?
these user interface niceties i'm thinking about-i think i've got processes sussed, expertise appreciated.
1. go through usual #__users check
2. if no luck, search external database username , password
3. if match, either add them #_users , assign them group , repeat joomla login procedure (with success) or give them temporary access (i'm looking @ http://extensions.joomla.org/extensions ... dges/16903 this- not checked how yet )
4. if no match fail login.
in order this, i'll have create kinds of parameters put in database login details , basic options. 1 of options user group assign new (student) user to. given school websites can create own user groups, how can allow admin select dropdown of user groups in system? i'd rather not have them manually check groupid in user groups manager , enter (though guess that's option).
answer: there form field type called 'username' exact thing. durr!
the other thing i'd able allow them identify database belonging recognised student information system, , in way avoid having enter field names line required field names joomla needs (as data structure of these tables consistent). if select 'other', should able manually enter these in non-standard data structures. question this- can disable/hide these custom fields unless selects 'other'. in front end bit of js, i'm not sure if it's possible plugin parameters??? think?
these user interface niceties i'm thinking about-i think i've got processes sussed, expertise appreciated.
hi andy
it not possible dynamically hide/enable fields in parameter section, though agree, nice if can.
most of time leave options open. e.g. in 1 of commercial extensions have built, there 3 fields:
1. assignment type: category/section
2. section: list of sections
3. category: list of categories
i think in case need 1 option other , textbox enter details if other.
btw form fields supported in joomla 1.6+ listed @ http://docs.joomla.org/form_field. might want have @ http://docs.joomla.org/sqlmultiselectx, developed sometime back. article isn't updated joomla 1.6/2.5 think.
it not possible dynamically hide/enable fields in parameter section, though agree, nice if can.
most of time leave options open. e.g. in 1 of commercial extensions have built, there 3 fields:
1. assignment type: category/section
2. section: list of sections
3. category: list of categories
i think in case need 1 option other , textbox enter details if other.
btw form fields supported in joomla 1.6+ listed @ http://docs.joomla.org/form_field. might want have @ http://docs.joomla.org/sqlmultiselectx, developed sometime back. article isn't updated joomla 1.6/2.5 think.
Comments
Post a Comment