Adding a new field into client profile
Page: 1
silverbitz
on Jan 28. 2007. 10:55 pm
Hello,
I'd like to be able to add a new field into the client profile page. Can you tell me where in the code should I be looking for that?
Thanks!!
I'd like to be able to add a new field into the client profile page. Can you tell me where in the code should I be looking for that?
Thanks!!
viceroy321
on Jan 29. 2007. 3:16 pm
sorry, trac is down at the moment, so i can't give you the specifics.
be sure to edit the database first.
then you have to add your field to application\models\users\base... then look at the controller (application\controllers\AccountController.class.php) and view(application\views\account) displaying profile and displaying edit-profile and add it there.
if you have done s/th like this before it is pretty much copy some existing item (like fax_number), paste it and change the names (into s/th like is_good_client). if trac is up again, i can show you exactly.
as i have not tried it myself, i may have missed something, but there is a starting point. if trac is up again, i can
be sure to edit the database first.
then you have to add your field to application\models\users\base... then look at the controller (application\controllers\AccountController.class.php) and view(application\views\account) displaying profile and displaying edit-profile and add it there.
if you have done s/th like this before it is pretty much copy some existing item (like fax_number), paste it and change the names (into s/th like is_good_client). if trac is up again, i can show you exactly.
as i have not tried it myself, i may have missed something, but there is a starting point. if trac is up again, i can
viceroy321
on Feb 4. 2007. 8:53 pm
ahhh... ilija? can we have a link to trac in the menu ? or at least..... hey. there was a "development" and a "contribute" link yesterday or the day before that....
where did they go ????
where did they go ????
Topic is locked. If you have something important to say about issues discussed on this page please write at hi@a51dev.com.



