RE: [ACFUG Discuss] --- and DW
Use cfinclude template=../includes/header.cfm / the trailing forward slash prevent the included template from showing on DW. _ From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Robert Reil Sent: Wednesday, March 14, 2007 8:33 AM To: discussion@acfug.org Subject: [ACFUG Discuss] --- and DW I have a wierd thing happening in DW and wonder if anyone has found a setting or work around for it. !--- Include page header --- cfinclude template=../includes/header.cfm form action=searchbysku.cfm method=POST When I add this header in my code the SPLIT or DESIGN screen in Dreamweaver 8 only shows the content of the template in the cfinclude the code below it is gone. However if I move the end --- tab to the end like this. !--- Include page header cfinclude template=../includes/header.cfm form action=searchbysku.cfm method=POST --- I see the rest of the page in SPLIT or DESIGN view. Any wisdom on this? I would hope I would not have to keep moving statement ending tags just to edit a page every time. Robert P. Reil Managing Director, Motorcyclecarbs.com, Inc. 4292 Country Garden Walk NW Kennesaw, Ga. 30152 Office 770-974-8851 Fax 770-974-8852 www.motorcyclecarbs.com http://www.motorcyclecarbs.com/ - To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by http://www.fusionlink.com -
RE: [ACFUG Discuss] --- and DW
cfinclude template=../includes/header.cfm / Make the change then save the file and it should work OK. _ From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Robert Reil Sent: Wednesday, March 14, 2007 11:49 AM To: discussion@acfug.org Subject: RE: [ACFUG Discuss] --- and DW So what should it say? cfinclude template=../includes/header.cfm /cfinclude Robert P. Reil Managing Director, Motorcyclecarbs.com, Inc. 4292 Country Garden Walk NW Kennesaw, Ga. 30152 Office 770-974-8851 Fax 770-974-8852 www.motorcyclecarbs.com http://www.motorcyclecarbs.com/ _ From: Rick Lansford [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 14, 2007 8:52 AM To: Carbs SalesService Subject: RE: [ACFUG Discuss] --- and DW Use cfinclude template=../includes/header.cfm / the trailing forward slash prevent the included template from showing on DW. _ From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Robert Reil Sent: Wednesday, March 14, 2007 8:33 AM To: discussion@acfug.org Subject: [ACFUG Discuss] --- and DW I have a wierd thing happening in DW and wonder if anyone has found a setting or work around for it. !--- Include page header --- cfinclude template=../includes/header.cfm form action=searchbysku.cfm method=POST When I add this header in my code the SPLIT or DESIGN screen in Dreamweaver 8 only shows the content of the template in the cfinclude the code below it is gone. However if I move the end --- tab to the end like this. !--- Include page header cfinclude template=../includes/header.cfm form action=searchbysku.cfm method=POST --- I see the rest of the page in SPLIT or DESIGN view. Any wisdom on this? I would hope I would not have to keep moving statement ending tags just to edit a page every time. Robert P. Reil Managing Director, Motorcyclecarbs.com, Inc. 4292 Country Garden Walk NW Kennesaw, Ga. 30152 Office 770-974-8851 Fax 770-974-8852 www.motorcyclecarbs.com http://www.motorcyclecarbs.com/ - To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by FusionLink http://www.fusionlink.com - - To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by http://www.fusionlink.com -
RE: [ACFUG Discuss] Shopping carts
Lowest price - build it yourself. It's not that difficult and if you just want a basic system, you can create one that meets your specific needs then add on some bells and whistles later. I found much of the complexity of the off the shelf products were from an attempt to make a one size fits all, and trying to allow some degree of customization. If you are just building it for yourself, then you don't need all those added functions. Just my humble comments. Rick -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Dave Bellevue Sent: Saturday, November 18, 2006 12:50 PM To: discussion@acfug.org Subject: [ACFUG Discuss] Shopping carts Anyone here on Saturday? I'm looking for suggestions/recommendations/feedback on CF shopping carts. I'm currently looking at CFWebStore and AbleCommerce. This is for me, not a client - need to get my retail business online! Of course, I want everything at the lowest cost possible. Of importance: - Stability - Ability to customize pages quickly and easily (particulartly product display) - Very flexible product attributes - Ability to manage all site pages thru a single interface - Ability to capture CC info without actually processing it Any feedback is appreciated... Thanks, Dave Bellevue - To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by http://www.fusionlink.com - - To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by http://www.fusionlink.com -
RE: RE: [ACFUG Discuss] Shopping carts
I agree with buying something, but only if it works. The last site I did had some complexities that I just couldn't handle without doing it myself. They had some items that shipped from stock, some that had a drop ship arrangement and some bulk items that shipped by freight. That made the real-time shipping calculations a bit cumbersome. Plus, they wanted customers to be able to purchase by credit card or with an established corporate account and to add sales tax to in-state purchases. I just couldn't find anything off the shelf that would work. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Steven Ross Sent: Wednesday, November 22, 2006 9:20 AM To: discussion@acfug.org Subject: Re: RE: [ACFUG Discuss] Shopping carts Yeah except the price ratio goes way up for building it yourself. If you can save cycles on development by buying something then it may pay off. Course you may have to fix their code so... might not be that productive. Definately buy something that does 80% of what you need it to do out of the box. -Steven On 11/22/06, Rick Lansford [EMAIL PROTECTED] wrote: Lowest price - build it yourself. It's not that difficult and if you just want a basic system, you can create one that meets your specific needs then add on some bells and whistles later. I found much of the complexity of the off the shelf products were from an attempt to make a one size fits all, and trying to allow some degree of customization. If you are just building it for yourself, then you don't need all those added functions. Just my humble comments. Rick -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Dave Bellevue Sent: Saturday, November 18, 2006 12:50 PM To: discussion@acfug.org Subject: [ACFUG Discuss] Shopping carts Anyone here on Saturday? I'm looking for suggestions/recommendations/feedback on CF shopping carts. I'm currently looking at CFWebStore and AbleCommerce. This is for me, not a client - need to get my retail business online! Of course, I want everything at the lowest cost possible. Of importance: - Stability - Ability to customize pages quickly and easily (particulartly product display) - Very flexible product attributes - Ability to manage all site pages thru a single interface - Ability to capture CC info without actually processing it Any feedback is appreciated... Thanks, Dave Bellevue - To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by http://www.fusionlink.com - - To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by http://www.fusionlink.com - -- Steven Ross web application interface developer http://www.zerium.com [mobile] 404-488-4364 [fax] 928-484-4364 - To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by http://www.fusionlink.com - - To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by http://www.fusionlink.com -
RE: re[6]: [ACFUG Discuss] saving shopping carts
That's the way I do it. Instead of a separate temp table I just add a column for a switch and if the shopper buys I set the switch to 1. I set up a scheduled task to delete all the 0's that are over 2 months old, just to keep the table cleaned out. I'm not worried about the cookie hijacking because they aren't giving me any sensitive info. They're just storing selections. If someone wants to hijack that, they must not have very much to do. Rick -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Mischa Uppelschoten ext 10 Sent: Wednesday, August 30, 2006 10:05 AM To: Web Site Subject: re[6]: [ACFUG Discuss] saving shopping carts Ok, makes sense. I guess the db is the only place the shopping cart is stored? In other words, every change the user makes to the cart is applied directly to the database? Mischa. What I do is set a cookie using a unique id. I store the shopping cart info in a database along with the unique id. If the shopper leaves and returns, I read the cookie and get the shopping cart info from the DB and let them pick up where they left off. I also set the unique id as a SESSION VAR so I can keep track of their shopping list while they are in SESSION, even if they have cookies disabled. Rick Lansford -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Mischa Uppelschoten ext 10 Sent: Tuesday, August 29, 2006 9:19 PM To: Web Site Subject: re[4]: [ACFUG Discuss] saving shopping carts Well, I'm open to suggestions. It's just that I want to please my customers by offering them the shopping cart they had when they left the site. It doesn't *have* to be stored in a database, but I thought db storage was the best option for this type of data? Currently I instantiate the shopping cart object in the user's session scope and the data is flushed to the db when the session times out. Mischa. Mischa, I was talking this over with some friends. Really, what is the need for the database storage? A few ideas were thrown around, but perhaps some background on what you are really going to achieve would help. Teddy On 8/29/06, Mischa Uppelschoten ext 10 [EMAIL PROTECTED] wrote: Thanks Teddy! Mischa, Part 1: You are trying to prevent the user's shopping cart from expiring by storing it in the database and then retrieve it when they restart their session? ** Yes, that's exactly it. Part 2: OnSessionEnd takes the session scope as an argument. Thus unless you pass a scope into the application.cfc methds, you won't be able to manipulate them. I have not tried this and I am not sure this is possible, but perhaps you can test: cffunction name=onSessionEnd returnType=void output=false cfargument name=sessionScope type=struct required=true cfargument name=clientScope type=struct required=false cfset client.foo = bar /cffunction ** I tried this and added the line for clientScope (I already had session and application and those work fine). OnSessionEnd still fails silently when setting or getting variables in clientScope. Teddy On 8/29/06, Mischa Uppelschoten ext 10 [EMAIL PROTECTED] wrote: I'm probably missing something. Here is my situation: CFMX7. I'm using OnSessionEnd in Application.cfc to store a user's shopping cart in a database. Works fine. Currently, after the session times out, only the shopping cart page is able to instantiate a shopping cart in the user's session scope and load the old cart. I would like to change this so that any page has the ability to retrieve the shopping cart, but I'm struggeling with performance considerations; I don't want to do a database lookup on every page request. (I want every page to be able to retrieve a user's cart because I built a shopping cart indicator which is displayed on every page). I have noticed that you cannot set a client variable in the OnSessionEnd event (the event fails silently after the client.myvar= line if you do so), this would have been perfect because a simple check for a client var and then to a db lookup or not would have been easy. Obviously you cannot set a cookie var either. Should I not worry about an additional db lookup for every page request, or is there a better way to do this? Many thanks! Mischa. - To unsubscribe from this list, manage your profile @ http://www.acfug.org?falogin.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by http://www.fusionlink.com - -- cf_payne / Blog: http://cfpayne.wordpress.com/ Atlanta CFUG: http://www.acfug.org - To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted
RE: [ACFUG Discuss] Learning Cold Fusion
be purchased in print) at http://www.adobe.com/support/documentation/en/coldfusion/documentation.html Don't forget, as well, the example apps that come with CF (an option on installation). They're not paragons of good design, but as has been conveyed in this thread, there's learning to get started, and then there's learning to advance. CF7 in particular has an especially nice flash-based interface to help with its getting started resources. Finally, though it may be old, there was a CD produced by Allaire called the SkillBuilder. I would bet you could find it. There's a more recent version of something similar, a video that does cover CFMX, at: http://www.learnwebdevelopment.com/intro_to_coldfusion_mx.html I've not used either of them but the price for the latter is right to fit in your budget. /charlie -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dean H. Saxe Sent: Saturday, June 17, 2006 4:45 PM To: discussion@acfug.org Subject: RE: [ACFUG Discuss] Learning Cold Fusion I'm with Jeremy on this. I'm a book learner, read a book, implement, read more, implement more. I'm a self-taught programmer, unless you consider taking Pascal in college in 1990 part of my career (I don't). Classes are helpful, but they are expensive. Most classes I see on any technical area of expertise are in the neighborhood of $750 - $1000/8 hour day. That having been said, the best addition to books and trying new things has always been having a mentor to work with. Someone who knows XYZ technology just a bit better than you so you can learn from his or her experience. My first boss, Eric Palmer, was that person for me WRT DB design and SQL. My next boss helped me really get my feet wet with OO and Java. WRT application security, I was on my own for a while but eventually found some people who have helped me grow in that space as well. I've also learned a lot from people in ACFUG over the years too. Cameron Childress, Jeremy Allen (who I'm happy to work with now), Charlie Arehart, Shawn Gorrell and others have all been great resources over the years. Good luck Rick! -dhs On June 17, 2006, Rick Lansford wrote: I took a class, but looking back, it would have been just as easy to learn on my own. However, I am not in the league with the others on this list (I still pretty much use a basic to mid-level programming technique). So if your goal is to get to their level I think it would take some formal training. Just to let you know, you can do a lot (and I mean a lot) just knowing the basic aspects of CF and having a pretty fair understanding of SQL and DB design. Rick -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Robert Reil Sent: Saturday, June 17, 2006 2:25 PM To: discussion@acfug.org Subject: [ACFUG Discuss] Learning Cold Fusion Here's an easy one! Whats the easiest cost effective way to learn how to get up and rolling in CF? Budget a couple hundred. I have servers, and software. Should I take a class, a web school, or use Forta's Web App Construction site? Opinions and links welcome... Robert P. Reil Managing Director, Motorcyclecarbs.com, Inc. 4292 Country Garden Walk NW Kennesaw, Ga. 30152 Office 770-974-8851 Fax 770-974-8852 www.motorcyclecarbs.com - To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by FusionLink - - To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by http://www.fusionlink.com - Dean H. Saxe [EMAIL PROTECTED] What difference does it make to the dead, the orphans, and the homeless, whether the mad destruction is wrought under the name of totalitarianism or the holy name of liberty and democracy? -Gandhi - To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=gin.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by http://www.fusionlink.com - - To unsubscribe from this list, manage your profile @ http
[ACFUG Discuss] rereplace
When a string from a form.field contains a quotation mark (like 5" instead of 5 inches) everything from the quotation mark on gets truncated. Please, what is the way to correct this (other than tell my client to enter inches and not a quotation mark)? cfset ThisString = "#REReplace(form.description,"quot;","inches","ALL")#" or cfset ThisString = "#REReplace(form.description""","inches","ALL")#" Gets a value for ThisString of "form.description" which is worse that truncating the real variable. Any help would be kindly appreciated. Rick - To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by FusionLink -
RE: [ACFUG Discuss] rereplace
I tried the cfqueryparam and for some reason it still truncated. The following: cfset thisstring = REReplace(form.description,'',' inches') ended up working out fine. Thanks for the guidance. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Douglas Knudsen Sent: Monday, June 19, 2006 6:42 PM To: discussion@acfug.org Subject: Re: [ACFUG Discuss] rereplace Why replace the with 'inches' at all? I'm guessing the issue comes up when trying to insert the text into a DB. Use CFQUERYPARAM, it will escape the as needed. Then use HTMLEditFormat() when displaying the data or prepopulating a textarea control. DK On 6/19/06, Rick Lansford [EMAIL PROTECTED] wrote: When a string from a form.field contains a quotation mark (like 5 instead of 5 inches) everything from the quotation mark on gets truncated. Please, what is the way to correct this (other than tell my client to enter inches and not a quotation mark)? cfset ThisString = #REReplace(form.description,quot;,inches,ALL)# or cfset ThisString = #REReplace(form.description,inches,ALL)# Gets a value for ThisString of form.description which is worse that truncating the real variable. Any help would be kindly appreciated. Rick - To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by FusionLink - -- Douglas Knudsen http://www.cubicleman.com this is my signature, like it? - To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by http://www.fusionlink.com - - To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by http://www.fusionlink.com -
RE: [ACFUG Discuss] Learning Cold Fusion
I took a class, but looking back, it would have been just as easy to learn on my own. However, I am not in the league with the others on this list (I still pretty much use a basic to mid-level programming technique). So if your goal is to get to their level I think it would take some formal training. Just to let you know, you can do a lot (and I mean a lot) just knowing the basic aspects of CF and having a pretty fair understanding of SQL and DB design. Rick -Original Message-From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]On Behalf Of Robert ReilSent: Saturday, June 17, 2006 2:25 PMTo: discussion@acfug.orgSubject: [ACFUG Discuss] Learning Cold Fusion Heres an easy one! Whats the easiest cost effective way to learn how to get up and rolling in CF? Budget a couple hundred. I have servers, and software. Should I take a class, a web school, or use Fortas Web App Construction site? Opinions and links welcome... Robert P. Reil Managing Director, Motorcyclecarbs.com, Inc. 4292 Country Garden Walk NW Kennesaw, Ga. 30152 Office 770-974-8851 Fax 770-974-8852 www.motorcyclecarbs.com- To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by FusionLink - - To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by FusionLink -
RE: [ACFUG Discuss] UPS Shipping Rates
I found a packaged code snippet that seams to work OK. Thanks for the help. -Original Message-From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]On Behalf Of Rick LansfordSent: Thursday, June 15, 2006 5:33 PMTo: [EMAIL PROTECTED] OrgSubject: [ACFUG Discuss] UPS Shipping Rates OK - I have spent wy tooo much time on this. So I need help and I am not above pay $$$ for the assistance. I obtained the developer license and assess number so that's OK I have managed to send a request and obtain a list of shipping options and prices so that's OK The problem is that I can only get the info for US shipments. When I send a ShipTo country and postal code outside the US I get a blank return. Obviously I'm not an XML type. I hate things with X (XML - XHTML - X-wife - X-job) Thanks for any help or offers. Rick- To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by FusionLink - - To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by FusionLink -