We use this style too (for skinning) and the only difficulty we run into is the 
constraint that the opening and closing tags have to remain in the same logical 
scope on the page, so you can't conditionally open the tag at the top of the 
page and then conditionally close it at the bottom.  This doesn't really turn 
out to be a problem but occasionally it requires some awkward maneuvering.
        Mark

-----Original Message-----
From: Jerry Johnson [mailto:[EMAIL PROTECTED]
Sent: Wednesday, December 01, 2004 11:56 AM
To: CF-Talk
Subject: Re: CFMODULE vs. CFINCLUDE


I am going to regret this, but...

We use a similar approach, and for the same reasons. 
But instead of the <cf_footer> tag, we use </cf_header>. (No parameters are 
passed to the close tags.)

<cf_channelHeader title="Blah">
        <cf_channelContent title="" subtitle="" subscriberOnly="">
        Blah
        </cf_channelContent>
</cf_channelHeader>

Jerry

Jerry Johnson
Web Developer
Dolan Media Company

>>> [EMAIL PROTECTED] 12/01/04 11:49AM >>>
Our framework here uses the custom tag approach, not to imply it is
the best way to go, just what has been in use here for years.  So a
typical page could be something like:

<cf_headertag title="Blah" check="Yes" userlevel="GenUp">

<cf_tableheader title="Something">
<tr><td>Blah</td></tr>
<cf_tablefooter>

<cf_button label="Back;Menu">

<cf_footer links="Yes">





~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Special thanks to the CF Community Suite Silver Sponsor - CFDynamics
http://www.cfdynamics.com

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:185831
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=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to