home *** CD-ROM | disk | FTP | other *** search
/ Chip 2002 February / CHIPCD_02_2002.iso / Internet / Macromedia ColdFusion Server 5 / coldfusion-50-win-us.exe / data1.cab / Examples / CFDOCS / snippets / getbasetemplatepath.cfm < prev    next >
Encoding:
Text File  |  2001-06-13  |  702 b   |  26 lines

  1. <!--- This example uses GetBaseTemplatePath to show
  2. the template path of the current page --->
  3. <HTML>
  4. <HEAD>
  5. <TITLE>
  6. GetBaseTemplatePath Example
  7. </TITLE>
  8. </HEAD>
  9.  
  10. <BASEFONT FACE="Arial, Helvetica" SIZE=2>
  11. <BODY  bgcolor="#FFFFD5">
  12.  
  13. <BASEFONT FACE="Arial, Helvetica" SIZE=2>
  14. <BODY  bgcolor="#FFFFD5">
  15. <H3>GetBaseTemplatePath Example</H3>
  16.  
  17. <P>GetBaseTemplatePath returns the template path of the current page:<BR>
  18. <CFOUTPUT>#GetBaseTemplatePath()#</CFOUTPUT></P>
  19.  
  20. <P>GetCurrentTemplatePath returns the template path of the page from which it is called,
  21. even when it is called from an included file:
  22. <BR><CFOUTPUT>#GetCurrentTemplatePath()#</CFOUTPUT></P>
  23.  
  24. </BODY>
  25. </HTML>       
  26.