Re: upload image and insert the image name into the database for the right product

2007-05-05 Thread Joel Watson
In your INSERT statement, access the name of the file from your upload statement using #cffile.Serverfile#. Ex: cfif isDefined(FORM.submit) cffile. cfquery datasource=mydb INSERT INTO products (imagepath) VALUES ( '#cffile.Serverfile#' ) /cfquery Obviously, you will want

Re: Cleaning stored text to get valid XML

2007-05-05 Thread Les Mizzell
Re; http://www.nelsonmullins.com/rss/rss_newsletters.cfm Finally found a function that seems to clean most of the MS Word control characters and other crap out that was causing me probems. Using two filters on the body text seems to be taking care of my problems now.. cfscript function

Combining Images

2007-05-05 Thread Terry Troxel
Anyone know of a way to combine 2 images into one online? I am using imageCR3 and love it. I have two image upload fields and imageCR3 resizes each image to 360 pixels wide and I would like to end up with one image say 725 pixels wide with a 5 pixel border between each image in the final image.

Re: upload image and insert the image name into the database for the right product

2007-05-05 Thread Will Tomlinson
Ali, Just upload the image as usual to whatever directory you'll be using. If it's multiple images with multiple cffile's, and you're using MX7, use the result attribute which lets you specify your own variable name for each image. result=file1.serverfile result=file2.serverfile etc.. Once

RE: Combining Images

2007-05-05 Thread Bobby Hartsfield
Oh no! Someone finally found something that ImageCR3 can't do!!! ;-) I don’t see anything in the documentation about combining multiple images into 1 with imageCR3, sorry. :-( I've never tried to do this either so I have no suggestions. glad I could help lol Good luck -Original

RE: Can I ask a question? (RE: Frameworks)

2007-05-05 Thread Dawson, Michael
I guess what I am saying is that if you are so educated, why are you asking such a question. but hey if you thin you can design efficent patterns in DW then so be it, who are we to tell you otherwise. Thats why you did not need to ask.. Damn. That was kind of harsh. M!ke On 5/4/07, Jeff

RE: Combining Images

2007-05-05 Thread Terry Troxel
Hartsfield you joker smile, I know imageCR3 does not do this. I am asking nicely if someone out there has done something like this with any kind od CF scripting, tags, functions, cfs's, etc. I would appreciate any help in this as I know it has to be out there, but I haven't found any examples

Re: Cleaning stored text to get valid XML

2007-05-05 Thread Claude Schneegans
Finally found a function that seems to clean most of the MS Word control characters and other crap out that was causing me probems. Using two filters on the body text seems to be taking care of my problems now.. This will clean only about 1% of the crap, may be not even... Here is a function

Re: Combining Images

2007-05-05 Thread cftalk
This is why we created ImageFlare: cfx_imageflare source= b1 = Bitmap('#expandpath('1.jpg')#') b2 = Bitmap('#expandpath('2.jpg')#') gapsize = 5 fillcolor = Color('white') b3 = Bitmap(b1.width+b2.width+gapsize,b1.height) b3.fill(fillcolor) b3.paste(b1)

Re: Online WYSIWYG Editors

2007-05-05 Thread Matt Robertson
On 5/4/07, Will Tomlinson wrote: Is this the part where I make funny jokes about the name, FCKeditor?? You will be able to call it CFTextArea at some point in the future. I just read the following announcement: Adobe has chosen FCKeditor for one of the great new features of its next major

RE: Combining Images

2007-05-05 Thread Terry Troxel
Thanks Efflare, I asked on here first as I thought maybe I had missed something somewhere. I looked at the Efflare online docs and obviously missed that it did what I was looking for. I got your replies to the questions I posted on your site after I posted on here and all I have to say is I

Re: Cleaning stored text to get valid XML

2007-05-05 Thread Les Mizzell
This will clean only about 1% of the crap, may be not even... The data in question has been entered using fckeditor, what has taken care of a good bit of the problem stuff for me. It was the few things left over that fck didn't deal with that was giving me fits. I see some great potential

Re: Can I ask a question? (RE: Frameworks)

2007-05-05 Thread Andrew Scott
Yeah probably a little... On 5/6/07, Dawson, Michael [EMAIL PROTECTED] wrote: I guess what I am saying is that if you are so educated, why are you asking such a question. but hey if you thin you can design efficent patterns in DW then so be it, who are we to tell you otherwise. Thats

Select box sorting

2007-05-05 Thread Coldfusion
After searching Google, cflib, and other sources I can not find a tool that I use to use long time ago. I am looking for the ability to have 2 select boxes (source and destination) and I can move an item from source to the destination and then move it either up or down the destination list box.

Re: Combining Images

2007-05-05 Thread Claude Schneegans
with a 5 pixel border between each image in the final image. You could have even better, much better: hundreds of different frames, without having to modify your image. See CF_PictureFrame: http://www.contentbox.com/claude/customtags/Frames/testPictureFrame.cfm --

RE: Combining Images

2007-05-05 Thread Terry Troxel
Claude, Thank you for your response, but with Efflare's help I have it doing what I needed and then some. My user uploads 2 images, a before and an after shot which imageCR3 resizes and optimezes each. Then Imageflare creates 2 text images on saying Before in grey and one saying After in black.

RE: Combining Images

2007-05-05 Thread Pete
Hi there I'm very interested in what you are doing especially with before and after shots. Do you have a URL, I would very much like to browse to your site and have a look. Kind regards Pete -Original Message- From: Terry Troxel [mailto:[EMAIL PROTECTED] Sent: Sunday, 6 May 2007

Re: Select box sorting

2007-05-05 Thread James Holmes
You might be able to modify the mxAjax slushbox to do it: http://www.indiankey.com/mxajax/examples/mxSlushBox1.cfm Maybe add arrows at the sides of the destination to allow you to sort the items. On 5/6/07, Coldfusion [EMAIL PROTECTED] wrote: After searching Google, cflib, and other sources I

CFMX7 Upgrade / Server keeps restarting...

2007-05-05 Thread Brook Davies
I just upgraded from CFMX 6.1 to CFMX 7 (and installed the updaters to get to 7,0,2,142559) and now the CF server restarts itself almost every hour and I am getting java hot spot errors. I have tried a couple of different JVM's and arguments without much luck. I tried disabling the HotSpot runtime

CFMX7 Upgrade Server keeps Restarting

2007-05-05 Thread blists
I just upgraded from CFMX 6.1 to CFMX 7 (and installed the updaters to get to 7,0,2,142559) and now the CF server restarts itself almost every hour and I am getting java hot spot errors. I have tried a couple of different JVM's and arguments without much luck. I tried disabling the HotSpot runtime

cflog writes data to the coldfusion-output.log

2007-05-05 Thread blists
Also, in CFMX 6.1, the cflog tag was working correctly writing data to the c:\cfusionmx\logs\ directory, but now it seems to be randomly adding data to the coldfusion-out.log file. ~| ColdFusion MX7 and Flex 2 Build sales

cflog writes data to the coldfusion-output.log

2007-05-05 Thread blists
Also, in CFMX 6.1, the cflog tag was working correctly writing data to the c:\cfusionmx\logs\ directory, but now it seems to be randomly adding data to the coldfusion-out.log file. It will write it to the file specified in the cflog tag in the logs directory but it is also appending it to the

CFMail Text Scrub

2007-05-05 Thread Joel Watson
I have a forum that automatically emails topic replies to subscribers. However, I am having a difficult time getting the text to display properly. I have tried a number of code cleaning functions, but the end result is all the same. Is there something special I have to do to get special

Re: Select box sorting

2007-05-05 Thread Mike Little
try - http://www.pengoworks.com/qforms/docs/examples/containers.htm regards mike After searching Google, cflib, and other sources I can not find a tool that I use to use long time ago. I am looking for the ability to have 2 select boxes (source and destination) and I can move an item from

extracting set of numbers from unique reference

2007-05-05 Thread Mike Little
hi guys, i have a merchant reference number that is passed from a payment gateway, in the format of... 'P' LSDateFormat(now(), mmdd) '-' txn_id so it could be... P20070506-1, P20070506-2 or P20070506-59 what i wish to be able to do is query a database based on the last set of numbers

Re: extracting set of numbers from unique reference

2007-05-05 Thread Charlie Griefer
listLast(num, '-') On 5/5/07, Mike Little [EMAIL PROTECTED] wrote: hi guys, i have a merchant reference number that is passed from a payment gateway, in the format of... 'P' LSDateFormat(now(), mmdd) '-' txn_id so it could be... P20070506-1, P20070506-2 or P20070506-59 what i

Lack of CF understanding: Info Week

2007-05-05 Thread Eric J. Hoffman
Not to add to the hornet's nestwell, okay maybe, but back to the issues we deal with in perceptions with CF. This time not price, just a pure lack of focus on what the CF platform can do from a review of a site that moved from a mixed bag of CF and .Net to Java after acquisitions:

RE: Combining Images

2007-05-05 Thread Terry Troxel
Pete, It's only on my server at work for now, but you can dl the trial tags from efflare.com and have at it. This creates the before and after images 1a.jpg and 2a.jpg cfx_imageflare source= b = Bitmap() f = Font( 'Arial', 12 ) b.size( f.getdimensions('Before') ) b.fill( Color('white') )