Admin Pages / CFMAIL continued
Visitors to VTC.com will be able to view all introductory videos for each training course.
Free Trial Members will gain access to first three chapters for each training course.
Full Access Members have full access to VTC.com’s entire library of video tutorials.
Learn More
Subtitles of the Movie
So I will be emailed this text with these variables expanded, because cfmail is sort of also like a cfoutput and cfset where it will expand these variables. So I will be emailed this, and I will look at my email box and say - someone put this URL and here is the description. The user_ID if they had logged in to the website, this would be their user_ID. Otherwise it will be set to 2 and I could have done a look up to see who user_ID 2 or whatever their ID is, but you know I could do that later. You get the idea, you could always do that, do another query on the user database where user_ID is this, and get out their name and then put that in here. That's fine, let's not go into the database, and frankly I don't really care right now. The date added. Well I am going to get this email immediately but why not, we've got the data so we may as well put it in. And then here is the link to the admin page and I am passing the link_ID equals to and there is the dynamic. And then I immediately send them to links.cfm page. Adding token - No. So that all that stuff doesn't show up on the URL. And then here I will throw in a cfabort tag, and the show error is "oops!" "This URL already exists in the database. Please try another." And then we have to close our cfabort tag. OK, let's save it and go out here, and we will add a link and let's just say oh right, let me go get another one from the website. Be right back. The north east utilities eagle cam, live camera, that is a Montague link, north east utilities, eagles, eagles.htm This is a great link, you should go there by the way as I as I've already said - three or four weeks after eagle mating season, you see some eggs. I click submit. Ah - cfelse, cfelse is not a closed tag. Alright, let's try it again. Submit, and we go right back to the links page. See it's not in here. Let me check my mail, and there it is. Let's go check it out. New link from mike@cftito.com. By the ways I was on tech support with the guys at cfmresources.com today. Tito and Paulo and I tell you, those guys rock. They are great, anyway. A new link has been added to the database. This looks like a great website. Actually maybe I should have made this hot linked as well, so I could link right our of the email. All I have to do is put an http in the front of it, why don't I just go and do that right now. Link URL is http, save it, and then come back over here. North east utilities eagle cam, live camera, you don't say. Let me go check it out. So I go to my back end page here and there it is. And maybe I should put something in here that says 'go to link'. But I can also just come down here and say open in new window. Well page not found - say it isn't so. There it is, maybe they just changed the URL. Look at that, an empty nest. There's nothing worse than an empty nest. Let's find out what the, it's just eagles now, they took out the eagles.htm. OK. Well, that is not a problem, I can just edit it out. I can say it's accepted, and let's close this window and just check our link - wild and wacky colors. And there it is and more importantly out here if we reload, there it is - eagles online. So now this is a fully functional, customer-service oriented Cold Fusion application. And now it is truly ready for me to put links or resources or something like that up here. lication. And now it is truly ready for me to put links or resources or something like that up here.
Tutorial Information
| Course: | Macromedia ColdFusion |
| Author: | Mike Muller |
| SKU: | 33287 |
| ISBN: | 1930519656 |
| Release Date: | 2001-12-19 |
| Duration: | 8 hrs / 86 lessons |
| Work Files: |
Yes |
| Captions: | For Online University members only |
| Compatibility: |
Vista/XP/2000, OS X, Linux QuickTime 7, Flash 8 |
VTC Sign up & Benefits
- Unlimited Access
- 98,729 Video Tutorials (23,265 free)
- Video Available as Flash or QuickTime
- Over 1026 Courses
- $30 for One Month Access
- Multi-User Discounts Available
United States 