Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

filename of current template

Status
Not open for further replies.

sevex

Programmer
Joined
Sep 18, 2001
Messages
74
Location
CA
is there a coldfusion function that returns just the filename of the current template, without the full path?
 
<cfparam name=&quot;variables.thisPage&quot; default=&quot;#ListLast(GetTemplatePath(), &quot;\&quot;)#&quot;> Sylvano
dsylvano@hotmail.com
 
or this:

<cfparam name=&quot;variables.thisPage&quot; default=&quot;##GetFileFromPath(GetCurrentTemplatePath())#
Sylvano
dsylvano@hotmail.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top