This query was working in CF8 and now it will not work in CF9 on my server
Error Executing Database Query. [Macromedia][SequeLink JDBC Driver][ODBC Socket][Microsoft][ODBC Microsoft Access Driver] Syntax error in INSERT INTO statement.The error occurred in *C:\Inetpub\wwwroot\it-werks\LIBERTREE\index.cfm: line 7* 5 : cfquery name=addcat datasource=#dsn# maxrows=1 6 : insert into cats(atitle,desc)*7 : values('#atitle#','#desc#')* 8 : /cfquery 9 : cfelseif x is update -- SQLSTATE 42000 SQLinsert into cats(atitle,desc) values('f','g') VENDORERRORCODE -3502 DATASOURCE libertree ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:356145 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: This query was working in CF8 and now it will not work in CF9 on my server
That was it changed to desc1. Thank you very much. Terry On Tue, Jul 9, 2013 at 5:08 PM, Scott Stewart webmas...@sstwebworks.comwrote: A couple of things though Desc is a SQL reserved word. You may need to express the field name as [desc]. Second please wrap those variables in cfqueryparam tags. On Jul 9, 2013 8:05 PM, Scott Stewart webmas...@sstwebworks.com wrote: Nevermind... Damn text wrap on the phone. On Jul 9, 2013 8:04 PM, Scott Stewart webmas...@sstwebworks.com wrote: What's the *7 and the * at the end? On Jul 9, 2013 7:59 PM, Terry Troxel terry.tro...@gmail.com wrote: Error Executing Database Query. [Macromedia][SequeLink JDBC Driver][ODBC Socket][Microsoft][ODBC Microsoft Access Driver] Syntax error in INSERT INTO statement.The error occurred in *C:\Inetpub\wwwroot\it-werks\LIBERTREE\index.cfm: line 7* 5 : cfquery name=addcat datasource=#dsn# maxrows=1 6 : insert into cats(atitle,desc)*7 : values('#atitle#','#desc#')* 8 : /cfquery 9 : cfelseif x is update -- SQLSTATE 42000 SQLinsert into cats(atitle,desc) values('f','g') VENDORERRORCODE -3502 DATASOURCE libertree ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:356150 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Safety for image uploads
Question: If I have a browse for a user to try an upload of a JPG only file and use CFIMAGE to resize and then convert it to a PNG so I can add it to a demo slide show for the user to preview, have I eliminated any possible safety issues? Terry ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:355937 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
JRun errors after security patch install
Hello -- I installed the security patch last night on cf 9.1 linux, and woke up this morning to find that some of our templates no longer work: [Wed Jan 16 09:28:27 2013] [notice] jrApache[1978: 53193] returning error page for JRun too busy or out of memory They return a 500 error to the user. The commonality in the templates that are doing this is that they have lots of FORM variables. So, they're dealing with a lot of form input. They have worked perfectly for years, up til this patch. Has anyone else experienced this? We are running on linux/apache. Regards ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:353929 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: JRun errors after security patch install
That's the problem -- thanks for the response! JRun too busy or out of memory as an error message for form variable limit reached could probably be improved upon ;) Regards, Terry From: Carl Von Stetten vonner.li...@vonner.net To: cf-talk cf-talk@houseoffusion.com Sent: Wednesday, January 16, 2013 8:49 AM Subject: Re: JRun errors after security patch install Terry, I assume you are referring to the latest patch released earlier this week. Since it was a cumulative patch, it included some previously released security improvements as well as the new ones. One of the older security improvements was to add a Post Parameter Limit setting to prevent denial of service (DOS) attacks using hash algorithm collisions. You can find details of the issue here http://www.adobe.com/support/security/bulletins/apsb12-06.html. The default value for this new setting is 100, but you can increase it if you need to. Instructions to do this can be found here http://helpx.adobe.com/coldfusion/kb/coldfusion-security-hotfix.html. HTH, -Carl V. On 1/16/2013 7:36 AM, Terry Ford wrote: Hello -- I installed the security patch last night on cf 9.1 linux, and woke up this morning to find that some of our templates no longer work: [Wed Jan 16 09:28:27 2013] [notice] jrApache[1978: 53193] returning error page for JRun too busy or out of memory They return a 500 error to the user. The commonality in the templates that are doing this is that they have lots of FORM variables. So, they're dealing with a lot of form input. They have worked perfectly for years, up til this patch. Has anyone else experienced this? We are running on linux/apache. Regards ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:353938 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Secure Image Uploads
I am looking for a safe and secure way to put an example page on my site that will allow a potential client to upload a JPG in order to see an example of a responsive photo gallery he can create using my new responsive web template I am in the process of building. Here is what I am considering in the upload process: 1...JPG extension only 2...file size limit 3...remove exif data if it exists 4...Convert file to PNG and save after doing the resizing, etc. that I need to. I would like some opinions, suggestions, etc. to tell me if I am missing something or there is any other avenues I can persue to accomplish my goal to stop anyone from using this to hack my site. Terry ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:353539 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
efflare cfx image cr 3
Has anyone tried to use CFX_IMAGECR3 with windows server 64 bit and CF9 64 bit successfully? Terry ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:353063 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: In-use connections equal max-pool-size and expired max-wait-time.
Hello, We have an application that is connecting to a sql server database by initiating pool connections through the app server. The connections are idle, but not being released and causing the following error: javax.enterprise.resource. resourcead apter|_ThreadID=20;_ThreadName=httpSSLWorkerThread-38120-2;able;In-use connections equal max-poo l-size and expired max-wait-time. Cannot allocate more connections. ;_RequestID=6cc19083-f20a-4501-b3af-3045dddbdc42;|RAR5117 : Failed to obtain/create connection from connection pool [ able ]. Reason : In-use connections equal max-pool-size and expired max-wait-time. Cannot allocate more connections.| Does anyone know why this happens and how we can address the issue? . I would try the following. First look at your firewall rules, make sure both the SQL server and the CF server are not Firewalling each other, they should both technically be on the same LAN, but could be a TCP state flag not being properly set Restart your coldfusion service, restart your SQL Service Next, If they are on the same lan, and you are not using IPv6, Disable it on both The CF Server, and the SQL Server, as it usually misconfigured and still has some issues with implementation on various programs. If this is a MS SQL Server you can look at the DB Stats, which can tell you what exactly is going on with your DB in terms of connections # - Isolate top waits for server instance since last restart or statistics clear WITH Waits AS (SELECT wait_type, wait_time_ms / 1000. AS wait_time_s, 100. * wait_time_ms / SUM(wait_time_ms) OVER() AS pct, ROW_NUMBER() OVER(ORDER BY wait_time_ms DESC) AS rn FROM sys.dm_os_wait_stats WHERE wait_type NOT IN( 'BROKER_TASK_STOP', 'BROKER_TRANSMITTER', 'SQLTRACE_BUFFER_FLUSH', 'CLR_AUTO_EVENT', 'CLR_MANUAL_EVENT', 'BROKER_EVENTHANDLER', 'REQUEST_FOR_DEADLOCK_SEARCH', 'XE_TIMER_EVENT', 'LAZYWRITER_SLEEP', 'SQLTRACE_WAIT_ENTRIES')) -- filter out additional irrelevant waits SELECT W1.wait_type, CAST(W1.wait_time_s AS DECIMAL(12, 2)) AS wait_time_s, CAST(W1.pct AS DECIMAL(12, 2)) AS pct, CAST(SUM(W2.pct) AS DECIMAL(12, 2)) AS running_pct FROM Waits AS W1 INNER JOIN Waits AS W2 ON W2.rn = W1.rn GROUP BY W1.rn, W1.wait_type, W1.wait_time_s, W1.pct HAVING SUM(W2.pct) - W1.pct 95; -- percentage threshold If you are still having trouble, I need details about both hosts, OS, SQL Server Type, Version, ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:352919 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Coldfusion and @query
I am trying to get my head around some of this CSS3 and @media queries. Is there a way to incorporate a css media query to say change the template name in a cfinclude? I am really liking the Responsive fluid layout scenarios in Dreamweaver CS6 , but would like to also change page content as well. Any links, suggestions would be greatly appreciated. Terry ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:352862 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Coldfusion and @query
Raymond, Thank you. It sure seems like we could use a way to capture the way media query doesw it so we could use it to our needs in CF. How about javascript? Tweet On Sun, Oct 7, 2012 at 12:00 PM, Raymond Camden raymondcam...@gmail.comwrote: CSS is executed on the client. cfinclude on the server. So... no. On Sun, Oct 7, 2012 at 10:40 AM, Terry Troxel terry.tro...@gmail.com wrote: I am trying to get my head around some of this CSS3 and @media queries. Is there a way to incorporate a css media query to say change the template name in a cfinclude? I am really liking the Responsive fluid layout scenarios in Dreamweaver CS6 , but would like to also change page content as well. Any links, suggestions would be greatly appreciated. Terry ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:352864 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: Mailing list for Responsive and Adaptive Web Design
I give this idea a HUGE PLUS!!! Terry -Original Message- From: Rick Faircloth [mailto:r...@whitestonemedia.com] Sent: Sunday, September 16, 2012 9:14 AM To: cf-talk Subject: Mailing list for Responsive and Adaptive Web Design ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:352634 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Help with creating a mobile website with CF
I could sure use some help getting a grasp of where to start learning how to create mobile websites for Iphones and Android using coldfusion. Terry Troxel ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:352623 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: Help with creating a mobile website with CF
Thank you Rick, This is exactly what I was looking for. I have a lot of reading ahead of me and then a lot of work to put it all in play. Terry Troxel -Original Message- From: Rick Faircloth [mailto:r...@whitestonemedia.com] Sent: Saturday, September 15, 2012 11:39 AM To: cf-talk Subject: RE: Help with creating a mobile website with CF Hi, Terry... My perspective, after creating a couple of real estate mobile sites which make heavy use of ColdFusion, is that ColdFusion has little to nothing to do with whether or not a site is mobile. ColdFusion simply puts content on the page in raw form. The work of making a site mobile is done mainly in the CSS realm. (CSS3 to be more precise...) I use HTML5, ColdFusion, jQuery, and CSS3 to design and develop my mobile sites. But before you start down the path of making mobile sites (smartphone) that are designed separately from their tablet, and desktop brothers and sisters, let me encourage you to delve into Responsive and Adaptive Site Design. I think this is the future. Not only does it make developing for multiple sized devices simpler, it allows you to keep all the sites or should I say adaptations of the site under one domain, instead of site.com for desktop, site.mobi, for another one of the versions, and m.site.com for another. It becomes very difficult for site owners to promote all those domains and subdomains to customers. Responsive and Adaptive Web Design Development, again, keeps everything under one domain and that also helps a lot with SEO/SEM. So, do some searching for Responsive Web Design and Adaptive Web Design, learn the distinctions (they're not that different), understand them and you'll be off to a good start. Just some thoughts to help you get start on a journey of change that I started about a year ago and am still working on getting figured out. Hope this helps! Rick -Original Message- From: Terry Troxel [mailto:terry.tro...@gmail.com] Sent: Saturday, September 15, 2012 1:57 PM To: cf-talk Subject: Help with creating a mobile website with CF I could sure use some help getting a grasp of where to start learning how to create mobile websites for Iphones and Android using coldfusion. Terry Troxel ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:352626 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: Adding a border to text using CFImage
Leigh, Here is my test page using the Basic Example as you said: !DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.01 Transitional//EN html head titleUntitled/title /head body cfset wordart = createObject(component, wordart).init() / cfoutput #wordart.getArt(CFWheels is the future and the future is written in ColdFusion, {font=LinLibertine, fontstyle=bolditalic, fontSize=30})# #wordart.getArt(The future is written in ColdFusion)# /cfoutput /body /html It is running in c:\inetpub\wwwroot\wordart\ The 2 files, test.cfm, wordart.cfc are in that folder with no subfolders. Here is the error: The CFML compiler was processing: An expression beginning with wordart.getArt, on line 9, column 10.This message is usually caused by a problem in the expressions structure. The body of a cfoutput tag beginning on line 8, column 2. The error occurred in C:\inetpub\wwwroot\1wordart\test.cfm: line 9 7 : cfset wordart = createObject(component, wordart).init() / 8 : cfoutput 9 : #wordart.getArt(CFWheels is the future and the future is written in ColdFusion, 10 : {font=arial, fontstyle=bolditalic, fontSize=30})# 11 : #wordart.getArt(The future is written in ColdFusion)# ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:349989 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: Adding a border to text using CFImage
Yes, I thought I stated that somewhere in the original thread. I tried it in CF9 and it works, thank you a bunch leigh for putting up with my lack of knowledge. So this cfc will not work using CF8 or could you show me a way to call it in there? Terry ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:349995 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: Adding a border to text using CFImage
LEIGH, This is crazy again. I uploaded the folder with the test.cfm and the cfc to a CF9 server and as I said it worked. I sent you my last reply stating that. Went back and reran the file and I get red x's where the demo images were but the plain text is there net to the red x. I deleted the folder, reuploaded and red x's again. I looked at the directory structure and it has created a tree of new folders and the png images with superlong filenames are there. I then hand typed the url to the images and they displayed perfectly. Terry ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:349998 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Adding a border to text using CFImage
Leigh it went from better to worse. I said it worked when I put the 3 files in a folder off wwwroot called wordart in my laptop with CF 9. It works perfectly. I then uploaded it to my windows 2003 server with CF 9 into a sub folder called wordart in my website. It worked PERFECTLY ONCE. now if I go back there I get this error: Variable ___IMPLICITARRYSTRUCTVAR0 is undefined. Why does it run without errors on my local machine and not the server. I googled the error and Ben Nadel has a post on it, but I can't decipher the reason it's happening on one and not the other. Terry ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:350009 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: Adding a border to text using CFImage
Gerald, Thank you almighty Digital Pack Rat smiling Really Thank you. I haven't opened it yet, but I am on my way. Terry -Original Message- From: Gerald Guido [mailto:gerald.gu...@gmail.com] Sent: Sunday, February 19, 2012 6:55 PM To: cf-talk Subject: Re: Adding a border to text using CFImage ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:349957 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: Adding a border to text using CFImage
Leigh, I removed the 2 lines and pasted in the example lines with a semi colon at the end. The result is a solid image, but no stroke. Here's what I added: // color in the text Color = createObject(java, java.awt.Color); graphics.setColor( Color.decode(##80aa1c) ); graphics.fill( shape ); // create a thin border stroke = createObject(java, java.awt.BasicStroke).init( 1 ); graphics.setStroke( stroke ); graphics.setColor( Color.decode(##800080) ); graphics; Can you see anything wrong? Terry ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:349958 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: Adding a border to text using CFImage
Gerald, I cannot believe all the things this cfc is supposed to do, but it keeps throwing errors about missing arguments and I can't find anything wrong. Missing argument name C:\inetpub\wwwroot\1wordart\index.cfm: line 105 103 : Output: 104 : p 105 : #wordart.getArt(text=CFWheels is the future and the future is written in ColdFusion, 106 : options={style=simple, font=Trebuchet MS, fontstyle=bolditalic, fontSize=30, wrapWidth=350})# 107 : /p I sure hope someone else has better success as this is a cool tool if it works. Terry ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:349959 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: Adding a border to text using CFImage
This is the complete code which displays the text perfectly in GREEN with NO border. I am at a loss. Terry cfscript width = 330; height = 150; text = Crossfade; // Create a new image that supports transparency transparentImage = ImageNew(, width, height, argb); graphics = ImageGetBufferedImage(transparentImage).createGraphics(); // Add rendering hints to smooth text edges RenderingHints = createObject(java, java.awt.RenderingHints); graphics.setRenderingHint( RenderingHints.KEY_ANTIALIASING, RenderingHints.VALUE_ANTIALIAS_ON ); graphics.setRenderingHint( RenderingHints.KEY_RENDERING, RenderingHints.VALUE_RENDER_QUALITY ); // Create a graphical representation of the text Font = createObject(java, java.awt.Font); textFont = Font.init(Arial, Font.PLAIN, width / 5 ); fontContext = graphics.getFontRenderContext(); layout = createObject(java, java.awt.font.TextLayout).init(text, textFont, fontContext); // Center text outline transX = (width/2) - (layout.getBounds().getWidth()/2); transY = (height/2) + layout.getDescent(); transform = createObject(java, java.awt.geom.AffineTransform).init(); transform.setToTranslation( 5, 100 ); // Draw the text outline onto the image shape = layout.getOutline(transform); // fill in the text Color = createObject(java, java.awt.Color); graphics.setColor( Color.decode(##80aa1c) ); graphics.fill( shape ); // create a thin border stroke = createObject(java, java.awt.BasicStroke).init( 5 ); graphics.dispose(); /cfscript cfoutput !--- display raw image --- cfimage source=#transparentImage# action=writeToBrowser !--- display WITH background --- div style=background-color: ##80; width: #width#; height=#height#; cfimage source=#transparentImage# action=writeToBrowser /div /cfoutput ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:349972 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: Adding a border to text using CFImage
Thanks Leigh, I finally got it all pieced together and it works as you said it would. Is there anywhere I can find documentation that will allow me to resize the fontsize and the stroke width and maybe make the stroke go outside instead of inside? Obviously I am not a java pro like you and I do not want to become more of a pain then I already am. But this is really great. Terry ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:349974 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: Adding a border to text using CFImage
Well when I play with the numbers in the code it seems if I raise the init setting it widens the stroke/border, but the thickness seems to go inwards instead of outwards from the outside edge of the text. Is that a better explanation? His code is awesome, I just would like to know how to size things and understand it better as I am no java programmer, just a half-assed Coldfusion scripter that enjoys the heck out of this stuff. Terry -Original Message- From: Leigh [mailto:cfsearch...@yahoo.com] Sent: Monday, February 20, 2012 2:56 PM To: cf-talk Subject: Re: Adding a border to text using CFImage I finally got it all pieced together and it works as you said it would. Well the code may have gotten a bit garbled somewhere, adding to the confusion. Sorry about that. maybe make the stroke go outside instead of inside? What do you mean by outside? The font and stroke width can be changed through the constructor. (Btw, I am no expert myself. I just spent a lot of time reviewing the javadocs ;-) http://docs.oracle.com/javase/6/docs/api/java/awt/Font.html#Font%28java.lang .String,%20int,%20int%29 ie textFont = Font.init(Arial, Font.PLAIN, **fontSize); http://docs.oracle.com/javase/6/docs/api/java/awt/BasicStroke.html#BasicStro ke%28float%29 ie stroke = createObject(java, java.awt.BasicStroke).init( *width ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:349977 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: Adding a border to text using CFImage
Lei- Exactly right. In Photoshop its done with layers and stroke and the stroke can be Inside, outside and middle. I just sent a request to sam...@codecurry.com asking if his wordart.cfc is still active and open source. Hopefully he will reply as the documentation as to what it can do is awesome and would be a worthwhile Tool to have in your toolbox. Terry ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:349979 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: Adding a border to text using CFImage
Leigh, All I did was to run the index as is. I do not know where to change the syntax which is probably why I am getting errors. Terry ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:349986 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Adding a border to text using CFImage
I have searched all over and so far am empty handed trying to put a color border or stroke around text created with CFImage. I also own Efflare's Imageflare and don't see anything in there either. If someone has any suggestions or links, I would appreciate it greatly. Terry ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:349944 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Sending an email by fax solution
Any suggestions as to a good solution to have an email sent to a fax service from my website in CF? Terry ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:349623 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: IP Geolocation API?
GEOIP Try Maxmind they have a free version. -Original Message- From: webmas...@pegweb.com [mailto:webmas...@pegweb.com] Sent: Monday, January 23, 2012 1:09 PM To: cf-talk Subject: IP Geolocation API? Anybody know of any API services out there (free would be best) that allow the lookup of a person's location based on their IP address? Trying to implement a system for a client that is show me the closest 5 locations to my area type of thing and they don't want to use zip code. Any ideas much appreciated. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:349618 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: Richtext Editor Woes
Thanks Russ, But turning off the buttons did not satisfy the CF security updates. So since I had an abundance of time this weekend I installed, configured the Following and I am now a happy camper: CKEditor, latest version, CFFM latest version by Mr. Rick Root (Loud Applause), And I now have an image manager that I think puts CKFinder in the weeds and is Open source. Terry Troxel ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:349302 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Richtext Editor Woes
Is it possible to safely use FCKeditor with image/file uploading completely disabled and still be able to browse your sites image folder to insert images? If it is still posible I sure could use some help doing that please. I am running the Standalone version installed under the administration folder which is password protected Terry ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:349270 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
CFimage to draw a triangle
Could someone show me the proper way to draw a filled triangle using CFimage? Terry ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:349238 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
CF 8 32 bit standard on win server 2008 r2 64 bit
Can I run CF 8 32 bit standard on a Win server 2008 r2 64 bit machine? Terry ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:349233 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
KCfinder with CKeditor and Coldfusion?
Anyone have any success with KCeditor integration into CKeditor? I do not need file uploading of any kind, just to be able to browse to a predefined image directory Under the website root to insert images stored there. Any help would be appreciated. Terry ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:349022 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: KCfinder with CKeditor and Coldfusion?
Mike, If you google CKfinder Alternative you will find KCfinder. It supposedly works with FCKeditor, CKeditor and Tinymce. http://kcfinder.sunhater.com/ I was asking if anyone has gotten it to hook up with Coldfusion safely. I do not want to allow uploading just want to browse a single image Directory on a single website. Terry -Original Message- From: Mike Kear [mailto:afpwebwo...@gmail.com] Sent: Wednesday, December 07, 2011 6:31 PM To: cf-talk Subject: Re: KCfinder with CKeditor and Coldfusion? I use them both together in my CMS systems. The trick is to note that when they install, they put application.cfm in a few places, which creates new applications and therefore all your application variables are unavailable. I found i had to disable the application.cfm that they installed and move the relevant code to my site's application.cfc . Then the only issue is setting the paths up properly. Do those two things and you'll be sailing! Happy to help more if you need it. Cheers Mike Kear Windsor, NSW, Australia Adobe Certified Advanced ColdFusion Developer AFP Webworks http://afpwebworks.com ColdFusion 9 Enterprise, PHP, ASP, ASP.NET hosting from AUD$15/month On Thu, Dec 8, 2011 at 10:25 AM, Terry Troxel terry.tro...@gmail.com wrote: Anyone have any success with KCeditor integration into CKeditor? I do not need file uploading of any kind, just to be able to browse to a predefined image directory Under the website root to insert images stored there. Any help would be appreciated. Terry ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:349027 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: Fckeditor Security Issues
Russ, Thank you for your reply, but you missed my point. I am looking for any Secure methods of locking down My (F)ckeditor's File Browser as I stated I am not A security expert nor do I know how to program in Java. I do not know how to re-enable the file browser and Lock it down. I just thought with all the CF'ers on Here someone had come up with an answer. Terry up with an answer. Terry ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:348934 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: Fckeditor Security Issues
Russ, I am using the standalone editor and have been since the first attacks over a year ago, but the last couple of Coldfusion security patches have made the image browser inoperable in the standalone as well. I have file and image uploading disabled and allow users to only see the image folder I give them. At the first patch I read a post that said rename your Fckeditor folder. I did that and it was working fine until the second patch I believe on the 11th. I just don't want to do something stupid. Terry ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:348936 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: Fckeditor Security Issues
Russ, Ok, one of the fixit emails said to rename the cfide built-in fckeditor or delete it. I chose to rename it. How else do I make sure the built-in version not the standalone is disabled. Terry -Original Message- From: Russ Michaels [mailto:r...@michaels.me.uk] Sent: Saturday, December 03, 2011 2:29 PM To: cf-talk Subject: Re: Fckeditor Security Issues A coldfusion patch or update only makes changes to coldfusion and the cfadmin, it doesn't touch your website files, so if your fckeditor is breaking after and update then you must still be using the cf built in one or the error is related to CF and not to fckeditor. On Sat, Dec 3, 2011 at 5:03 PM, Terry Troxel terry.tro...@gmail.com wrote: Russ, I am using the standalone editor and have been since the first attacks over a year ago, but the last couple of Coldfusion security patches have made the image browser inoperable in the standalone as well. I have file and image uploading disabled and allow users to only see the image folder I give them. At the first patch I read a post that said rename your Fckeditor folder. I did that and it was working fine until the second patch I believe on the 11th. I just don't want to do something stupid. Terry ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:348938 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: Fckeditor Security Issues
Russ, Either I am speaking a different language then you or you are toying with me. I have spent an entire day reading your replies and have learned nothing. All I asked in the last post was How else do I make sure the built-in version not the standalone is disabled. Which in my language means Can you help me disable the built-in Version? -Original Message- From: Russ Michaels [mailto:r...@michaels.me.uk] Sent: Saturday, December 03, 2011 4:08 PM To: cf-talk Subject: Re: Fckeditor Security Issues by only disabling the built in version and not the standalone version surely ? ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:348940 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: Fckeditor Security Issues
Ok, so that's handled. Why will my standalone still giving me the xml error? Terry ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:348942 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Fckeditor Security Issues
Am I correct in assuming the Adobe has turned off the Image Browser functionality entirely in Fckeditor in CF 8 9? Yes I have seen all sorts of posts trying to bypass this, but not Being a security expert myself or a Java programmer I sure would Like to hear from any of you out there what is out there for us To use in order to give our clients what Coldfusion gave us to Use quite a while back? I think Adobe paid to be able to embed it Into their product. I really cannot afford the price to buy a server license for Ckfinder Especially since who knows how long they will support that product After their track record with Coldfusion. Terry ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:348932 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
FCKEditor.. XML Request error: Access denied (403)
Coldfusion 9, just started has been working fine on all the websites until today when using FCKEditor to browse server for an image. Any Ideas? Java recently Updated. Terry ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:348423 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
CF9 - Server 2008 r2 ODBC SOCKET Issue
I have CF9 Enterprise on a WIN Server 2008 R2 box running fine. I have QODBC installed and it is connecting to my Quickbooks just fine. I go into CF Admin and add a datasource, type in the datasource name, and select ODBC SOCKET as the driver. The next screen has a dropdown to select the ODBC DSN and it is not showing the QUICKBOOKS DATA QODBC DRIVER listing that is in my Windows ODBC screen. Now here's what I think is the issue I need help on: I am using the 32 bit ODBC exe that is found in windows\sysWOW64\odbcad32.exe and it is showing all my dsns perfectly. My question is how can I get CF9 to recognize and display them? BTW I have this same app using QODBC, Quickbooks, Access and CF8 running on a WIN 2003 Server but have to switch to the new box. Sure could use some positive help here. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:348303 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: CF9 - Server 2008 r2 ODBC SOCKET Issue
Russ any chance I could call you on this so I don't screw up my server? And yes it's a 64 bit machine and OS and CF9 64. Terry Troxel -Original Message- From: Russ Michaels [mailto:r...@michaels.me.uk] Sent: Saturday, October 22, 2011 9:35 AM To: cf-talk Subject: Re: CF9 - Server 2008 r2 ODBC SOCKET Issue are you running 64bit now by any chance ? in which case try this http://www.hosting.com/support/cfusion/access-dsn-on-64bit-windows-coldfusio n On Sat, Oct 22, 2011 at 5:23 PM, Terry Troxel terry.tro...@gmail.com wrote: I have CF9 Enterprise on a WIN Server 2008 R2 box running fine. I have QODBC installed and it is connecting to my Quickbooks just fine. I go into CF Admin and add a datasource, type in the datasource name, and select ODBC SOCKET as the driver. The next screen has a dropdown to select the ODBC DSN and it is not showing the QUICKBOOKS DATA QODBC DRIVER listing that is in my Windows ODBC screen. Now here's what I think is the issue I need help on: I am using the 32 bit ODBC exe that is found in windows\sysWOW64\odbcad32.exe and it is showing all my dsns perfectly. My question is how can I get CF9 to recognize and display them? BTW I have this same app using QODBC, Quickbooks, Access and CF8 running on a WIN 2003 Server but have to switch to the new box. Sure could use some positive help here. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:348305 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: CF9 - Server 2008 r2 ODBC SOCKET Issue
Russ, Is it possible for me to install CF8 or maybe cf9 32 bit to make this easier. Only reason I am rushing around here is it's Saturday and no one's here so I would like to get this done today if possible so as to not interrupt any ones work during a weekday. Terry -Original Message- From: Russ Michaels [mailto:r...@michaels.me.uk] Sent: Saturday, October 22, 2011 9:35 AM To: cf-talk Subject: Re: CF9 - Server 2008 r2 ODBC SOCKET Issue are you running 64bit now by any chance ? in which case try this http://www.hosting.com/support/cfusion/access-dsn-on-64bit-windows-coldfusio n On Sat, Oct 22, 2011 at 5:23 PM, Terry Troxel terry.tro...@gmail.com wrote: I have CF9 Enterprise on a WIN Server 2008 R2 box running fine. I have QODBC installed and it is connecting to my Quickbooks just fine. I go into CF Admin and add a datasource, type in the datasource name, and select ODBC SOCKET as the driver. The next screen has a dropdown to select the ODBC DSN and it is not showing the QUICKBOOKS DATA QODBC DRIVER listing that is in my Windows ODBC screen. Now here's what I think is the issue I need help on: I am using the 32 bit ODBC exe that is found in windows\sysWOW64\odbcad32.exe and it is showing all my dsns perfectly. My question is how can I get CF9 to recognize and display them? BTW I have this same app using QODBC, Quickbooks, Access and CF8 running on a WIN 2003 Server but have to switch to the new box. Sure could use some positive help here. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:348306 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: Coldfusion Hosting
I have been using a vps at AHPHOSTING.net for well over 3 years now and have been down a grand total of 4 hours during 3 events. I am very happy with my experience there. Sometimes as in this case smaller is better. And also in this case COLDFUSION is PRIMARY! Terry -Original Message- From: Paul Giesenhagen [mailto:p...@quilldesign.com] Sent: Thursday, September 29, 2011 7:16 AM To: cf-talk Subject: RE: Coldfusion Hosting We use and many of our clients use JWeb Development contact j...@jwebdevelopment.com for Shared/VPS/Dedicated and other options . They are a good group and good at what they do! Paul Giesenhagen Quill Design -Original Message- From: Paul Smith [mailto:psmit...@gmail.com] Sent: Thursday, September 29, 2011 9:13 AM To: cf-talk Subject: Re: Coldfusion Hosting Yesterday, hosting.com informs me they are going out of the ColdFusion hosting business. This thread has been very useful. Thank you all. I've been with ColdFusion from the VERY beginning and am too old to change now. AHPhostng.net's ColdFusion VPS for $99 looks good to me, but I wonder if there have been any developments since this thread was last posted on. best, paul Can anyone recommend a decent yet cheap web host for ColdFusion? ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:347786 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
NEW CF9 Install on win server 2008
I am in the CFAdmin data services and am trying to add my first datasource (Access). After putting in the path to the database and submitting, I get an error: Unable to update the NT registry. Variable DRIVERPATH is undefined. I have no idea where to proceed from here. Terry Troxel ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:347561 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: CFFORM or Jquery Form Validation
Al, Now that's what I call perfection. Thank you very much and I am not going to copy your code as I already finished Sunday My old school method. I too am not great with javascript or jquery, but am starting to try getting into it So I don't get left completely behind. I have no use for frameworks at this time so the method you provided is just perfect and I can get me old head around it. Terry -Original Message- From: Al Musella, DPM [mailto:muse...@virtualtrials.com] Sent: Monday, August 29, 2011 10:22 AM To: cf-talk Subject: RE: CFFORM or Jquery Form Validation Terry, I see nobody gave a simple example.. here is one: http://virtualtrials.com/testjquery.cfmhttp://virtualtrials.com/testjquery .cfm view page source to see how it works. Try submitting it first with nothing entered, then with something in one of the fields I am not great with javascript or jquery but it works:) I stripped out everything unneeded. You can also easily do it without jquery just using javascript... but the jquery syntax is easier to remember. Al At 11:10 PM 8/28/2011, you wrote: Cameron, I did as you said and downloaded the framework. I read the quick start and the pdf and it is way over this guy's head. I ended up using cfform and checkboxes which passed the list onto the next page To a loop which then displayed the text input for which ever the user checked off. Works fine and is old school yes, but I am not yet into frameworks as you obviously Are, but I did learn something today. I am a 70 year old guy who loves all this stuff And do not want to just have something given to me to copy their work, but instead to See a working example to learn from. I did learn that grouping fields is an option I hadn't thought about and am going to go deeper into that. Thank you very much for your input, just try and remember an example is just that, Something to learn by. Terry -Original Message- From: Cameron Childress [mailto:camer...@gmail.com] Sent: Sunday, August 28, 2011 2:51 PM To: cf-talk Subject: Re: CFFORM or Jquery Form Validation There are many many examples available for ValidateThis. You'd asked for more than one. The download contains a whole bunch. If you meant what you said when you claimed you want learn something new today, I would look at ValidateThis. If instead, you want someone to link to a solution for you so you can cut/paste code to solve your exact problem, someone else will surely provide it shortly. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:347110 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
CFFORM or Jquery Form Validation
I have 3 form fields: Phone1, phone2, email. Can someone point me to or give me an example how to: I have always used an cfif statement to validate that at least ONE contact method is provided. This is so old school, but it works. I would like to know how to accomplish this using JQUERY, CF AJAX or CFFORM, so I can learn something new today. I would like to see as many examples as I can if possible. Thank you, Terry Troxel ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:347066 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: CFFORM or Jquery Form Validation
Cameron, Thank you for your reply. I went to their demo and tried out the list box, but it only allows ONE selection. I am lookning for at least one ir: email and phone1. And then if I got that I guess I could submit to another page and show whatever fields they requested and make those required. I am really looking to do it in one form with 3 text fields and at least one being required but accepting all if text is entered. Am I explaining myself properly? Terry On Sun, Aug 28, 2011 at 1:46 PM, Cameron Childress camer...@gmail.comwrote: On Sun, Aug 28, 2011 at 1:19 PM, Terry Troxel terry.tro...@gmail.com wrote: I would like to know how to accomplish this using JQUERY, CF AJAX or CFFORM, so I can learn something new today. I would like to see as many examples as I can if possible. Check out ValidateThis: http://www.validatethis.org/ Server side validaiton and also generates client side validation for use with jQuery (compatible with other jsLibs too) . Very powerful and worth spending an afternoon with it if you are in the mood to learn something new. -Cameron -- Cameron Childress -- p: 678.637.5072 im: cameroncf facebook http://www.facebook.com/cameroncf | twitterhttp://twitter.com/cameronc | google+ https://profiles.google.com/u/0/117829379451708140985 ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:347072 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: CFFORM or Jquery Form Validation
Cameron, I did as you said and downloaded the framework. I read the quick start and the pdf and it is way over this guy's head. I ended up using cfform and checkboxes which passed the list onto the next page To a loop which then displayed the text input for which ever the user checked off. Works fine and is old school yes, but I am not yet into frameworks as you obviously Are, but I did learn something today. I am a 70 year old guy who loves all this stuff And do not want to just have something given to me to copy their work, but instead to See a working example to learn from. I did learn that grouping fields is an option I hadn't thought about and am going to go deeper into that. Thank you very much for your input, just try and remember an example is just that, Something to learn by. Terry -Original Message- From: Cameron Childress [mailto:camer...@gmail.com] Sent: Sunday, August 28, 2011 2:51 PM To: cf-talk Subject: Re: CFFORM or Jquery Form Validation There are many many examples available for ValidateThis. You'd asked for more than one. The download contains a whole bunch. If you meant what you said when you claimed you want learn something new today, I would look at ValidateThis. If instead, you want someone to link to a solution for you so you can cut/paste code to solve your exact problem, someone else will surely provide it shortly. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:347077 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Safe, Secure Image Upload
I am building a demo website to promote a new web template approach for small business owners to manage their site. I want them to be able to upload a picture and try out the toolset I provide them using Coldfusion and various Custom tags I have purchased through the ages. My concern is how to make the upload of images safe and secure for my server as these folks will be out front and not in The normal password protected area when they own their site. I would appreciate and positive input on this. Terry ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:346648 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: loop timing out
What am I doing wrong here as nothing shows up even with debugging turned on. The S drive is a mapped network drive. If mapped drive is the issue, is there any way around it? Terry ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:345928 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: loop timing out
It just might help if I pasted in the code.sorry. On Wed, Jun 29, 2011 at 12:19 PM, Terry Troxel terry.tro...@gmail.comwrote: What am I doing wrong here as nothing shows up even with debugging turned on. The S drive is a mapped network drive. If mapped drive is the issue, is there any way around it? Terry cfset dir=s:\ cfdirectory action=list directory=#dir# filter=*.* name=slides sort=name table cfoutput query=slides trtd/tdtd#name#/td/tr /cfoutput /table ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:345929 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
CFDIRECTORY of a mapped network drive
It just might help if I pasted in the code.sorry. What am I doing wrong here as nothing shows up even with debugging turned on. The S drive is a mapped network drive. If mapped drive is the issue, is there any way around it? Terry cfset dir=s:\ cfdirectory action=list directory=#dir# filter=*.* name=slides sort=name table cfoutput query=slides trtd/tdtd#name#/td/tr /cfoutput /table ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:345930 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
passing Coldfusion variables to an onclick link
How can I make a TD like the code below to change colors onmouseover as it does just fine, but instead of the alert href to a page when the TD is clicked? And I need it to pass a cf variable to that page like an href call: newpage.cfm?var=#var# table id=test border='1' cellspacing='0' cellpadding='0' tr tdTest/td td onmouseover=this.style.background='red';this.style.cursor='pointer' onmouseout=this.style.background='white'; onclick=alert('bang') Test - Click/td tdTest/td tdTest/td /tr /table Terry ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:345697 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: passing Coldfusion variables to an onclick link
Thanks Bobby, works perfect. Terry ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:345703 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Inserting data using QODBC
If anyone is using the QODBC read/write driver, could you possibly post an example cfquery doing an insert into the customer table that works? I have not been able to accomplish this simple exercise as it gives me a crazy error: [macromedia][sequelink jdbc driver][QODBC] Error parsing complete XML return string. I know QODBC supposedly converts Coldfusion to XML in the background, but I am lost and could sure use a pointer or 2. I created a ticket in their suppost forum, but no answer. Terry ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:345549 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
CFCONTENT in the background?
How can I pass content to Cfdocument and have it create and save a Pdf in the background without opening the Pdf? I then want to use Cfpdf to append this Pdf to an existing Pdf. I sure hope this is possible. Terry ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:345365 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Homesite 5.5
Ok, Ok, all you old people have your memories while me as a 70 year old upstart can only go back to my C-64 days, which seems only last week ;) I REALLY like when you guys get discussing old school vs new school. I do have a quick question tho: What pointers do you have to makes sure a website written in CF8 will work on a smartphone and are there any emulators I could download to test my work? Terry ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:345204 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: VPS Hosting
I give a Big Thumbs Up for AHPHOSTING.net. I have had very little down time in the 3 + years I have had a VPS with him and never any issues getting technical questions answered correctly. I think sometimes smaller is way better. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:345027 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Using LIKE in CF8
I have been doing this forever with no problems until today. Can anyone spot my error(s)?: cfquery name=searcher datasource=rnc select * from leads where 0 = 0 cfif lname NEQ and lastname LIKE '#lname#%' /cfif /cfquery which give me this error: Error Executing Database Query. [Macromedia][SequeLink JDBC Driver][ODBC Socket][Microsoft][ODBC Microsoft Access Driver] Too few parameters. Expected 1. The error occurred in *C:\Inetpub\wwwroot\RNC\lmain.cfm: line 13* 11 :select * from leads where 0 = 0 12 :cfif lname NEQ *13 :and lastname LIKE '#lname#%'* 14 :/cfif 15 : /cfquery -- SQLSTATE 07002 SQLselect * from leads where 0 = 0 and lastname LIKE 'tro%' VENDORERRORCODE -3010 DATASOURCE rnc ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:345036 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Using LIKE in CF8
Thank you...Gee I feel like a newbie.A simple typo. On Wed, Jun 1, 2011 at 3:29 PM, wrote: Too few parameters. Expected 1. This error means than 1 column name is unknown in the table. Here it must be lastname ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:345043 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
vCAL formatting
Anyone know where to get info on formatting the Description field when using Coldfusion to write an vCAL .ICS file to import into Outlook Calendar. I am getting: PERSONS NAME PERSONS ADDRESS CITY, STATE ZIPCODE PHONE NUMBER I am using: cfset aDescription = #name##chr(10)##address##chr(10)##city#, #state# #zipcode##chr(10)##phone# Which gives me the results above. Terry ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:344888 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Linking Access to Outlook
I have linked to an external source in Access 2007 which is My Outlook Calendar. I can read the records in the table, but cannot modify the table in any way. I would like to insert an autonumber field to index on, but have been unable to Find a way. I plan on using this table in a query with other tables ie: Outlook contacts linked the same way and then a third table of my own but neither of the tables created by Access linked to Outlook have a way for me to key on a unique record. I am writing a flow chart app in CF8. Any ideas, or links to any help would be greatly appreciated. Terry ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:344827 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Getting basic CF8 CFCACHE working in CF9
Thanks for the reply Ray. Other attributes seemingly do nothing too, or don't work as expected. I've discovered that page-caching (CF8's default behavior) is possible through ehcache, but there's a surprising lack of information on how to implement it to mimic CF8. CFCACHE is the first feature in 9 generations of CF that has me scratching my head why code was broken so badly from one version to another, with seemingly no documentation to lay out precisely how to achieve like-behavior. Also, I have discovered a way to effectively crash CF9 by using a malformed CFCACHE attribute. Using the old, CF7 timeout attribute gives Jrun a heart attack, and effectively kills the server. At least on linux / apache. Add this code: cfcache timeout = #DateAdd(d, -1, Now() )# Then run the template a bunch of times. On linux/apache at least the server becomes unstable and half the requests get Jrun errors until reboot.The timeout param was deprecated in CF7, but we still had some floating around in our code since CF8 played nice with it. It took me hours to trace down the problem to CFCACHE. On Fri, May 13, 2011 at 10:54 PM, Terry Ford terryfor...@yahoo.com wrote: 1. I can't for the life of me work out how to do that in CF9. First, I need to add usequerystring=true right because the default behavior was changed in CF9? Right - I believe the idea is that before it was automatic, but in 9 we allow you to disable that if you want. 2. Then, do I need to wrap the entire page with cfcache ... /cfcache ? Or, is just a lone cfcache statement at the top of the page like in CF8 sufficient? You can do either. If you just put it on top, it means cache everything. If you wrap, it means cache a fragment. 3. Third, and most frustratingly, how do you CFCACHE to disk? I'm using this statement in CF9: I see the same. This looks like a bug unfortunately. Please log a report. If you absolutely want file based caching, you could do it manually of course. It could be coded up in about 30 minutes. My old custom tag, scopeCache (http://scopecache.riaforge.org/) would allow you to do ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:344521 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Getting basic CF8 CFCACHE working in CF9
Hey... I am trying to get a CF8 app working on CF9, and it was all seamless until I ran into CFCACHE. I'm having problems getting CFCACHE to save anything to disk. I understand the default behavior is now in-memory caching, but for now I'm just trying to get this thing to work as it did in CF8: to disk. This was the code in CF8: cfcache directory=/path/to/save/cache timespan=#createTimeSpan(0,10,0,0)# It simply saves the page to disk, one page per URL combination. 1. I can't for the life of me work out how to do that in CF9. First, I need to add usequerystring=true right because the default behavior was changed in CF9? 2. Then, do I need to wrap the entire page with cfcache ... /cfcache ? Or, is just a lone cfcache statement at the top of the page like in CF8 sufficient? 3. Third, and most frustratingly, how do you CFCACHE to disk? I'm using this statement in CF9: cfcache action=serverCache directory=/path/to/save/cache timespan=#createTimeSpan(0,10,0,0)# usequerystring=true However, when I run the page, it's caching to memory. No files are appearing in directory. Please, what am I missing? How do I get it to save everything to directory so that the cache will persist across server restarts? ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:344508 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Upgrading CF8 to CF9 breaking existing lucene stuff?
Hi, I'm having an issue in a port from CF8 to CF9. We created our own simple lucene indexing stuff on CF8, and are simply trying to get it to work on CF9. Right now I'm having problems with this line, which works fine under CF8: luceneQuery = queryParser.parse(keyword, body, analyzer); It is returning error The parse method was not found. Either there are no methods with the specified method name and argument types or the parse method is overloaded with argument types that ColdFusion cannot decipher reliably. ColdFusion found 0 methods that match the provided arguments. If this is a Java object and you verified that the method exists, use the javacast function to reduce ambiguity. If I do a CFDUMP on queryParser, there indeed is a parse() function listed. Does anyone have any idea why CF9 is throwing the error above, and what we can do to fix it? I'd rather not mess around with Solr for now -- just want to get our existing stuff working. Thanks ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:344478 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
CFDocument as a task
I have a page that dynamically generates images and then displays the formatted output in a CFDocument that creates a 4 up pdf. This page takes some time to generate and I am wondering if there is any way I can call this when the user hits SUBMIT to a task That does this in the background and lets the user go on to something else? I do not want the resulting pdf displayed, but instead emailed to a defined address as an attachment. Any positive help would be greatly appreciated. Terry ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:343048 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Google Web Fonts API
Have any of you used the Google Web Fonts API in any of your designs? I am putting a tool together for clients to create a simple logo for their site. I'd appreciate any constructive comments and also if anyone thinks we could Incorporate this technique somehow into the CF Image tag functions, I would Be very interested in learning more. http://www.it-werks.com/googleapi/index.cfm Terry Troxel ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:342784 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: Riaforge down?
I just went there and the page came right up. Terry ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:342787 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
ImageDrawText Fonts
When using ImageDrawText in CF8 on a Windows 2003 server can you create a text image with any font you have installed on the server? Also is there any way to use Google's font api within CF8's image tags? Terry ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:342773 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: Looking for CF/Adobe Network group in Chicago
Hey, is this the INTERNET world? Are we having a hard time finding the funds to have a big Coldfusion Extravaganza to host, participate in, attend, etc.? Why cannot some enterprising folks come up with some sort of Webinar that we can all attend and not have to leave our desk? Would you be willing to join something that was a forward thinking, idea creating, learning experience, knowledge expandinghey I am not a writer, but I don't have to bucks to travel somewhere to experience Something that just might be way over my head, but I certainly would want to partake in something well thought out that I could attend online that would allow me to expand, meet, and partake in anything CF related, that just might put some forward momentum in this wild and crazy language we all love so much. Some of you folks in this group certainly have the knowledge, resources, desire to pull something like this off. How 'bout you? Terry ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:342011 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: Looking for CF/Adobe Network group in Chicago
Thank you Casey, that is EXACTLY what I meant. I am off to read up on what I gotta do to get into that and learn. Thank you again. Terry -Original Message- From: Casey Dougall [mailto:ca...@uberwebsitesolutions.com] Sent: Tuesday, February 08, 2011 3:11 PM To: cf-talk Subject: Re: Looking for CF/Adobe Network group in Chicago On Tue, Feb 8, 2011 at 5:55 PM, Terry Troxel terry.tro...@gmail.com wrote: Hey, is this the INTERNET world? Are we having a hard time finding the funds to have a big Coldfusion Extravaganza to host, participate in, attend, etc.? You mean like? http://www.meetup.com/coldfusionmeetup/ ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:342014 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: CFImage at 300dpi
Rick, I got all sorts of different ways to solve the problem and am now in the Develop mode trying all of them and learning. I will let everyone who helped Know as soon as I am complete, but it might take a bit. Terry -Original Message- From: Rick Faircloth [mailto:r...@whitestonemedia.com] Sent: Sunday, February 06, 2011 2:56 AM To: cf-talk Subject: RE: CFImage at 300dpi Terry, did you ever get a solution for your image resolution problem? Rick -Original Message- From: Terry Troxel [mailto:terry.tro...@gmail.com] Sent: Friday, February 04, 2011 7:25 PM To: cf-talk Subject: RE: CFImage at 300dpi Boy I hope my post didn't cause him any issues, and I am serious about that. If any of you know how to get face to face or at least a phone call, I sure think it Is him asking for help. Terry -Original Message- From: Michael Firth [mailto:mftr...@att.net] Sent: Friday, February 04, 2011 2:11 PM To: cf-talk Subject: Re: CFImage at 300dpi Life aint worth living anymore. Peace out and goodbye everyone ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:341905 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: CFImage at 300dpi
Boy I hope my post didn't cause him any issues, and I am serious about that. If any of you know how to get face to face or at least a phone call, I sure think it Is him asking for help. Terry -Original Message- From: Michael Firth [mailto:mftr...@att.net] Sent: Friday, February 04, 2011 2:11 PM To: cf-talk Subject: Re: CFImage at 300dpi Life aint worth living anymore. Peace out and goodbye everyone ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:341867 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
CFImage at 300dpi
Is it possible using CFIMAGE to create images in 300dpi format for print quality reasons? I also have CFX_IMAGECR3 and CFX_IMAGEFLARE but their support doesn't reply lately even though their products are excellent. Terry ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:341823 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: CFImage at 300dpi
You are exactly right Rick. Here is my problem: I am writing an online application for a local print shop that does RxPads for Doctors sold by Pharmaceutical Reps. A Pharmaceutical rep will be able to logon to create an Rxpad for his Doctor Client by selecting the Drug Bottle Image, Drug Logo Image, Drug Dosing Image, add the Practice Information, License information, etc. And with CFImage, CFX_ImageCR, CF_Imageflare I will place the existing images, create the textual data into text images and place them all on a blank Image pre-sized at 300dpi at their respective x,y coordinates to create a print ready High quality image that all the print shop has to do is send to their printer's RIP. Thats why my question on creating, saving images at 300dpi as well as print sizes as I do not want The user to have to do anything except PRINT. Terry -Original Message- From: Rick Faircloth [mailto:r...@whitestonemedia.com] Sent: Thursday, February 03, 2011 7:54 AM To: cf-talk Subject: RE: CFImage at 300dpi I understand the concerns you have, Claude, but I would imagine that the concern is over how to have a print-ready image available online. Yes, the end user can change the dpi before printing, as well as the dimensions of the image, but, when dealing with print shops for advertising, I've always had to send print-ready, 300dpi images (if using .jpg files) if I didn't want the printer to make adjustments to the file to change print dimensions or dpi. It seems the same would be true if I were putting an image formatted for high-quality printing (300dpi) online for download and printing without making dimension or resolution adjustments. I haven't put anything online before to meet this requirement, but it seems as if delivering the file by email as an attachment or delivering as a download would be the same. Thoughts? Rick -Original Message- From: Claude Schnéegans schneeg...@internetique.com [mailto:=?ISO-8859-1?Q?Claude_Schn=E9egans schneegans@interneti=71?= =?ISO-8859-1?Q?ue.com=3E?=] Sent: Thursday, February 03, 2011 10:41 AM To: cf-talk Subject: Re: CFImage at 300dpi Is it possible using CFIMAGE to create images in 300dpi format for print quality reasons? If it is for print quality reason, you need only be concerned with the total number of pixels. 1. you may very well have an image defined at 300 dpi, but if it is only 300 px wide, you will only get a one inch good quality printed image. 2. the resolution at which the user will print the image is his final decision anyway. 3. I know that the concept of so called dots per inch is embedded in image files, I don't know who the idea comes from, but it just does not make any sense : I agree that a virtual image does have dots, but where actually are the inches to make dot/inch? I other words, you may have a 75 dpi image printed at a very good quality if it is actually 4000 pix wide, and a very poor 4000 dpi printed image if it is only 75 pix wide. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:341837 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: CFImage at 300dpi
Ben, I think I have my work cut out for me today with your suggestion in mind. Thank you very much. I started this out playing with CFPDF early on but switched to CFImage. Terry -Original Message- From: Ben Forta [mailto:b...@forta.com] Sent: Thursday, February 03, 2011 9:34 AM To: cf-talk Subject: RE: CFImage at 300dpi Why not create a PDF form formatted exactly as you need, and then use CF to populate the form fields? Seems like you'd get more control that way. --- Ben -Original Message- From: Terry Troxel [mailto:terry.tro...@gmail.com] Sent: Thursday, February 03, 2011 12:26 PM To: cf-talk Subject: RE: CFImage at 300dpi You are exactly right Rick. Here is my problem: I am writing an online application for a local print shop that does RxPads for Doctors sold by Pharmaceutical Reps. A Pharmaceutical rep will be able to logon to create an Rxpad for his Doctor Client by selecting the Drug Bottle Image, Drug Logo Image, Drug Dosing Image, add the Practice Information, License information, etc. And with CFImage, CFX_ImageCR, CF_Imageflare I will place the existing images, create the textual data into text images and place them all on a blank Image pre-sized at 300dpi at their respective x,y coordinates to create a print ready High quality image that all the print shop has to do is send to their printer's RIP. Thats why my question on creating, saving images at 300dpi as well as print sizes as I do not want The user to have to do anything except PRINT. Terry -Original Message- From: Rick Faircloth [mailto:r...@whitestonemedia.com] Sent: Thursday, February 03, 2011 7:54 AM To: cf-talk Subject: RE: CFImage at 300dpi I understand the concerns you have, Claude, but I would imagine that the concern is over how to have a print-ready image available online. Yes, the end user can change the dpi before printing, as well as the dimensions of the image, but, when dealing with print shops for advertising, I've always had to send print-ready, 300dpi images (if using .jpg files) if I didn't want the printer to make adjustments to the file to change print dimensions or dpi. It seems the same would be true if I were putting an image formatted for high-quality printing (300dpi) online for download and printing without making dimension or resolution adjustments. I haven't put anything online before to meet this requirement, but it seems as if delivering the file by email as an attachment or delivering as a download would be the same. Thoughts? Rick -Original Message- From: Claude Schnéegans schneeg...@internetique.com [mailto:=?ISO-8859-1?Q?Claude_Schn=E9egans schneegans@interneti=71?= =?ISO-8859-1?Q?ue.com=3E?=] Sent: Thursday, February 03, 2011 10:41 AM To: cf-talk Subject: Re: CFImage at 300dpi Is it possible using CFIMAGE to create images in 300dpi format for print quality reasons? If it is for print quality reason, you need only be concerned with the total number of pixels. 1. you may very well have an image defined at 300 dpi, but if it is only 300 px wide, you will only get a one inch good quality printed image. 2. the resolution at which the user will print the image is his final decision anyway. 3. I know that the concept of so called dots per inch is embedded in image files, I don't know who the idea comes from, but it just does not make any sense : I agree that a virtual image does have dots, but where actually are the inches to make dot/inch? I other words, you may have a 75 dpi image printed at a very good quality if it is actually 4000 pix wide, and a very poor 4000 dpi printed image if it is only 75 pix wide. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:341839 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: CFImage at 300dpi
I agree I cannot find dpi either in CFIMAGE, but what about PIXEL SIZE, it is listed in IMAGEINFO. Is that related in any way? I am going to dig into Adobe acrobat and all of the CFPDF tags as Ben Forta suggested. From reading between the lines In the replies I could be wrong but this just might be something we all could benefit from as we all work mainly with Screen, browser output and there is a whole world out there for print media and 72 dpi doesn't cut it, and making Online applications for print media is a real big challenge. Terry -Original Message- From: Jason Fisher [mailto:ja...@wanax.com] Sent: Thursday, February 03, 2011 12:26 PM To: cf-talk Subject: Re: CFImage at 300dpi Pretty sure that DPI is not an accessible via CFIMAGE. From: Claude Schnéegans schneeg...@internetique.com Sent: Thursday, February 03, 2011 3:22 PM To: cf-talk cf-talk@houseoffusion.com Subject: Re: CFImage at 300dpi But all that still leaves us with the question of how to create a downloadable image file with CF You're right. If CFimage does not do it, I have no solution. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:341850 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RGBA Alpha channel
I CFIMAGE, CFX_IMAGECR3 AND CFX_IMAGEFLARE and so far am unable to create a png or a gif image With text on a transparent background. Would love an example if anyone has any suggestions. Terry ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:340609 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: RGBA Alpha channel
Thanks Alan, works great and I am glad you figured it out. Thanks to the rest of you as well, but I am asking for a way to create a PNG with colored text and a transparent background, not a totally transparent image. I just couldn't get a handle on CFX_IMAGEFLARE's rgba function calls that work from their documentation. I am waiting for a reply from them, but Alan came through with a work-around until they get back to me. Terry -Original Message- From: Alan Rother [mailto:alan.rot...@gmail.com] Sent: Monday, January 10, 2011 11:47 AM To: cf-talk Subject: Re: RGBA Alpha channel I've had the same issue. I use ImageFlare...The solution I've been using is a TOTAL HACK, but it works. Create a blank transparent PNG file in Photoshop, then use that as the basis for your new image. cfx_imageflare source=\ b = Bitmap( '#expandpath('Trans.png')#' ) f = Font( 'Coliseum Normal', 24 ) b.text( 'Some Text', 0, b.height, f, Color('red') ) b.save( '#expandpath('Trans2.png')#' ) You can make the transparent image any size as you'll be able to dynamically size it to fit as you need it. HTH =] ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:340613 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Issues with CF Document
I pasted in the example from the CF Documentation and added in my own jpg image. When I run the cfm file it shows ONLY the text bird with a red background and no image. When I comment out the cfdocument start and end tag the image appears. I know it is something I have done wrong, but I do not know what. I have used the: localUrl=yes attribute too with the same results, no image. Terry !DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.01 Transitional//EN html head titleUntitled/title /head body cfdocument format=PDF table bgcolor=red tr tdbird/td tdimage src=images/script1.jpg/td /tr /table /cfdocument /body /html ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:340388 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: Issues with CF Document
I should learn to not trust all the code in the help examples. Good call Raymond and Thank You! Terry -Original Message- From: Raymond Camden [mailto:rcam...@gmail.com] Sent: Tuesday, January 04, 2011 10:24 AM To: cf-talk Subject: Re: Issues with CF Document Isn't the tag img and not image ? ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:340405 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
CF Admin Browse error
I am all of a sudden on my development box having issues with browsing inside cfadmin giving me an I/O error. It worked fine until last night. It is on XP Pro service pack3 and CF8 in Developer mode. I uninstalled both CF8 and Java. My Production server guy said download the jre 1.42. I deleted both the cf8 and the java directories, rebooted and installed Java and then CF8. It runs fine and I can hand type in an odbc location, but I still get an I/O error in the java browse app. Any suggestions? Terry ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:340064 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
CF Admin Java Browser Errors
I am all of a sudden on my development box having issues with browsing inside cfadmin giving me an I/O error. It worked fine until last night. It is on XP Pro service pack3 and CF8 in Developer mode. I uninstalled both CF8 and Java. My Production server guy said download the jre 1.42. I deleted both the cf8 and the java directories, rebooted and installed Java and then CF8. It runs fine and I can hand type in an odbc location, but I still get an I/O error in the java browse app. Any suggestions? Terry ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:340065 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: index.cfm being hacked (now application.cfm)
Is the site in question on a SHARED Server? I had this issue a while ago and it wasn't my site, but someone else's and it rewrote every default page on the entire server no matter what language. Just a thought. They could have modified the exploit to not only do index.html, index.cfm, etc. but say, application.cfm, etc. It took the hosting company a while to track down the actual site that got hacked. Terry -Original Message- From: Josh Nathanson [mailto:joshnathan...@gmail.com] Sent: Friday, December 10, 2010 4:39 PM To: cf-talk Subject: Re: index.cfm being hacked (now application.cfm) AFAIK (kinda guessing here) Google doesn't sniff the files themselves, they just hit a link and sniff the resulting HTML. So anything that's output to the resultant page, whether on the index.cfm or application.cfm, will be picked up by Google. -- Josh On Fri, Dec 10, 2010 at 1:49 PM, Mike Little m...@nzsolutions.co.nz wrote: thanks for that mary. this seems like a good idea. i will contact hostek today to try and have the ftp restricted. because they are modifying just the application file now, i think it must be an auto script as when they were attacking the index file the links were very visible to google. it doesn't make sense now to include their links in the application?? (changed the ftp password for the umpteenth time today as well). Hhm, if they are getting in via FTP, which is certainly a strong possibility as well, you might want to try turning it off for that site, or at least restricting it to only the IP addresses that use it. I have seen numerous attacks over unsecured FTP accounts, so only use SFTP and restricted by IP these days and it's definitely helped greatly reduce such issues. --- Mary Jo ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:340008 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: br instead of br /
I was having a bad day the other day for various reasons. But today is much better. Here's a little something I found, that BTW works flawlessly. Hopefully it just might help someone else, because it sure helped me. Terry File: fckconfig.js DocType This option sets the DOCTYPE to be used in the editable area. The actual rendering depends on the value set here. For example, to make the editor rendering engine work under the HTML 4.01 Transitional: FCKConfig.DocType = '!DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.01 Transitional//EN http://www.w3.org/TR/html4/loose.dtd;' ; -Original Message- From: Phillip Vector [mailto:vec...@mostdeadlygame.com] Sent: Saturday, November 27, 2010 10:48 AM To: cf-talk Subject: Re: br instead of br / Sorry to bother you then. No. There is no way to change the br / to br within the editor short of recoding it yourself. On Sat, Nov 27, 2010 at 10:43 AM, Terry Troxel terry.tro...@gmail.com wrote: Phillip, Not to cut you short, but does it matter and yes that is what I am doing now is a search replace but I am really looking for an answer to my question and not my reasoning. My question was very simply stated other than I called it a page instead of line break. I think Claude is going in the right direction Thank you, Terry eoffusion.com/groups/cf-talk/unsubscribe.cfm ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:339588 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: br instead of br /
Guys, This is the Approved method by Fckeditor FOR Fckeditor. I WAS using search replace but with this method I just edit the Fckeditor JS config file and I am done and can go onto more pressing matters. And if I want it to render proper xhtml, I change it to that Doctype. Why make our lives more difficult than they are. Terry -Original Message- From: Aaron M Renfroe [mailto:mossma...@gmail.com] Sent: Monday, November 29, 2010 2:22 PM To: cf-talk Subject: Re: br instead of br / Can't you do a simple search and replace after your done editing? I'm not familiar with fckeditor but it should have some type of replace feature. On Mon, Nov 29, 2010 at 4:35 PM, Matt Quackenbush quackfu...@gmail.comwrote: Cool beans, Terry. Glad you found what you needed. And thanks for posting back. I'm sure someone else will indeed find it useful. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:339604 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Dreamweaver Templates for us programmer types
This is OT, but maybe some in our community have conquered this. I tried to find a legitimate site to enable me to put Dreamweaver/CSS templates On a website I am putting together to sell my programming skills and let potential Clients pick a graphic design and add the template price to my pricing for the Finished site as well as the hosting. I spent a good part of the day Googling and There are literally hundreds of bogus Affiliate sites and not one had a phone no. That worked after listening to their recording and pushing their buttons. Anyone out the in CFland have templates on their sites to add to their services? You can contact me offline if necessary. It's just that with all these developers I know in this day and age you can't do it all if you are a small shop. Terry ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:339605 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
br instead of br /
Here's my problem. I need to know if there is a setting in Fckeditor that will cause it to parse a page break as br instead of br /. Terry ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:339547 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: br instead of br /
I stated page break when I meant line break but here's what Google says: Definition and Usage The br tag inserts a single line break. The br tag is an empty tag which means that it has no end tag. Browser Support The br tag is supported in all major browsers. Differences Between HTML and XHTML In HTML the br tag has no end tag. In XHTML the br tag must be properly closed, like this: br /. I am wanting br and all I need to know is there a way to tell Fckeditor that? -Original Message- From: Phillip Vector [mailto:vec...@mostdeadlygame.com] Sent: Saturday, November 27, 2010 9:16 AM To: cf-talk Subject: Re: br instead of br / Why would you want that? br / is the correct way to do it. On Sat, Nov 27, 2010 at 9:13 AM, Terry Troxel terry.tro...@gmail.com wrote: Here's my problem. I need to know if there is a setting in Fckeditor that will cause it to parse a page break as br instead of br /. Terry ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:339550 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: br instead of br /
Claude, My sentiments exactly. But I created 2 CFM files that called Fckeditor the same way: cfparam default= name=pagecontent body form method=post action=header.cfm cfmodule template=fckeditor/fckeditor.cfm basePath=fckeditor/ instanceName=pagecontent value='#pagecontent#' width=760 height=300 input type=submit value=submit name=x /form cfoutput#pagecontent#/cfoutput One header was: !DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Transitional//EN http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd; And the other: !DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Transitional//EN http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd; html xmlns=http://www.w3.org/1999/xhtml; head meta http-equiv=Content-Type content=text/html; charset=utf-8 / BOTH output br / Help please. Terry -Original Message- From: Claude Schnéegans schneeg...@internetique.com [mailto:=?ISO-8859-1?Q?Claude_Schn=E9egans schneeg...@interneti=71?= =?ISO-8859-1?Q?ue.com=3E?=] Sent: Saturday, November 27, 2010 9:25 AM To: cf-talk Subject: Re: br instead of br / Why would you want that? br / is the correct way to do it. br / is the xhtml way to do it and as far as I know, HTML has always been the standard. xhtml is just a subset of HTML for those masochists who like make their life more complicated ;-) ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:339551 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: br instead of br /
Phillip, Not to cut you short, but does it matter and yes that is what I am doing now is a search replace but I am really looking for an answer to my question and not my reasoning. My question was very simply stated other than I called it a page instead of line break. I think Claude is going in the right direction Thank you, Terry -Original Message- From: Phillip Vector [mailto:vec...@mostdeadlygame.com] Sent: Saturday, November 27, 2010 9:47 AM To: cf-talk Subject: Re: br instead of br / So my second question would be.. What does it matter? Anyway, couldn't you do a Replace and have it look for BR / and replace it with BR after fckeditor is done with it? On Sat, Nov 27, 2010 at 9:30 AM, Terry Troxel terry.tro...@gmail.com wrote: I stated page break when I meant line break but here's what Google says: Definition and Usage The br tag inserts a single line break. The br tag is an empty tag which means that it has no end tag. Browser Support The br tag is supported in all major browsers. Differences Between HTML and XHTML In HTML the br tag has no end tag. In XHTML the br tag must be properly closed, like this: br /. I am wanting br and all I need to know is there a way to tell Fckeditor that? -Original Message- From: Phillip Vector [mailto:vec...@mostdeadlygame.com] Sent: Saturday, November 27, 2010 9:16 AM To: cf-talk Subject: Re: br instead of br / Why would you want that? br / is the correct way to do it. On Sat, Nov 27, 2010 at 9:13 AM, Terry Troxel terry.tro...@gmail.com wrote: Here's my problem. I need to know if there is a setting in Fckeditor that will cause it to parse a page break as br instead of br /. Terry ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:339555 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Homesite Comment Command
I don't know if this is OT or not. I Homesite 5+ in CFML Basic the !--- comment command gives you this: !--- --- Where can I change that to output: !-- -- as W3C doesn't validate with the 3 dashes? Terry ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:339213 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: Homesite Comment Command
Russ thanks for answering. I guess I wasn't specific enough. Is there a keyboard shortcut command to do the html comment in Homesite? I use Coldfusion in my Site Admin for my clients to design their pages and then When they update it writes all the pages to plain html for SEO as well as speed. If there is a command it would save me a bunch of time programming instead of Deleting the extra dashes by hand. Terry -Original Message- From: Russ Michaels [mailto:r...@michaels.me.uk] Sent: Sunday, November 14, 2010 2:36 PM To: cf-talk Subject: RE: Homesite Comment Command Terry, !--- This is a ColdFusion Comment --- !-- This is a HTML comment -- If you put an HTML comment around CFML it will do nothing and the code will still execute. CFML comments do not appear in the source code so any HTML validation will not see it, if you are running the validation on the CFML source then just ignore the comments. Russ -Original Message- From: Terry Troxel [mailto:terry.tro...@gmail.com] Sent: 14 November 2010 22:21 To: cf-talk Subject: Homesite Comment Command I don't know if this is OT or not. I Homesite 5+ in CFML Basic the !--- comment command gives you this: !--- --- Where can I change that to output: !-- -- as W3C doesn't validate with the 3 dashes? Terry ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:339216 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: Homesite Comment Command
These are the errors I get with XHTML Transitional Line 10, Column 27: invalid comment declaration: found name character outside comment but inside comment declaration !--- this is a comment --- Line 10, Column 1: comment declaration started here !--- this is a comment --- Terry -Original Message- From: Azadi Saryev [mailto:azadi.sar...@gmail.com] Sent: Sunday, November 14, 2010 4:22 PM To: cf-talk Subject: Re: Homesite Comment Command iirc, the 3-dash cf comment does not trip html validation. the 3rd dash is considered the first character of comment text. i do not ever remember having trouble with cf comments in W3C validator. Azadi On 15/11/2010 07:54 , Terry Troxel wrote: Russ thanks for answering. I guess I wasn't specific enough. Is there a keyboard shortcut command to do the html comment in Homesite? I use Coldfusion in my Site Admin for my clients to design their pages and then When they update it writes all the pages to plain html for SEO as well as speed. If there is a command it would save me a bunch of time programming instead of Deleting the extra dashes by hand. Terry -Original Message- From: Russ Michaels [mailto:r...@michaels.me.uk] Sent: Sunday, November 14, 2010 2:36 PM To: cf-talk Subject: RE: Homesite Comment Command Terry, !--- This is a ColdFusion Comment --- !-- This is a HTML comment -- If you put an HTML comment around CFML it will do nothing and the code will still execute. CFML comments do not appear in the source code so any HTML validation will not see it, if you are running the validation on the CFML source then just ignore the comments. Russ -Original Message- From: Terry Troxel [mailto:terry.tro...@gmail.com] Sent: 14 November 2010 22:21 To: cf-talk Subject: Homesite Comment Command I don't know if this is OT or not. I Homesite 5+ in CFML Basic the!--- comment command gives you this:!--- --- Where can I change that to output:!-- -- as W3C doesn't validate with the 3 dashes? Terry ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:339221 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: Homesite Comment Command (please read before replying)
Ok, let's see if I can clarify my request. I am requesting a way, any way to possibly create a keyboard shortcut within Homesite to let me create a HTML comment in my pages. I do not know how to create this and am asking for help in that regard only. I have had quite a few replies and thanks for those, but none of them are addressing my request. I have written my own CFM that allows me to give a small business person a website they easily control. I give them a back end that is written in Coldfusion that I customize to fill each sites needs. There is a command that updates their pages, which rewrites every page on the front end of their site to plain jane HTML which runs extremely fast and is very search engine friendly. I have commented quite a bit of the code to make it easy for me to add, update, or otherwise grow this contraption from time to time. I only want to make my life a little easier by not having to do what I've been doing forever and deleting the extra dashes. Period. If someone could show me how to write a function in Homesite PLEASE reply. Terry ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:339225 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: Homesite Comment Command
THANK YOU, Thank you. Problem solved. You made my day Kym. Terry -Original Message- From: Kym Kovan [mailto:dev-li...@mbcomms.net.au] Sent: Sunday, November 14, 2010 4:14 PM To: cf-talk Subject: Re: Homesite Comment Command On 15/11/2010 10:54, Terry Troxel wrote: Russ thanks for answering. I guess I wasn't specific enough. Is there a keyboard shortcut command to do the html comment in Homesite? ctrl-shift-M works here -- Yours, Kym Kovan mbcomms.net.au ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:339226 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: jquery
Monique, If your style sheet is called after the jquery stylesheet you might Be defining something that wipes out a jquery call. Terry -Original Message- From: Monique Boea [mailto:moniqueb...@gmail.com] Sent: Sunday, November 07, 2010 5:08 AM To: cf-talk Subject: Re: jquery But the jquery code uses a seperate style sheet doesn't it? ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:338926 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: Getting rid of maliceous code embedded in a jpg
Really, thanks for the reply, but the jhove site is way over my head. Maybe someone will have a simpler answer. Terry -Original Message- From: denstar [mailto:valliants...@gmail.com] Sent: Friday, November 05, 2010 9:59 PM To: cf-talk Subject: Re: Getting rid of maliceous code embedded in a jpg On Fri, Nov 5, 2010 at 8:27 PM, Terry Troxel wrote: I am trying to allow perspective clients to try my templates image tools in order to see if it will help sway them. I do not have any image samples with malicious code nor do I want any. My question is if I use the coldfusion image tags or my trusty cf_imagecr after the upload will it remove any of this or how about I save it as a png? I do not want to open up any possible security issues. There was an awesome thread on the Railo list, titled CFFile and MIME types, that covered this issue a bit. I think in the end, a virus scanner was the best bet? Maybe trying to convert the image to a different type would do the trick too, I can't remember if that was covered. There was a link for something that looked interesting: http://hul.harvard.edu/jhove/ But I don't know if it would work. I never got around to writing a wrapper for it to test with. =) I bet conversion would be enough, though you'd probably run into the odd legitimate file that didn't convert, for whatever reason. Better that than the alternative though, I say. There are potential false-positives with virus scanners too, although I'd wager less. :Den -- Any father whose son raises his hand against him is guilty of having produced a son who raised his hand against him. Charles Peguy ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:338900 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm