Dan, This is an excellent case for David and I to put our heads to at the gym tonight.
This sounds like something a lot of other people will want to do as well. We'll be in touch. Respectfully, Adam Phillip Churvis Member of Team Macromedia http://www.ProductivityEnhancement.com Download Plum and other cool development tools, and get advanced intensive Master-level training: * C# & ASP.NET for ColdFusion Developers * ColdFusion MX Master Class * Advanced Development with CFMX and SQL Server 2000 ----- Original Message ----- From: "Nall Daniel A GS-09 336 TRSS/TSUD" <[EMAIL PROTECTED]> To: <[email protected]> Sent: Tuesday, February 15, 2005 5:30 PM Subject: RE: [plum] New Users and Request.layout questions Yes, although hijack seems a rather harsh term. :) Actually, the pages I want to take the user to are part of the registration process. This is a student administration site and there aren't any pages a student can get to until after they are fully registered. NewUserForm is just the first step in registering. Respectfully, Dan Nall -----Original Message----- From: Adam Churvis [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 15, 2005 2:17 PM To: [email protected] Subject: Re: [plum] New Users and Request.layout questions So you want the whole "new user registration process" to work exactly as it already does in Plum, except you want to hijack the page the user really wanted in an authenticated area and take him instead to a different page once he's successfully registered (and therefore automatically logged in)? Respectfully, Adam Phillip Churvis Member of Team Macromedia http://www.ProductivityEnhancement.com Download Plum and other cool development tools, and get advanced intensive Master-level training: * C# & ASP.NET for ColdFusion Developers * ColdFusion MX Master Class * Advanced Development with CFMX and SQL Server 2000 ----- Original Message ----- From: "Nall Daniel A GS-09 336 TRSS/TSUD" <[EMAIL PROTECTED]> To: <[email protected]> Sent: Tuesday, February 15, 2005 3:11 PM Subject: RE: [plum] New Users and Request.layout questions Thank you Adam but this isn't working for me. I probably wasn't clear on what I wanted to do. I want new users to login, be taken to NewUserForm (whih Plum already does and is working fine) and then be taken to a form I've created. Respectfully, Dan Nall -----Original Message----- From: Adam Churvis [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 15, 2005 9:43 AM To: [email protected] Subject: Re: [plum] New Users and Request.layout questions Both of these things are easy to do. 1) Change the cflocation in /login/LoginAction.cfm to point to the new page you want to insert into the process. 2) Don't do this. Instead, create a single layout that tests for the user's roles, using either cf_Authorize as a paired tag around each roles-specific section, or for more complicated logic using hardcrafted IsUserInRole() tests. You'll get the same effect and easier-to-maintain code. You're most sincerely welcome for Plum, my friend. :) Please let us know any suggestions you have for the product. Respectfully, Adam Phillip Churvis Member of Team Macromedia http://www.ProductivityEnhancement.com Download Plum and other cool development tools, and get advanced intensive Master-level training: * C# & ASP.NET for ColdFusion Developers * ColdFusion MX Master Class * Advanced Development with CFMX and SQL Server 2000 ----- Original Message ----- From: "Nall Daniel A GS-09 336 TRSS/TSUD" <[EMAIL PROTECTED]> To: <[email protected]> Sent: Tuesday, February 15, 2005 11:54 AM Subject: [plum] New Users and Request.layout questions Two questions this morning: 1. I see this line <cfcase value="Authenticate.UserNotFound"> <cflocation url="NewUserForm.cfm?rememberLogin=#Form.rememberLogin#" addtoken="No"> checks to see if a login is a new user and if so sends them to NewUserForm.cfm How can I automatically send a new user from there to another form that I've created? 2. My admin pages use <cfmodule template="#Request.adminLayout#/Header.cfm"> to call their layout. I've made two other custom layouts for users who aren't admin and aren't normal user. How do I set this up so the calls are made correctly? For example, I have staff members whose layout is different from users or admin and I want their pages to call <cfmodule template="#Request.staffLayout#/Header.cfm">. I would also just like to say thank you to the members of this list and to the creators of Plum. I am new to CF and the project I'm building would just not be possible for me without your help and Plum. Sincerely, Dan Nall ********************************************************************** You can subscribe to and unsubscribe from lists, and you can change your subscriptions between normal and digest modes here: http://www.productivityenhancement.com/support/DiscussionListsForm.cfm ********************************************************************** ********************************************************************** You can subscribe to and unsubscribe from lists, and you can change your subscriptions between normal and digest modes here: http://www.productivityenhancement.com/support/DiscussionListsForm.cfm ********************************************************************** ********************************************************************** You can subscribe to and unsubscribe from lists, and you can change your subscriptions between normal and digest modes here: http://www.productivityenhancement.com/support/DiscussionListsForm.cfm ********************************************************************** ********************************************************************** You can subscribe to and unsubscribe from lists, and you can change your subscriptions between normal and digest modes here: http://www.productivityenhancement.com/support/DiscussionListsForm.cfm ********************************************************************** ********************************************************************** You can subscribe to and unsubscribe from lists, and you can change your subscriptions between normal and digest modes here: http://www.productivityenhancement.com/support/DiscussionListsForm.cfm **********************************************************************
