Hi all please help me,
How to add text box field in "create new user" form and there by selected color should be inserted into users table and need to be update the inserted color in edit user form.
With Regards
Siva
Hi all please help me,
How to add text box field in "create new user" form and there by selected color should be inserted into users table and need to be update the inserted color in edit user form.
With Regards
Siva
Hi Siva
Please clarify your request in details.
It is foggy!
Cheers
André Lopes
DevToolKit / Project of the Month - June 2009
Lampada Global Services- Open Source Solutions
Avenida Ipiranga, 318
Bloco B - CJ 1602
São Paulo, SP 01046-010
Brazil
Office: +55 11 3237-3110
Mobile: +55 11 7636-5859
e-mail: andre@lampadaglobal.com
Lampada Global delivers offshore software development and support services to customers around the world.
Lampada is proud to be a SugarCRM Gold Partner, revolutionizing Customer Relationship Management.
I DO NOT answer questions through PM and Email. If you need some help post your question into SugarForum.
Hi,
Now I added one text box in "create new user form". I need to stored that text box value in "User" table and also updte. How can do that please help me...
with regards,
V.Siva
Hi all,
Please help me.....
advance thanks for usrs help...
thanks & Regards
Siva
1. Create an empty file modules/Users/metadata/studio.php;
2. Go to Admin -> Studio -> Users -> Fields -> and add the field you want (it will be created as a custom field);
3. Copy the files DetailView.html, DetailView.php, EditView.html, EditView.php from modules/Users/ to custom/modules/Users/
4. Edit the files EditView.php and DetailView.php from custom/modules/Users/ to update the path of html files (now they need to be pointed to custom/modules/Users/ folder);
5. Edit the files DetailView.html and EditView.html to add by hand the new field you just added through Studio.
Cheers
André Lopes
DevToolKit / Project of the Month - June 2009
Lampada Global Services- Open Source Solutions
Avenida Ipiranga, 318
Bloco B - CJ 1602
São Paulo, SP 01046-010
Brazil
Office: +55 11 3237-3110
Mobile: +55 11 7636-5859
e-mail: andre@lampadaglobal.com
Lampada Global delivers offshore software development and support services to customers around the world.
Lampada is proud to be a SugarCRM Gold Partner, revolutionizing Customer Relationship Management.
I DO NOT answer questions through PM and Email. If you need some help post your question into SugarForum.
Hi,
thanks for ur reply.....
I did that but i got this type of error when i click "create new user"
Fatal error: Call to a member function assign() on a non-object in C:\xampp\htdocs\sugarniki\trunk\modules\DynamicFie lds\DynamicField.php on line 746
Thanks & Regards
Siva
Hi,
please help..........me..........
Thanks & Regards
Siva
I get that error as well. Any advice?
Open the script modules/Users/EditView.php
Look for "Add Custom Fields"
Add the following lines just after:
CheersPHP Code:// ANDOPES BEGIN: 2010-02-01 23:18:00: FIX FOR BUG #33657
$xtpl = $sugar_smarty;
// ANDOPES END: 2010-02-01 23:18:00: FIX FOR BUG #33657
André Lopes
DevToolKit / Project of the Month - June 2009
Lampada Global Services- Open Source Solutions
Avenida Ipiranga, 318
Bloco B - CJ 1602
São Paulo, SP 01046-010
Brazil
Office: +55 11 3237-3110
Mobile: +55 11 7636-5859
e-mail: andre@lampadaglobal.com
Lampada Global delivers offshore software development and support services to customers around the world.
Lampada is proud to be a SugarCRM Gold Partner, revolutionizing Customer Relationship Management.
I DO NOT answer questions through PM and Email. If you need some help post your question into SugarForum.
Hi All,
Can anyone elaborate the procedure....i did tried but was not able to work it out.
I have attached files EditView.php, DetailView.php, EditView.html and DetailView.html. (All the files are at <root>\custom\modules\Users )
and have created field category_c and drop down list user_category_list through studio
I was able to get fields at edit view but doesn't save value at detail view.....i did check the database and if i manually populate through data base it works fine.....also i tired using logic hook to update database users_cstm table but not able to acces my custom fields.............
Please guide me.
Thanks.
Last edited by mangesh1757; 2010-06-22 at 06:13 AM.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks