Discussion:
[Citrusdb-users] Adding Additional Fields (particularly images)
Julian @ digitalctrl
2011-03-17 16:16:26 UTC
Permalink
Hello all!

I recently installed citrusDB and it is virtually flawless for my needs.
However, I would like to do some customization to the script,
particularly, I would like to add the ability to store pictures with the
customer records. I will either be scanning driver's license photos or
using a webcam to snap a picture of my customers.

Is there an addon available for this? If not, what would be a good place
to start to add fields to the customer record?

My thought is that the image file would be saved in a folder
(ie. ./identities) by the customer record number (ie. 10002.jpg). I am
not necessarily looking to add this when the customer record is created
but instead, upload the image to the folder and have it automatically
pulled upon record view.

Any ideas on where to start or what I should be looking for would be
great. Thanks.
--
Julian B. Wilson, Lead Professional
digitalctrl .:. Polished. Professional. Certified.
1.888.889.0522

For all your in-home & on-site computer needs for today's growing
digital world.

Check out our new home on the web:
http://digitalctrl.org
Paul Yasi
2011-03-18 14:38:19 UTC
Permalink
I'm not sure this would be something that would be useful in the release
version, maybe an option to add at some point. You could hack it in to the
customer view by adding some code to the modules/customer/index.php file
around line 203 replace it with something like:

"</table></td>".
"<td valign=top style=\"background-color: #dde;\">".
"<table><td rowspan=8><img src=\"images/$account_number.jpg\">".
"</td></table></td>".
"</table></form>";

Paul
Post by Julian @ digitalctrl
Hello all!
I recently installed citrusDB and it is virtually flawless for my needs.
However, I would like to do some customization to the script, particularly,
I would like to add the ability to store pictures with the customer records.
I will either be scanning driver's license photos or using a webcam to snap
a picture of my customers.
Is there an addon available for this? If not, what would be a good place to
start to add fields to the customer record?
My thought is that the image file would be saved in a folder (ie.
./identities) by the customer record number (ie. 10002.jpg). I am not
necessarily looking to add this when the customer record is created but
instead, upload the image to the folder and have it automatically pulled
upon record view.
Any ideas on where to start or what I should be looking for would be great.
Thanks.
--
*J*ulian *B*. *W*ilson, Lead Professional
digital*ctrl* .:. *Polished. Professional. Certified.*
*1.888.889.0522*
For all your *in-home* *&* *on-site* computer needs for today's growing
digital world.
http://digitalctrl.org
------------------------------------------------------------------------------
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d
_______________________________________________
Citrusdb-users mailing list
https://lists.sourceforge.net/lists/listinfo/citrusdb-users
--
The CitrusDB Project | http://www.citrusdb.org
Open Source Customer Care & Billing System
Loading...