RE: cflogin vs. GetAuthUser
Andrew, I also figured out a way to use cflogin with Mach-II. The conceptual breakthru for me was realizing that cflogin could be used in multiple places, sometimes w/o cfloginuser. What I've done is place a cflogin in preEvent in my plugin. If a user is not logged in, cflogin aborts the current event and announces a login event (which forces display of the login page). When the login page is submitted, a validate function in a login bean is invoked. If the user is validated, another cflogin calls cfloginuser. This seems pretty clean and doesn't bend the framework, so I'm happy with it, at least for now. Thanks for your suggestions. Collectively, everyone's contributions got me thinking in the right direction. Dave Jones NetEffect At 12:20 PM 12/31/03 +1100, you wrote: Dave, I have what your looking for working in a Mach-II application, I had to hack at Mach-II though. I actually use the check just before the hanlde request in the mach-II framework. This was my only option to handle login using my setup, and maybe a lack of knowing how the plugin option actually works. But you don't need to have cflogin to use cfloginuser, but it helps as Dave Watts explained. In my case I handle my own tracking and just use the GetAuthUser to test a usersrights. Regards Andrew Scott Technical Consultant NuSphere Pty Ltd Level 2/33 Bank Street South Melbourne, Victoria, 3205 Phone: 03 9686 0485-Fax: 03 9699 7976 _ From: Dave Jones [mailto:[EMAIL PROTECTED] Sent: Wednesday, 31 December 2003 3:39 AM To: CF-Talk Subject: RE: cflogin vs. GetAuthUser Bill, I appreciate the explanation. If cflogin is setting its own session variables (which I guess I could have checked myself), then I can see why it doesn't know about a user logged in by an independent cfloginuser. So then my question is, why do I need cflogin? cfloginuser used by itself will log in a user. GetAuthUser will test if a user is logged in. Yes I've read the CF docs and see their example of using cflogin and cfloginuse. But, a) I don't like loading up my application.cfm with a lot of code, and b) I'm using Mach-II and want to test for user authentication in a preEvent plugin, not in application.cfm. I suppose that using cfloginuser independent of cflogin, while working today, runs the risk of breaking in a future release, but I'd like to hear from someone familiar with the internals to know if this is a safe (undocumented) practice (similar perhaps to the unnamed scope in CFCs). Thanks, Dave Jones NetEffect At 10:09 AM 12/30/03 -0500, you wrote: This is correct,you must use the cfloginuser within the cflogin tag.cflogin looks for session variables it sets to determine if you have run the cflogin tag before.If these variables are not found then it executes the code withing the tag pair.You should put your cfloginuser tag in here. GetAuthUser() simply returns the name of the user you supplied in the cfloginuser tag.I use this after my cflogin pair to insure that a user really got logged in.If the user didn't get logged in then I deal with it there.More specifically, I use cflogin to attempt to login a user when they haven't logged in yet.The code within the tag will take their user information and validate it aginst a list of valid users and if they are found then execute the cfloginuser tag to do the actual login.Once the tag ends I make a call to GetAuthUser() to validate that I have a user name and continue to let the page load, otherwise I reprompt the user for their information. Hope that helped. Bill Grover Manager, Information Systems EU Services, Inc. 649 N Horners Ln Rockville, MD 20850 Phone: 301-424-3300 x3324 Fax: 301-424-3696 E-Mail: [EMAIL PROTECTED] At 07:33 AM 12/30/2003 -0500, you wrote: You should only be using cfloginuser within cflogin tags. http://livedocs.macromedia.com/coldfusion/6.1/htmldocs/tags-p7 4.htm#wp287308http://livedocs.macromedia.com/coldfusion/6.1/htmldocs/tags-p 74.htm#wp287308 9 http://livedocs.macromedia.com/coldfusion/6.1/htmldocs/tags-p74.htm#wp2873 0 89 -Original Message- From: Dave Jones [mailto:[EMAIL PROTECTED] Sent: Monday, December 29, 2003 3:23 PM To: CF-Talk Subject: cflogin vs. GetAuthUser I can use some help on understanding the relationship between cflogin and GetAuthUser. I understand that cflogin is only executed if there is no logged-in user. If there is no logged-in user, should GetAuthUser return an empty string? Conversely, if GetAuthUser contains a non-null value, does that mean cflogin should not get executed? I'm asking because I'm encountering a situation where GetAuthUser is returning a valid user, yet cflogin is still getting executed. Note that I am invoking cfloginuser outside of the cflogin tag. It seems to be registering the user properly, but is that why cflogin is not recognizing the logged-in user? If this is the case, can I safely replace the cflogin tag with
Re: flash remoting help
I¹m calling the function on a button click... Still havent got it working! On 31/12/03 12:58 am, chris kief [EMAIL PROTECTED] wrote: Did you get this working? From the looks of your code, you're never calling the function, just declaring it. You need to invoke the function to get it to work: stop(); // Include the Required NetService class files #include NetServices.as // Connect to the Flash Remoting service // Make the Gateway connection NetServices.setDefaultGatewayUrl(http://www.lightwillrise.com:27000/flashse rvices/gateway); gatewayConnnection = NetServices.createGatewayConnection(); // path relative to webroot svc = gatewayConnnection.getService(cfc.sendmail, this); function insertIt() { svc.sendMail(); } // invoke the function insertIt(); chris [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
Re:looping over empty values
Stan Winchester said: I am not familiar witht the Java split function, nor am I familiar with Java. Where would I find some documentation regarding the Java split function? BTW: this will be run on CF5. The solution does not apply to CF5. How about using a DTS job to import straight from the database server? Jochem [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
verity search - 2 queries - 1 result
Hi all how to join 2 queries in 1 Verity collection? Query 1 fields: intSiteID strSiteDescr strSiteName target for this query: page#intSiteID#.html -- Query 2 fields: intSiteID intContentNr strTitle memoContent target for this query: contentpage#intContentNr#.html It's possible? Thanx in advance -- ___ Sign-up for Ads Free at Mail.com http://promo.mail.com/adsfreejump.htm [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
Re: Two Selects
As cool as that tag is It seems there may be other solutions, here's one example I whipped up some time ago... [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
Re: CF Studio RDS datasource madness
Do those tables exist in the other DBs? Is it possible that the datasource isn't talking to the correct DB? - Calvin - Original Message - From: David To: CF-Talk Sent: Tuesday, December 30, 2003 4:43 PM Subject: CF Studio RDS datasource madness New to MS SQL Server... - Installed MS SQL Server on dev box. - Created a datasource in CF 5 admin. - Attempted to browse the datasource tables via the database tab in CF Studio. The tables I see via the database tab in CF Studio are NOT the tables defined in my datasource... they look like system tables or something, not really sure. Here's a snapshot of what I see. http://66.51.163.40/cfstudio/ Anyone know what's causing this and how to fix it? TIA. --David [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
Re: Two Selects
Blech, it ate my code! Let's try that this way: [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
Re: Re:cf file write
I'd like to point out that .cfm files are just text files. This might be how I would start out on this one (completely untested): [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
Re: Two Selects
Your probably posting with a dividing line of -, _, ~ or the like of 50 characters long or more. Try without the line and it'll work. Your running into the code I use to remove the footer from all posts. Blech, it ate my code! Let's try that this way: [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
Re: Extract text from PDF?
The JAR file itself doesn't have to be in WEB-INF; it can be in any directory you want. The only requirement is that the JAR file is included in CFMX's classpath. Ask your hosting company if they will do that for you. Matt Liotta Montara Software, Inc. http://www.MontaraSoftware.com On Dec 30, 2003, at 6:18 PM, Michael R. Levy wrote: PDFBox certainly does what I need, in a JAR. Thanks Matt. Im stuck; if anyone can help, much appreciated! We're going to a shared server ColdFusion MX 6.1 server. They can't/won't put a JAR in the WEB-INF for me (because it's shared). Is there a way to load up a bunch of JAR's from a directory somewhere under my docroot, and access a method from CFM? -Original Message- From: Matt Liotta [mailto:[EMAIL PROTECTED] Sent: Friday, December 19, 2003 8:30 PM To: CF-Talk Subject: Re: Extract text from PDF? PDF Box (http://www.pdfbox.org/) provides a Java API for extracting text from a PDF. Matt Liotta Montara Software, Inc. http://www.MontaraSoftware.com On Dec 19, 2003, at 8:13 PM, Michael R. Levy wrote: Does anyone know of a CFX to extract the text from a PDF file so that it can be used in a variable? I'll tell you why I want to do this: I have an application that allows a user to enter several kinds of data about a PDF file while uploading the file to the server. The search function opens a page with various data about the PDF file and also opens the PDF file itself. Currently the application uses cfexecute and pdftotext.exe, and adds the text that is thus extracted from the PDF file into the Verity index along with all the user-added data. This way, the extracted PDF string data is associated directly with the user-added data and can be used the way I want it. However, we're moving the whole application to a hosted, shared server, and cannot run cfexecute there. I know Verity can index PDF files directly, but then that would be separate from the other user-entered data about the PDF file. Any ideas? Thanks, Michael [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
to_date and MS Access
I need to convert the following Oracle SQL to MS Access How would I do that? I realize in MS Access use #01/10/99# and in Oracle use To_Date('01/10/99') but putting in the additional #'s confuse me (and ColdFusion server both) to_date('#DateFormat(fromtimestamp1, DD-mmm-)#' || ' ' || '#TimeFormat(fromtimestamp1, HH:mm:ss)#','DD-MON- HH24:MI:SS') Jim Watkins [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
Re: Two Selects
Ahh, that makes sense, here it is: !--- This has been tested on IE 6, NS 7, Mozilla 1.4, Opera 7 and should work on any browser that supports _javascript_ 1.4 or higher. --- !DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.01 Transitional//EN http://www.w3.org/TR/html4/loose.dtd html head meta http-equiv=Content-Type content=text/html; charset=utf-8 title_javascript_: Related Selects/title cfoutput !--- The following lines are creating a simulated query to demonstrate the related selects functionality --- cfscript GetChild = QueryNew(ParentID,ChildID,Child); QueryAddRow(GetChild); QuerySetCell(GetChild,ParentID,1); QuerySetCell(GetChild,ChildID,1); QuerySetCell(GetChild,Child,Shrimp); QueryAddRow(GetChild); QuerySetCell(GetChild,ParentID,1); QuerySetCell(GetChild,ChildID,2); QuerySetCell(GetChild,Child,Lobster); QueryAddRow(GetChild); QuerySetCell(GetChild,ParentID,2); QuerySetCell(GetChild,ChildID,3); QuerySetCell(GetChild,Child,Ribeye); QueryAddRow(GetChild); QuerySetCell(GetChild,ParentID,2); QuerySetCell(GetChild,ChildID,4); QuerySetCell(GetChild,Child,Sirloin); GetParent = QueryNew(ParentID,Parent); QueryAddRow(GetParent); QuerySetCell(GetParent,ParentID,1); QuerySetCell(GetParent,Parent,Surf); QueryAddRow(GetParent); QuerySetCell(GetParent,ParentID,2); QuerySetCell(GetParent,Parent,Turf); /cfscript script language=_javascript_ !--- Create an Array to hold the values for the dependent select control --- var ChildArray = new Array; cfloop query=GetChild !--- For each element of the array, create an object that will hold the value, display and parent value for each option in the dependent selection control --- ChildArray[ChildArray.length] = {childID: #Val(GetChild.ChildID)#, Child: #GetChild.Child#, parentID: #GetChild.ParentID#}; !--- Because a _javascript_ array is a zero index array, the length of the array works as the next incrementally created Array element --- !--- A _javascript_ object can be considered similar to a ColdFusion structure. In this case we've declared and set three properties for the individual object held in each element of the array --- !--- The object syntax is also more readable than array syntax --- /cfloop function setSelect () { // It can be more reader friendly in the actual function to fully create shorter references for objects as much as possible var objForm = document.myForm; var objParentID = objForm.cboParentID; var objChildID = objForm.cboChildID; objChildID.options.length = 0; // This erases the entire contents of the dependent select control objChildID.options[0] = new Option(- Select One - ,, false, false); // This will set the initial option, the trailing false statements determine if it is a selected option. for (i = 0; i ChildArray.length; i++) { // Loop through our array of objects if (ChildArray[i].parentID == objParentID.value || objParentID.value == '') // We want to check to see if current value of the array matches the selected value of the calling select control // We also are checking to see if the selected value of the calling select control is the first selection // In either case, we'll write a new option to our dependent select option // If there is no match then we'll skip that row objChildID.options[objChildID.options.length] = new Option(ChildArray[i].Child,ChildArray[i].childID,false,false); } } /script /head body form name=myForm Parent: select name=cboParentID > option value= -- Select One -- /option cfloop query=GetParent option value=#GetParent.ParentID##GetParent.Parent#/option /cfloop /selectbr Child: select name=cboChildID option value= -- Select One -- /option cfloop query=GetChild option value=#GetChild.ChildID##GetChild.Child#/option /cfloop /selectbr /form /body /cfoutput /html - Original Message - From: Michael Dinowitz To: CF-Talk Sent: Wednesday, December 31, 2003 8:12 AM Subject: Re: Two Selects Your probably posting with a dividing line of -, _, ~ or the like of 50 characters long or more. Try without the line and it'll work. Your running into the code I use to remove the footer from all posts. Blech, it ate my code! Let's try that this way: [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
Re: to_date and MS Access
Jim Watkins said: I need to convert the following Oracle SQL to MS Access How would I do that? I realize in MS Access use #01/10/99# and in Oracle use To_Date('01/10/99') but putting in the additional #'s confuse me (and ColdFusion server both) to_date('#DateFormat(fromtimestamp1, DD-mmm-)#' || ' ' || '#TimeFormat(fromtimestamp1, HH:mm:ss)#','DD-MON- HH24:MI:SS') cfqueryparam cfsqltype=cf_sql_timestamp value=#fromtimestamp1# Oracle is supposed to understand this too ... Jochem [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
Re: Form.Fieldnames and MX
Gregory I. Hayes wrote: Ok, what happened? I used to be able to loop through form.fieldnames to create a list of all of the fields and then I could write my processor script. CFMX, on the other hand, gives me the following: Element FIELDNAMES is undefined in FORM. Anybody have any ideas? Cutter I just ran into this problem while to code a Paypal script. Has a solution been found for this problem ? I don't recall having this problem in MX.However, you should be able to treat the FORM scope like a structure and loop over it as a collection: cfloop collection=#FORM# item=i cfoutput#i# = #FORM[i]#/cfoutput /cfloop I'm writing that off the top of my head, but it should work. Scott -- --- Scott Brady http://www.scottbrady.net/ [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
Re: CF Studio RDS datasource madness
Those are stored procedures but I think they're from SQL Server 6.5 I believe? Are you sure you're connecting to the right database server in your ODBC setting? Double-check your ODBC setup and then try Googling some of those procedures: spt_datatype_info, etc. and see what you can find. At 07:09 AM 12/31/2003, you wrote: Do those tables exist in the other DBs? Is it possible that the datasource isn't talking to the correct DB? - Calvin - Original Message - From: David To: CF-Talk Sent: Tuesday, December 30, 2003 4:43 PM Subject: CF Studio RDS datasource madness New to MS SQL Server... - Installed MS SQL Server on dev box. - Created a datasource in CF 5 admin. - Attempted to browse the datasource tables via the database tab in CF Studio. The tables I see via the database tab in CF Studio are NOT the tables defined in my datasource... they look like system tables or something, not really sure. Here's a snapshot of what I see. http://66.51.163.40/cfstudio/http://66.51.163.40/cfstudio/ Anyone know what's causing this and how to fix it? TIA. --David -- [ [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
Re: to_date and MS Access
I still don't get it. ( this is above my meager skills) What I am trying to do is insert theto_date('#DateFormat(fromtimestamp1, DD-mmm-)#' || ' ' || '#TimeFormat(fromtimestamp1, HH:mm:ss)#','DD-MON- HH24:MI:SS') value into MS Access and I am not sure how to treat your explanation usingcfqueryparam cfsqltype=cf_sql_timestamp value=#fromtimestamp1# For Oracle SQL=My script is: cfquery name=insertleave datasource=banner insert into leaverequest (fromdate1) VALUES (to_date('#DateFormat(fromtimestamp1, DD-mmm-)#' || ' ' || '#TimeFormat(fromtimestamp1, HH:mm:ss)#','DD-MON- HH24:MI:SS')) /cfquery Jim Watkins - Original Message - From: Jochem van Dieten To: CF-Talk Sent: Wednesday, December 31, 2003 9:35 AM Subject: Re: to_date and MS Access Jim Watkins said: I need to convert the following Oracle SQL to MS Access How would I do that? I realize in MS Access use #01/10/99# and in Oracle use To_Date('01/10/99') but putting in the additional #'s confuse me (and ColdFusion server both) to_date('#DateFormat(fromtimestamp1, DD-mmm-)#' || ' ' || '#TimeFormat(fromtimestamp1, HH:mm:ss)#','DD-MON- HH24:MI:SS') cfqueryparam cfsqltype=cf_sql_timestamp value=#fromtimestamp1# Oracle is supposed to understand this too ... Jochem [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
Re: to_date and MS Access
Jim Watkins wrote: For Oracle SQL=My script is: cfquery name=insertleave datasource=banner insert into leaverequest (fromdate1) VALUES (to_date('#DateFormat(fromtimestamp1, DD-mmm-)#' || ' ' || '#TimeFormat(fromtimestamp1, HH:mm:ss)#','DD-MON- HH24:MI:SS')) /cfquery For both Oracle and Access, use: cfquery name=insertleave datasource=banner INSERT INTO leaverequest (fromdate1) VALUES (cfqueryparam cfsqltype=cf_sql_timestamp value=#fromtimestamp1#) /cfquery Jochem -- I don't get it immigrants don't work and steal our jobs - Loesje [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
Re: CF Studio RDS datasource madness
- Installed MS SQL Server on dev box. - Created a datasource in CF 5 admin. - Attempted to browse the datasource tables via the database tab in CF Studio. The tables I see via the database tab in CF Studio are NOT the tables defined in my datasource... they look like system tables or something, not really sure. Here's a snapshot of what I see. http://66.51.163.40/cfstudio/http://66.51.163.40/cfstudio/ Anyone know what's causing this and how to fix it? TIA. The tables you're seeing under the datasource you've created, CD_webstore, are actually tables in the master database. When you set up your datasource in CF Admin you need to specify the database in addition to the server. My guess is that the database has been left blank in which case the database defaults to whatever is set as the default database on SQL Server; probably this is the master database. Try entering CD_webstore as the database you want to connect to for this datasource name from withing CF Admin and you should be good to go. Stephen [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
Space between images
Folowing is code to show buttons (each button is an image) in my page table cellpadding=0 cellpadding=0width=100% tr td CFOutput query=GetAllUnitPromotionTypeName cfswitch _expression_=#GetAllUnitPromotionTypeName.PK_UnitPromotionType_ID# CFCase value=1 A href=""> .PK_UnitPromotionType_ID# target=Right class=smlimg align=left border=0 name=a src=""> /CFCase CFCase value=6 A href=""> .PK_UnitPromotionType_ID# target=Right class=smlimg align=left border=0 name=b src=""> /CFCase CFCase value=7 A href=""> .PK_UnitPromotionType_ID# target=Right class=smlimg align=left border=0 name=c src=""> /CFCase /cfswitch /cfoutput /td /tr /table Problem is that there is space between each button however i want not to have space between them and look like a strip. Thansk Shahzad.Butt Ph:+44 (0) 1992 701 722 Fax: +44 (0) 1992 701 604 [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
Re: Space between images
remove line breaks in the code.makes it harder to read, i know, but should resolve the space issue. - Original Message - From: Shahzad.Butt To: CF-Talk Sent: Wednesday, December 31, 2003 9:22 AM Subject: Space between images Folowing is code to show buttons (each button is an image) in my page table cellpadding=0 cellpadding=0width=100% tr td CFOutput query=GetAllUnitPromotionTypeName cfswitch _expression_=#GetAllUnitPromotionTypeName.PK_UnitPromotionType_ID# CFCase value=1 A href=""> .PK_UnitPromotionType_ID# target=Right class=smlimg align=left border=0 name=a src=""> /CFCase CFCase value=6 A href=""> .PK_UnitPromotionType_ID# target=Right class=smlimg align=left border=0 name=b src=""> /CFCase CFCase value=7 A href=""> .PK_UnitPromotionType_ID# target=Right class=smlimg align=left border=0 name=c src=""> /CFCase /cfswitch /cfoutput /td /tr /table Problem is that there is space between each button however i want not to have space between them and look like a strip. Thansk Shahzad.Butt Ph:+44 (0) 1992 701 722 Fax: +44 (0) 1992 701 604 [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: Space between images
Also try adding (hspace=0 vspace=0) to the image tags. Neal Bailey Internet Marketing Manager UGA-Association Field Services E-mail:mailto:[EMAIL PROTECTED] [EMAIL PROTECTED] This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you are not the named addressee you should not disseminate, distribute or copy this e-mail.Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system.If you are not the intended recipient you are hereby notified that disclosing, copying, distributing or taking any action in reliance on the contents of this information is strictly prohibited.Thank you. -Original Message- From: Charlie Griefer [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 31, 2003 10:27 AM To: CF-Talk Subject: Re: Space between images remove line breaks in the code.makes it harder to read, i know, but should resolve the space issue. - Original Message - From: Shahzad.Butt To: CF-Talk Sent: Wednesday, December 31, 2003 9:22 AM Subject: Space between images Folowing is code to show buttons (each button is an image) in my page table cellpadding=0 cellpadding=0width=100% tr td CFOutput query=GetAllUnitPromotionTypeName cfswitch _expression_=#GetAllUnitPromotionTypeName.PK_UnitPromotionType_ID# CFCase value=1 A href=""> .PK_UnitPromotionType_ID# target=Right class=smlimg align=left border=0 name=a src=""> /CFCase CFCase value=6 A href=""> .PK_UnitPromotionType_ID# target=Right class=smlimg align=left border=0 name=b src=""> /CFCase CFCase value=7 A href=""> .PK_UnitPromotionType_ID# target=Right class=smlimg align=left border=0 name=c src=""> /CFCase /cfswitch /cfoutput /td /tr /table Problem is that there is space between each button however i want not to have space between them and look like a strip. Thansk Shahzad.Butt Ph:+44 (0) 1992 701 722 Fax: +44 (0) 1992 701 604 _ [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
Re:CF Studio RDS datasource madness
Stephen: Brilliant! That worked! Thanks all for your assistance. Happy New Year. --David [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: Space between images
you are the man. it works thanks _ From: Bailey, Neal [mailto:[EMAIL PROTECTED] Sent: 31 December 2003 16:26 To: CF-Talk Subject: RE: Space between images Also try adding (hspace=0 vspace=0) to the image tags. Neal Bailey Internet Marketing Manager UGA-Association Field Services E-mail:mailto:[EMAIL PROTECTED] [EMAIL PROTECTED] This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you are not the named addressee you should not disseminate, distribute or copy this e-mail.Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system.If you are not the intended recipient you are hereby notified that disclosing, copying, distributing or taking any action in reliance on the contents of this information is strictly prohibited.Thank you. -Original Message- From: Charlie Griefer [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 31, 2003 10:27 AM To: CF-Talk Subject: Re: Space between images remove line breaks in the code.makes it harder to read, i know, but should resolve the space issue. - Original Message - From: Shahzad.Butt To: CF-Talk Sent: Wednesday, December 31, 2003 9:22 AM Subject: Space between images Folowing is code to show buttons (each button is an image) in my page table cellpadding=0 cellpadding=0width=100% tr td CFOutput query=GetAllUnitPromotionTypeName cfswitch _expression_=#GetAllUnitPromotionTypeName.PK_UnitPromotionType_ID# CFCase value=1 A href=""> .PK_UnitPromotionType_ID# target=Right class=smlimg align=left border=0 name=a src=""> /CFCase CFCase value=6 A href=""> .PK_UnitPromotionType_ID# target=Right class=smlimg align=left border=0 name=b src=""> /CFCase CFCase value=7 A href=""> .PK_UnitPromotionType_ID# target=Right class=smlimg align=left border=0 name=c src=""> /CFCase /cfswitch /cfoutput /td /tr /table Problem is that there is space between each button however i want not to have space between them and look like a strip. Thansk Shahzad.Butt Ph:+44 (0) 1992 701 722 Fax: +44 (0) 1992 701 604 _ _ [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: cf file write
Thanks Matt. Is there anyway to append information to the top of a file. I'm doing it to the bottom, but it would be nice if I can get a certain line on the very top. Robert O. -Original Message- From: Matthew Walker [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 30, 2003 4:56 PM To: CF-Talk Subject: RE: cf file write Try this: cfset a=cfoutput123/cfoutput cfoutput#a#/cfoutput View the page's HTML. You should see the cfoutput tags in there - at least I do on 6.1. -Original Message- From: Jeremy Brodie [mailto:[EMAIL PROTECTED] Sent: Wednesday, 31 December 2003 8:54 a.m. To: CF-Talk Subject: Re:cf file write Since I suggested using CFscript its my bad. If you were outside of CFSCRIPT then you would need to escape . Are you sure about escaping ? Never seen that before, and when I experimented with it I just got two of each. The only thing you need to escape is . -Original Message- From: Jeremy Brodie [mailto:[EMAIL PROTECTED] Sent: Wednesday, 31 December 2003 8:07 a.m. To: CF-Talk Subject: Re:cf file write Yes, you can create .cfm files from CFILE=write Here's how it world work 1) Move all CF code into a single variable. My perferance would be to use CFscript synatx, since it will force you to use the correct syntax-- cfscript cftext=cfoutput cfset var=#evaluate(myvar)# cfoutput; // yes, you will need to double pound, double quote and double every time you need a variable or a tag /cfscript CFfile action="" file=e:\_promotrials\#trialname#\trial_include.cfm output=#cftext# 2) test and use Can CFFILE be used to write and output a cf file (.cfm) not a text (. txt) file? How would I work this? I have this down: CFfile action="" file=e:\_promotrials\#trialname#\trial_include.cfm output= It crashes when I insert info from the .cfm file that includes quotes. Roberto O. HWW _ _ _ [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
CMS Solutions
Does anyone know of a good CMS in ColdFusion, possibly one that has nice URL structure? Neal Bailey Internet Marketing Manager UGA-Association Field Services E-mail:mailto:[EMAIL PROTECTED] [EMAIL PROTECTED] [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: CMS Solutions
Does anyone know of a good CMS in ColdFusion, possibly one that has nice URL structure? I think CommonSpot is pretty good; we use it for quite a few of our clients. It generates stub files for URLs, which gives you easy-to-remember URLs: http://www.paperthin.com/ If you have any questions about it, feel free to contact me directly. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ voice: (202) 797-5496 fax: (202) 797-5444 [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
New onTap Mailing List
Hi All, Mike Dinowitz has been gracious enough to offer the House of Fusion as a place to host the onTap framework mailing list. Thanks Mike! :) I'm planning to update my blog so that it will send most of my blog entries to the list. It's all about letting everybody get the info in the format they want. :) Once I'm done with the login utility I'm working on now I think I'm going to work on a forum utility I can integrate on the site and hopefully also synchronize the forum with the mailing list. This way if you want to just subscribe to the list you can do that, if you want to subscribe just to the forum you can do that too, and in either case not have to worry about missing content or conversation in the alternate medium. To subscribe now, visit HoF at: http://www.houseoffusion.com/cf_lists/index.cfm/method=subscribeforum id=42 Thanks, s. isaac dealey 214-823-9345 team macromedia volunteerhttp://www.macromedia.com/go/team chief architect, tapestry cmshttp://products.turnkey.to onTap is open sourcehttp://www.turnkey.to/ontap [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
Re: CMS Solutions
FarCry CMS - open source http://farcry.daemon.com.au/ Theres a friendly-url plugin that allows for easy-to-remember urls. -d - Original Message - From: Bailey, Neal To: CF-Talk Sent: Wednesday, December 31, 2003 11:53 AM Subject: CMS Solutions Does anyone know of a good CMS in ColdFusion, possibly one that has nice URL structure? [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: CMS Solutions
I know FarCry says it requires MX but do you know if there is a version that runs on 5.0? -Original Message- From: Darron J. Schall [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 31, 2003 12:49 PM To: CF-Talk Subject: Re: CMS Solutions FarCry CMS - open source http://farcry.daemon.com.au/ http://farcry.daemon.com.au/ Theres a friendly-url plugin that allows for easy-to-remember urls. -d - Original Message - From: Bailey, Neal To: CF-Talk Sent: Wednesday, December 31, 2003 11:53 AM Subject: CMS Solutions Does anyone know of a good CMS in ColdFusion, possibly one that has nice URL structure? _ [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: CMS Solutions
Dave, What do you mean by stub files for URLs? Dwayne Cole, MS in MIS, MBA Certified Advanced ColdFusion Developer 850-591-0212 It can truly be said that nothing happens until there is vision. But it is equally true that a vision with no underlying sense of purpose, no calling, is just a good idea - all sound and fury, signifying nothing.The Fifth Discipline - Peter Senge -- Original Message -- From: Dave Watts [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] Date:Wed, 31 Dec 2003 12:35:12 -0500 Does anyone know of a good CMS in ColdFusion, possibly one that has nice URL structure? I think CommonSpot is pretty good; we use it for quite a few of our clients. It generates stub files for URLs, which gives you easy-to-remember URLs: http://www.paperthin.com/ If you have any questions about it, feel free to contact me directly. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ voice: (202) 797-5496 fax: (202) 797-5444 [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: CMS Solutions
I'd imagine something like an index.htm with a meta-redirect tag in it. Tapestry has the potential to do that, but nothing's been implemented yet. I did implement a domain-management system tho, which allows you to associate a domain (including the aname) with a specific page in your site(s). My site is done that way. http://www.turnkey.to goes to the home page and http://products.turnkey.to goes to the products page. I use a wild-card record for dns so that any aname that's not otherwise assigned forwards to the site's root directory, which allows me to assign anything I want in the CMS without having to make any changes on the dns server. Dave, What do you mean by stub files for URLs? Dwayne Cole, MS in MIS, MBA Certified Advanced ColdFusion Developer 850-591-0212 It can truly be said that nothing happens until there is vision. But it is equally true that a vision with no underlying sense of purpose, no calling, is just a good idea - all sound and fury, signifying nothing.The Fifth Discipline - Peter Senge -- Original Message -- From: Dave Watts [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] Date:Wed, 31 Dec 2003 12:35:12 -0500 Does anyone know of a good CMS in ColdFusion, possibly one that has nice URL structure? I think CommonSpot is pretty good; we use it for quite a few of our clients. It generates stub files for URLs, which gives you easy-to-remember URLs: http://www.paperthin.com/ If you have any questions about it, feel free to contact me directly. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ voice: (202) 797-5496 fax: (202) 797-5444 [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
SOT: Columns in MS Access
Is there a syntax that you can pass to a MS Access Db to get a list of column names for a particular table? Thanks Paul Giesenhagen QuillDesign [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
Re: Columns in MS Access
you can query on SELECT *, and then do a cfoutput#queryname.columnlist#/cfoutput ? or are you looking for something within Access itself? - Original Message - From: Paul Giesenhagen To: CF-Talk Sent: Wednesday, December 31, 2003 1:47 PM Subject: SOT: Columns in MS Access Is there a syntax that you can pass to a MS Access Db to get a list of column names for a particular table? Thanks Paul Giesenhagen QuillDesign [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
Re: Columns in MS Access
Nope, that is what I was looking for... Thanks Paul Giesenhagen QuillDesign - Original Message - From: Charlie Griefer To: CF-Talk Sent: Wednesday, December 31, 2003 2:51 PM Subject: Re: Columns in MS Access you can query on SELECT *, and then do a cfoutput#queryname.columnlist#/cfoutput ? or are you looking for something within Access itself? - Original Message - From: Paul Giesenhagen To: CF-Talk Sent: Wednesday, December 31, 2003 1:47 PM Subject: SOT: Columns in MS Access Is there a syntax that you can pass to a MS Access Db to get a list of column names for a particular table? Thanks Paul Giesenhagen QuillDesign [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
Re: CMS Solutions (Friendly URL's)
Take a look at this. index.cfm?ACTION=""> It's awful.I need a way to shorten this. The ACTION variable handles what application to access, The PERFORM varaibles handles the particular Use Case or Method of the a particular application I store the full navigation structure in the application scope as an array of structures so the Pindex and the GIndex points to the different Nodes in the navigation packet. FarCry CMS - open source http://farcry.daemon.com.au/ Theres a friendly-url plugin that allows for easy-to-remember urls. -d - Original Message - From: Bailey, Neal To: CF-Talk Sent: Wednesday, December 31, 2003 11:53 AM Subject: CMS Solutions Does anyone know of a good CMS in ColdFusion, possibly one that has nice URL structure? [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: CMS Solutions (Friendly URL's)
Just out of curiosity, but why is the URL awful? Sure, it's not something you can memorize, but outside of that, who cares how crazy it looks. The typical user will just bookmark it and not even notice what the URL says. [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
Re:CMS Solutions
My own system, CMPro, does this.You can specify any sort of file name you want and the system will use that when either displaying the page or when publishing a static version.We released Version 3 today and should have the demo up by tomorrow at the latest. Works *fantastically*, when done right, to spike a page to the top of search results.I've got customers hitting the top of Google in less than 30 days. --Matt Robertson-- MSB Designs, Inc. [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: CMS Solutions (Friendly URL's)
It's not the friendliness to users which is significant but rather the friendliness to search engines coupled with how they weight various aspects of a given resource on the web. Short URLs are given a much higher weight than long(er) URLs, (presuming the content is otherwise the same). Ditto again for the size of the query string on the URL. And relevancy of the name of the file in the URL, if any, also is given high weight *if* that also corresponds to in-document context. This is why the so-called 'search engine safe URLs don't really do much for most sites if all they do is substitute slashes for ampersands and equals signs; most search engines will start decrementing relevancy weight once the URL is more than 2-3 levels deep. One needs short relevant file names in a short shallow URL corresponding to actual content in the document to make the biggest impact in the search engine rankings. -Original Message- From: Raymond Camden [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 31, 2003 4:33 PM To: CF-Talk Subject: RE: CMS Solutions (Friendly URL's) Just out of curiosity, but why is the URL awful? Sure, it's not something you can memorize, but outside of that, who cares how crazy it looks. The typical user will just bookmark it and not even notice what the URL says. _ [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: CMS Solutions (Friendly URL's)
This is now moving into an off-topic realm, and maybe it is time to move it to cf-community, but I have to wonder why search engine makers said A long URL isn't good. It seems sad that an entire industry has to bend and change to fit the rules that Google sets up. [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
Re: CMS Solutions (Friendly URL's)
Though this is true and needs to be addressed when building a site, you should always keep a few things in mind, 1) Quality of content on your site (clear content for actual human eyes who are reading).This should outweigh anything else on your website. 2) Though there are many things that are relevant to search engines, they all have various weights and some things are more important than others. More effort should be put on keyworded content and relavant keywords than on how many levels a page goes deep ... I have seen too many website owners who get hung up on the statements below that they loose sight of what their webpage is all about. If you can accomplish all aspects of quality content, relative keywords and search engine friendly keywords great ... but if you can't pick away at whats important first.. and do your best at whats left over. Paul Giesenhagen QuillDesign - Original Message - From: John Quarto-vonTivadar To: CF-Talk Sent: Friday, January 02, 2004 4:33 AM Subject: RE: CMS Solutions (Friendly URL's) It's not the friendliness to users which is significant but rather the friendliness to search engines coupled with how they weight various aspects of a given resource on the web. Short URLs are given a much higher weight than long(er) URLs, (presuming the content is otherwise the same). Ditto again for the size of the query string on the URL. And relevancy of the name of the file in the URL, if any, also is given high weight *if* that also corresponds to in-document context. This is why the so-called 'search engine safe URLs don't really do much for most sites if all they do is substitute slashes for ampersands and equals signs; most search engines will start decrementing relevancy weight once the URL is more than 2-3 levels deep. One needs short relevant file names in a short shallow URL corresponding to actual content in the document to make the biggest impact in the search engine rankings. -Original Message- From: Raymond Camden [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 31, 2003 4:33 PM To: CF-Talk Subject: RE: CMS Solutions (Friendly URL's) Just out of curiosity, but why is the URL awful? Sure, it's not something you can memorize, but outside of that, who cares how crazy it looks. The typical user will just bookmark it and not even notice what the URL says. _ [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
Re[2]: Two Selects
You might also want to check out a tutorial I wrote for easycfm.com It deals with homegrown multiple selects related that can be used multiple times within a form. The article can be found at http://tutorial196.easycfm.com There is also an example at http://www.durette.org/tutorials/MultiSelect.cfm Steve -- Best regards, Steven mailto:[EMAIL PROTECTED] [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: CMS Solutions (Friendly URL's)
For one, It provides to much insight into how the application works. Just out of curiosity, but why is the URL awful? Sure, it's not something you can memorize, but outside of that, who cares how crazy it looks. The typical user will just bookmark it and not even notice what the URL says. [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
Re: CMS Solutions (Friendly URL's)
I heard a talk given by a nice lady from Google.One of her basic points: Don't try too hard.As Paul says, content is king.But recently some big things happened with Google's formula revision, and thats where CF comes in. This is relative to CF in that we can design dynamic pages to have keyword-laden, purely static-appearing names that, coupled to content and intelligent page title choice, seem to be thehot ticket. Almost as soon as I started using fake static page names, mid-November) the results have been stunning.Very often #1 rankings for targeted keyword combos. Google this: hellcat fury #1 duxford eagles #1 (even beats theduxfordeagles.com) moorcroft nostalgia #1, #2 (mfr product name) lynn chase bunny #1 #2 (mfr product name) This is from my own site, launched in December: coldfusion programmers tools #1 unicode in coldfusion #1 client variables coldfusion #8 (tough category; still got listed) I'm not submitting any of thsi stuff.Its all coming from crawls. -- --- Matt Robertson,[EMAIL PROTECTED] MSB Designs, Inc. http://mysecretbase.com --- -- [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: CMS Solutions (Friendly URL's)
Cool! Thanks for the tips! Peter Tilbrook ColdFusion Applications Developer ColdGen Internet Solutions Manager, ACT and Region ColdFusion Users Group - http://www.actcfug.com 4/73 Tharwa Road Queanbeyan, NSW, 2620 AUSTRALIA Telephone: +61-2-6284-2727 Mobile: +61-0439-401-823 E-mail: [EMAIL PROTECTED] \¯\/¯/ |¯|)¯) /¯/\¯\ \¯\/¯/ /_/\_\ |_|)_) \_\/_/ /_/\_\ RULES -Original Message- From: Matt Robertson [mailto:[EMAIL PROTECTED] Sent: Thursday, 1 January 2004 11:02 AM To: CF-Talk Subject: Re: CMS Solutions (Friendly URL's) I heard a talk given by a nice lady from Google.One of her basic points: Don't try too hard.As Paul says, content is king.But recently some big things happened with Google's formula revision, and thats where CF comes in. This is relative to CF in that we can design dynamic pages to have keyword-laden, purely static-appearing names that, coupled to content and intelligent page title choice, seem to be thehot ticket. Almost as soon as I started using fake static page names, mid-November) the results have been stunning.Very often #1 rankings for targeted keyword combos. Google this: hellcat fury #1 duxford eagles #1 (even beats theduxfordeagles.com) moorcroft nostalgia #1, #2 (mfr product name) lynn chase bunny #1 #2 (mfr product name) This is from my own site, launched in December: coldfusion programmers tools #1 unicode in coldfusion #1 client variables coldfusion #8 (tough category; still got listed) I'm not submitting any of thsi stuff.Its all coming from crawls. -- --- Matt Robertson,[EMAIL PROTECTED] MSB Designs, Inc. http://mysecretbase.com --- -- [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
Re: CMS Solutions (Friendly URL's)
I have seen too many website owners who get hung up on the statements below that they loose sight of what their webpage is all about. I'll keep that one in mind the next time I meet with our client, Google.:) [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
Re: Re[2]: Two Selects
Looks fairly close to what I submitted, what browser versions has yours been tested on? - Calvin - Original Message - From: Steven Durette To: CF-Talk Sent: Wednesday, December 31, 2003 6:30 PM Subject: Re[2]: Two Selects You might also want to check out a tutorial I wrote for easycfm.com It deals with homegrown multiple selects related that can be used multiple times within a form. The article can be found at http://tutorial196.easycfm.com There is also an example at http://www.durette.org/tutorials/MultiSelect.cfm Steve -- Best regards, Steven mailto:[EMAIL PROTECTED] [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: CMS Solutions (Friendly URL's)
Just an FYI, I somehow accidently cut out the email I was replying to. This was in response to: For one, It provides to much insight into how the application works. from Dwayne Cole. [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
Re[5]: Two Selects
All, I have just tested the Multi Selects Related demo for the tutorial on the following browsers: IE 6.0.2800.106.xpsp2.030422-1633 Opera 7.23 Mozilla 1.5.0.2003100716 Mozilla Firebird 0.7 Netscape 7.1 MyIE2 0.9.12 And it passed all of them with flying colors.Are there any other major browsers that you suggest that I check?I am on a WinXP system, so I can't check Linux or MacOS web browsers. Thanks Steve SD Hello Calvin, SD Mine was tested on IE, but I used the _javascript_ 1.3 pdf from SD Netscape's web site to ensure that the _javascript_ would be processed SD properly an not use any JS that was IE specific. SD I have just recently started to download other browsers for testing at SD home. The place that I work has a closed intranet where the SD browser/version is dictated to us by IT. SD I will do some testing and see what I find out. SD Steve SD Wednesday, December 31, 2003, 9:52:17 PM, you wrote: CW Looks fairly close to what I submitted, what browser CW versions has yours been tested on? -- Best regards, Steven mailto:[EMAIL PROTECTED] [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]