I need to add a field to a form to allow people to upload photos associated with that record. Anyone know a module that can do this for me?
I need to add a field to a form to allow people to upload photos associated with that record. Anyone know a module that can do this for me?
Hi,
You can look at the modules/Notes/metadata/editviewdefs.php
The field called 'filename' for sure implements what you need to do.
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.
Ok I'll try looking at that.
If i want to have more than one photo, then it would be cool to have something similar to notes but without having to put in all the stuff about it being related to a contact or a meeting etc.
Maybe I should create a module that is a cut down version of notes and then figure out how to relate that to my main module.
Hi, ztolley
For sure! It is a great idea.
Create a new module derived from Basic Template, create just a new field, which will be related to a file.
Create a relationship one-to-many between this one and you module.
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.
Thats the big one....
How do I create the one to many relationship between the two? I tried this before following an article on here and best I managed to get was to get the panel working showing my children in my parent edit screen bt when I clicked crate i got a blank form.
Hi, ztolley
Take a look at this article into sugarwiki.
http://www.sugarcrm.com/wiki/index.p...s_in_Sugar_5.0
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.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks