Hi all --

It's my first time posting to this list. Howdy!

I hope you can help me out.

It's been years since I've done this, and I can't
remember how to get the file name of the template
that's currently processing.

Plain as mud, right?

Here's what I'm trying to do.

I've got a header I want to use for all the pages in
my website. I'm using a cfinclude to accomplish this,
which works fine.

However, the header needs to act a bit differently
depending on the name of the template being processed.

I'm using CFIF like this:

<cfif "thisPageName" is "blah.cfm">
     do this
<cfelse>
     do that
</cfif>

So what I'm looking for is the code that will tell me
thisPageName.

Thanks in advance for any help you can provide.

Scott


 
____________________________________________________________________________________
Expecting? Get great news right away with email Auto-Check. 
Try the Yahoo! Mail Beta.
http://advision.webevents.yahoo.com/mailbeta/newmail_tools.html 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Create Web Applications With ColdFusion MX7 & Flex 2. 
Build powerful, scalable RIAs. Free Trial
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJS 

Archive: 
http://www.houseoffusion.com/groups/CF-Newbie/message.cfm/messageid:2677
Subscription: http://www.houseoffusion.com/groups/CF-Newbie/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.15

Reply via email to