might be dumb, but this is what i would do.

<cffunction name="onRequestStart" returnType="boolean" output="true">
    <cfif NOT (cgi.script_name contains "yourFilename1" or
cgi.script_name contains "yourFileName1")>
         <!--- Display our Site Header at top of every page --->
         <cfinclude template="SiteHeader.cfm">
         <cfreturn true>
    <cfelse>
         <!--- DO NOT Display our Site Header at top of every page --->
         <cfreturn true>
    </cfif>
</cffunction>

tw


On 3/1/06, Les Mizzell <[EMAIL PROTECTED]> wrote:
> I'm using the below to call the header for all the main pages in a site:
>
> <cffunction name="onRequestStart" returnType="boolean" output="true">
>    <!--- Display our Site Header at top of every page --->
>    <cfinclude template="SiteHeader.cfm">
>    <cfreturn true>
> </cffunction>
>
> Suddenly, I find I've got maybe one of two pages where I do *NOT* want
> to call that specific header. Is there a good way to EXCLUDE a page from
> using that header, but keep it in the same directory as all the others?
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:233836
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