Thursday 19 March 2009 1:45:33 am
Hi Jan! Thanks for reply! I don't know how to make my own extension work... I tell you what I have already done....I dont't know if it's the right way... I have already copied a siteaccess, and I succeed in register a user in another usegroup
www.mysite.com/index.php/business/user/register > register a user in business usergroup www.mysite.com/index.php/ita/user/register > register a user in member usergroup
Here my problem
1 - when I try to log-in a business user login failed 2 - i need to change the form (I have done a new class but I don't know how use it in the registration form). I think I have probably made some mistake somewhere. I explain step by step what I have done. I created a new directory named "business" and populated it with files copied from another siteaccess
Then I modified the files:
ez/settings/override/site.ini.append.php
ez/settings/siteaccess/business/site.ini.append.php
to add this:
SiteListe[]=business AvailableSiteAccessListe[]=business
and
[UserSettings] DefaultUserPlacement=601 (new usergroup I have created) Then copy and paste additional design directory in: design/business/templates/user/ replace all design/standard/user with design/business/user grant access to all siteaccess clear all caches Another strange thing...in both forms the password field haven't type="password" attribute anymore (I notice it in HTML source) so I see password clean (not with ****) Any ideas?!
Thanks! Luca
|