> I created a small tool bar that I want displayed in several pages, I
decided
> to CFINCLUDE it from my application.cfm so I wouldn't have to edit so many
> files. Works great but, I just found a few popup pages that I DONT want
it
> displayed in.
>
> Whats a good method of handling this?..Ultimately I would like to put some
> simple logic into the application.cfm to handle this...
Adding this code to the application.cfm file will include the file
toolbar.cfm in all pages except popup.cfm or popup1.cfm (you can add all the
pages you like or loop through a list of pages).....
<cfset PageName = ListLast(PATH_INFO, "/")>
<cfif (PageName NEQ "popup.cfm") OR (PageName NEQ "popup1.cfm"))>
<cfinclude template="toolbar.cfm">
</cfif>
HTH,
Steve
------------------------------------------------------------------------------
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.