I feel like I'm bragging about my bad coding practices.

Does this look like I need to do what YOU are talking about?
<cfmodule template="../../../../modules/editor/editor.cfm" 
contentroot="c:\www\test\www\samplesite\content" 
contentpath="../../test/www/samplesite/content">

How should I do this?

because I am using cfmodule the cfinclude in my editor.cfm needs to be 
passed a relative path from the module location. Grrrr.

This page editor (very simple) includes the text document into a textarea 
field, and when submitted writes the updated file.

I need #moduleroot# for the relative path to modules folder.
Because I use a cfinclude in the module application, I need to know both the 
relative root from the modules folder to the actual text file to include AND 
the physical location of the file.

aaaaargh there's got to be a better way.

Any suggestions?
Eric

From: "Pecora, James" <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
To: "CF Talk (E-mail)" <[EMAIL PROTECTED]>
Subject: Show Of Hande
Date: Thu, 6 Apr 2000 13:29:50 -0500


OK - (seriously) can I get a show of hands (via email) of those developers
who think the ability to specify the path to a custom tag would be a good
feature - specifically NOT using cf module...and here's why.

I like the ability to call a custom tag inside a site, while having that
sites/apps structure NOT rely on any specific hosting provider. So if I
create and or use custom tags and keep them in a central place for use
througout the site I need to use <cfmodule> and provide attributes.

My problem with this solution comes in the form of writing VTML dialog boxes
for easy implementation. The minute you call the tag in <cfmodule> and then
you want to go back and edit it (using the VTML dialog box, or tag insight
you wrote) you can't because the tag now is a <cfmodule> tag and thus uses
the
cfmodule VTML file..

Does anyone else see this as a problem???

Thanks
James

Thanks for your response Dan..
(I'm trying to get a quorum of developers - so I can pass this along to
Allaire and hopefully have it implemented on the next release - the majority
rules here folks, sqeeky wheel and all that...)
------------------------------------------------------------------------------
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or 
send a message to [EMAIL PROTECTED] with 'unsubscribe' in 
the body.

______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com

------------------------------------------------------------------------------
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.

Reply via email to