Page 1 of 1
Add a new text_box for creating account
Posted: Tue Feb 24, 2009 5:52 pm
by giangel84
I need to customize the Creating Account page, with a new text_box_information, for insert the Company VAT number or user fiscal code (Partita Iva and Codice Fiscale for Italy).
Which file i need to modify?!
I've already found and modify: create.php (module), create.php (language), create.tpl (template)
but I'm not sure it can work well.
I need to add a new field in the database?
Re: Add a new text_box for creating account
Posted: Fri Feb 27, 2009 4:13 pm
by stefano78
Anch'io ho lo stesso problema.
Ho cominciato a guardare un po' il codice ma sembra abbastanza "ingessato". Credo proprio che tu debba modificare a mano oltre alle pagine che hai citato, anche i metodi delle classi che creano l'utente e ne restituiscono i valori oltre che le query SQL. Ovviamente è d'obbligo aggiungere i relativi campi sul DB (...tabella consumer?). Poi se ti interessa anche la fatturazione, dovresti mettere le mani anche sul template "invoice", per di più ci sono da modificare anche tutti i moduli che permettono all'utente di cambiare a piacimento i suoi dati...insomma un lavoraccio!

Ah, tutto IMHO dato che sto cominciando solo ora ad occuparmi di questo software.
Ciao,
Stefano.
Re: Add a new text_box for creating account
Posted: Sun Feb 21, 2010 3:31 am
by Cyberdude
Can you please translate to English, so other members understand?
Thanks
