Laura, you still have the same problem. Look at this code here:
> <cfa_userGet
> userDirectory="UserDirectory"
> username="#request.cfa.activeuser#"
> r_stUser="stUserProfile">
>
> <CFIF isDefined("request.stUserProfile.preferences.favoriteSection")>
> <CFSET typeid = #request.stUserProfile.preferences.favoriteSection#>
> </CFIF>
You told userget to return the profile as 'stUserProfile', but then you
check for request.stUserProfile. These are different variables. If you want
to store the UP in the request scope, change your code to this:
> <cfa_userGet
> userDirectory="UserDirectory"
> username="#request.cfa.activeuser#"
> r_stUser="request.stUserProfile">
>
=======================================================================
Raymond Camden, Principal Spectra Compliance Engineer for Allaire
Email : [EMAIL PROTECTED]
ICQ UIN : 3679482
"My ally is the Force, and a powerful ally it is." - Yoda
> -----Original Message-----
> From: Laura McReynolds [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, February 08, 2001 12:09 PM
> To: Spectra-Talk
> Subject: Re: Need Help With Displaying Objects
>
>
> Only since you asked nicely! :-)... okay here is the latest version of my
> file...which returns the header, the background, and the Welcome user!
> Today's date is blah blah blah line. (Which is exactly what my
> original file
> produced also except since I added the CFIF NOT StructIsEmpty
> statement I am
> no longer receiving an error but nothing is being displayed either...)
>
> I would attach this file but I have had problems doing so with this forum.
>
> Here it is:
>
> <cfif request.bIsLoggedIn IS "true">
> <cfif NOT isDefined("request.stUserProfile.preferences.favoriteSection")>
> <cflocation url="defineprefs.cfm">
> </cfif>
> <cfelse>
> <cflocation url="loginform.cfm">
> </cfif>
>
> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
>
> <html>
> <head>
> <title>My Sun-Times</title>
> </head>
>
> <body background="background.gif" leftmargin="0" topmargin="0"
> rightmargin="0">
> <cfa_page pagename = 'article' SectionName = 'News' siteName = 'suntimes'
> datasource = '#request.cfa.objectstore.dsn#' >
> <cfinclude
> template='/Allaire/spectra//applications/suntimes/pagetemplates/he
> ader.cfm'>
>
> <cfoutput>
>
> <cfa_userGet
> userDirectory="UserDirectory"
> username="#request.cfa.activeuser#"
> r_stUser="stUserProfile">
>
> <CFIF isDefined("request.stUserProfile.preferences.favoriteSection")>
> <CFSET typeid = #request.stUserProfile.preferences.favoriteSection#>
> </CFIF>
>
> <CFIF isDefined("request.stUserProfile.preferences.favoriteSection2")>
> <CFSET typeid2 = #request.stUserProfile.preferences.favoriteSection2#>
> </CFIF>
>
> <CFIF isDefined("request.stUserProfile.preferences.favoriteSection3")>
> <CFSET typeid3 = #request.stUserProfile.preferences.favoriteSection3#>
> </CFIF>
>
> <CFIF isDefined("request.stUserProfile.preferences.hometown")>
> <CFSET hometown = #request.stUserProfile.preferences.hometown#>
> </CFIF>
>
> <CFIF isDefined("request.stUserProfile.preferences.textcolor")>
> <CFSET textcolor = #request.stUserProfile.preferences.textcolor#>
> </CFIF>
>
> <CFIF isDefined("request.stUserProfile.preferences.linkcolor")>
> <CFSET linkcolor = #request.stUserProfile.preferences.linkcolor#>
> </CFIF>
>
> <CFIF isDefined("request.stUserProfile.preferences.headlinecolor")>
> <CFSET headlinecolor = #request.stUserProfile.preferences.headlinecolor#>
> </CFIF>
>
> <CFSET today=DateFormat(Now(), "dddd, mmmm d, yyyy")>
>
> <br>
> <table width=760>
> <tr><td width=200></td>
> <td><div align="center"><font face="Arial"
> color="#headlinecolor#"><h3>Welcome
> #request.cfa.activeuser#!<p>Here are the
> top stories in your favorite areas for #today#.</p></h3></font></div>
>
> <cfa_contentObjectGetMultiple
> typeId="#typeid#"
> datasource="#request.cfa.objectstore.dsn#"
> bActiveOnly="0"
> bNonArchivedOnly="0"
> r_stObjects="stObjects"
> >
>
> <cfa_contentObject
> dataSource="#request.cfa.objectstore.dsn#"
> stObjects="#stObjects#"
> method="teaser"
> >
>
>
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
------------------------------------------------------------------------------
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/spectra_talk or send a
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.