It could also be a case for a custom tag, display the tag body if ok, if
not display the message (in the tag).

/H.


--
Hugo Ahlenius

-------------------------------------------------------------
Hugo Ahlenius                  E-Mail: [EMAIL PROTECTED]
Project Officer                Phone:            +46 8 230460
UNEP GRID-Arendal              Fax:              +46 8 230441
Stockholm Office               Mobile:         +46 733 467111
                               WWW:       http://www.grida.no
------------------------------------------------------------- 




 

| -----Original Message-----
| From: Joe Rinehart [mailto:[EMAIL PROTECTED]
| Sent: Tuesday, May 17, 2005 16:00
| To: CF-Talk
| Subject: Re: included cfif error
| 
| Hey Dan,
| 
| You could probably do it all with three includes:
| 
| LoginBox.cfm contains:
| 
| <div class="margin_8 orange_link">
|      <cfoutput>
|            <img src="#request.imagesdomain#spacer.gif" border="0"
| height="5" width="0"><br>
|            <cfif isDefined('cookie.empower_login')>
|                <!--- Content Include --->
|                <cfinclude template="LoginBoxLoggedIn.cfm" />
|            <cfelse>
|                <cfinclude template="LoginBoxNotLoggedIn.cfm" />
|            </cfif>
|      </cfoutput>
| </div>
| 
| LoginBoxLoggedIn.cfm contains your content
| 
| LoginBoxNotLoggedIn contains:
| 
| To use this page, please first <a
| href="#request.commondomain#login_form.cfm">login</a>.
| 
| That help at all?
| 
| -Joe
| \--
| Get Glued!
| The Model-Glue ColdFusion Framework
| http://www.model-glue.com
| 
| 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:206862
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to