Dec 10, 2001 #1 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?
is there a coldfusion function that returns just the filename of the current template, without the full path?
Dec 10, 2001 #2 Silvano Programmer Joined Jul 16, 2001 Messages 386 Location US <cfparam name="variables.thisPage" default="#ListLast(GetTemplatePath(), "\"#"> Sylvano dsylvano@hotmail.com Upvote 0 Downvote
<cfparam name="variables.thisPage" default="#ListLast(GetTemplatePath(), "\"#"> Sylvano dsylvano@hotmail.com
Dec 10, 2001 #3 Silvano Programmer Joined Jul 16, 2001 Messages 386 Location US or this: <cfparam name="variables.thisPage" default="##GetFileFromPath(GetCurrentTemplatePath())# Sylvano dsylvano@hotmail.com Upvote 0 Downvote
or this: <cfparam name="variables.thisPage" default="##GetFileFromPath(GetCurrentTemplatePath())# Sylvano dsylvano@hotmail.com
Dec 10, 2001 Thread starter #4 sevex Programmer Joined Sep 18, 2001 Messages 74 Location CA cool, thanks Upvote 0 Downvote