When you say "write <cfinclude template="udf.cfm"" where?
In application.cfm? I believe we tried this and it didn't work. Regards Dale Fraser > -----Original Message----- > From: [email protected] [mailto:[EMAIL PROTECTED] On > Behalf Of Matthew > Sent: Tuesday, 27 June 2006 4:53 PM > To: cfaussie > Subject: [cfaussie] Re: Includes > > > The best thing would be to create a file called udf.cfm and write > <cfinclude template="udf.cfm">. Then every page would have access to > any function on udf.cfm > > Check your structure. Prove that the udf.cfm file is being included. A > good test would be to have a variable e.g. <cfset udf_test = "abc> and > try to use it on any page below the application.cfm page e.g. > <cfoutput>#udf_test#</cfoutput> > > This should work, I've used this style in lots of applications. If you > still have no luck show some more code. > > UDF stands for User (U) Defined (D) Function (F). > > Cheers > Matthew > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "cfaussie" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cfaussie -~----------~----~----~----~------~----~------~--~---
