View Single Post
  #4 (permalink)  
Old Feb 22nd, 2008, 03:22
uday uday is offline
New Member
Join Date: Dec 2007
Location: India
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Re: cfinclude and defaulting...

Hey mac it is very easy. Just check what is parameter value or either p is defined or not
for example-
<cfif isdefined("p") and p eq 'julie'>
<cfinclude template="required template.cfm">
<cfelse>
<cfinclude template="default template.cfm">
</cfif>

try it

best of luck

Last edited by uday; Feb 22nd, 2008 at 03:25.
Reply With Quote