you will find problems by doing that though, like if you add a text editor and
occassionaly text input fields will try to add your header inside of them and
it gets messy.
personally, I just make a snippet and a keyboard short cut in dw to just add
the basic contents like
<cfsilent>
cfm processing code here
</cfsilent>
<cfmodule template="/controls/tags/header.cfm" title="page title stuff here">
<cfoutput>
<h1>hey there mr disruptor</h1>
<p>contents go here</p>
</cfoutput>
<cfmodule template="/controls/tags/footer.cfm">
~Dave the disruptor~
----------------------------------------
From: Les Mizzell <[EMAIL PROTECTED]>
Sent: Wednesday, March 08, 2006 5:30 PM
To: CF-Talk <[email protected]>
Subject: Re: removing whitespace from within CFC output
Andy Matthews wrote:
> That's a GREAT idea Les! Always wondered how to avoid having to manually
> enter the header and footer calls on a per page basis.
>
> Only problem is that it's CF7 only. Soon...
Certainly helps with laying out files. Plus, with the correct CSS
layout, all my "content" files look like
stuff here
more stuff here
yet more stuff here
That's it.
But, I'm finding drawbacks too - it's a slight pain if you have a few
pages that use a different header, for example. There's a previous short
thread on that somewhere.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234750
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54