RE: page layout: cfmodule vs customtags
I did give the OO/CFC based methodology (model-glue to be specific) a go, but I came to the conclusion that this really defeats the purpose of what a web page is for. It is over complicating something that should be simple. A web page should be just that and be able to be opened in a WYSIWYG edit by a designer and edited. Putting everything into CFC's just really stops a web site being a web site any more. There is no way a designer can ever work on it unless he learns to code, it is also not very friendly toward other developers, who have to know OO and the framework before they can work on it. It really is more like software development. I got one of our developers to build a model-glue site, and then myself and one of the other developers tried to go and figure it out with no prior knowledge of model-glue, suffice to say it was very hard. And debugging is seriously time wasting trying to find out what actually caused the error, because the errors don't actually tell you. CFC's are great when used correctly, but I do not not agree with building a whole web site with CFC's, its too much obscurity. I also noticed that model-glue runs very slow, the site we built with it takes several seconds for each page to load off the local network. Russ -Original Message- From: Steve Bryant [mailto:[EMAIL PROTECTED] Sent: 13 February 2006 04:35 To: CF-Talk Subject: Re: page layout: cfmodule vs customtags I like using using components for layouts as well. Even wrote an article about it. ;-) http://coldfusion.sys-con.com/read/154231.htm Steve I do this in some cases and see nothing wrong with taking that approach. It usually is in its own separate CFC just for layout purposes but not always. On 2/12/06, Michael Dinowitz [EMAIL PROTECTED] wrote: I've even started using CFCs to hold some 'pods' of content that I use in various places. This idea'll start a firestorm from those who say CFCs should never output, but they're wrong anyway. :) ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:232096 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
Re: page layout: cfmodule vs customtags
dave wrote: I been using cfmodule for my page layouts but am making my current project with customtags am curious what your opinions are on each and why you'd pick one over the other. neither. I use cfinclude for page layout ;) ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:232101 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
RE: page layout: cfmodule vs customtags
We use a similar CFC-based system. It allows you to easily do things like switch layouts, or have several layouts per application. We use a xml file to define what directories receive a particular skin, and the call just remains #request.layout.header()#, etc on each page. Completely separates the presentation of headers and such from the content. As for output from CFCs yes I'm against using output=true. There's no real reason the CFC itself should *force* output text onto a page. That said, the pattern of returning a string and then outputting the function call as a variable (like I showed above) is more flexible and (imo) not breaking OOP principles. Kam -Original Message- From: Will Tomlinson [mailto:[EMAIL PROTECTED] Sent: Sunday, February 12, 2006 4:15 PM To: CF-Talk Subject: Re: page layout: cfmodule vs customtags I been using cfmodule for my page layouts but am making my current project with customtags am curious what your opinions are on each and why you'd pick one over the other. Layout.cfc - showHeader(), showLeftMenu(), showFooter() Works sweet! Screw custom tags! :) Will ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:232115 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
page layout: cfmodule vs customtags
I been using cfmodule for my page layouts but am making my current project with customtags am curious what your opinions are on each and why you'd pick one over the other. ~Dave the disruptor~ I forgot what I was gunna put here, Will woulda stole it anyways! ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:232070 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
Re: page layout: cfmodule vs customtags
You are aware, I hope, that when you use cfmodule, you are using custom tags. On 2/12/06, dave [EMAIL PROTECTED] wrote: I been using cfmodule for my page layouts but am making my current project with customtags am curious what your opinions are on each and why you'd pick one over the other. ~Dave the disruptor~ I forgot what I was gunna put here, Will woulda stole it anyways! ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:232071 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
Re: page layout: cfmodule vs customtags
I think custom tags are marginally easier to read from a human perspective, but cfmodule is more flexible as you don't need a defined custom tag path. 6 vs half a dozen :) On 2/13/06, dave [EMAIL PROTECTED] wrote: I been using cfmodule for my page layouts but am making my current project with customtags am curious what your opinions are on each and why you'd pick one over the other. -- Kay Smoljak http://kay.zombiecoder.com/ ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:232072 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
Re: page layout: cfmodule vs customtags
Personally, I use CFINCLUDEs for most of my layout. Less overhead, though less of that nice clean variable passing that custom tags/cfmodules have. I've even started using CFCs to hold some 'pods' of content that I use in various places. This idea'll start a firestorm from those who say CFCs should never output, but they're wrong anyway. :) I been using cfmodule for my page layouts but am making my current project with customtags am curious what your opinions are on each and why you'd pick one over the other. ~Dave the disruptor~ I forgot what I was gunna put here, Will woulda stole it anyways! ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:232073 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
Re: page layout: cfmodule vs customtags
you know what i mean ray. ok lets rephrase thats cfmodule vs cfimport ~Dave the disruptor~ I forgot what I was gunna put here, Will woulda stole it anyways! From: Raymond Camden [EMAIL PROTECTED] Sent: Sunday, February 12, 2006 5:25 PM To: CF-Talk cf-talk@houseoffusion.com Subject: Re: page layout: cfmodule vs customtags You are aware, I hope, that when you use cfmodule, you are using custom tags. On 2/12/06, dave wrote: I been using cfmodule for my page layouts but am making my current project with customtags am curious what your opinions are on each and why you'd pick one over the other. ~Dave the disruptor~ I forgot what I was gunna put here, Will woulda stole it anyways! ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:232074 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
Re: page layout: cfmodule vs customtags
but that limits you greatly, one reason I would use cfmodule is to be able to set variables and attributes such as title easier which is essential for search engines. ~Dave the disruptor~ I forgot what I was gunna put here, Will woulda stole it anyways! From: [EMAIL PROTECTED] (Michael Dinowitz) Sent: Sunday, February 12, 2006 5:46 PM To: CF-Talk cf-talk@houseoffusion.com Subject: Re: page layout: cfmodule vs customtags Personally, I use CFINCLUDEs for most of my layout. Less overhead, though less of that nice clean variable passing that custom tags/cfmodules have. I've even started using CFCs to hold some 'pods' of content that I use in various places. This idea'll start a firestorm from those who say CFCs should never output, but they're wrong anyway. :) I been using cfmodule for my page layouts but am making my current project with customtags am curious what your opinions are on each and why you'd pick one over the other. ~Dave the disruptor~ I forgot what I was gunna put here, Will woulda stole it anyways! ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:232075 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
Re: page layout: cfmodule vs customtags
All depends on how your setting the title and other header info. I have sub-includes per section that see the section and uses a switch to put the right header info in place. For the lists, the header comes from the DB anyway so nothing passed. My issue against custom tags is that they are a separate cf 'instance' which is segmented from the calling page. This means that it has all of the CGI, form, url, etc. variables set for the page are duplicated for this new 'instance'. More memory usage. If all I need is to pass in a specific variable, I can just do a CFSET before the CFINCLUDE. The choice is a set before the include which is part of the calling page or a new page which has lots of data passed into it. I'm for the first. I only use custom tags when I really want a segmented module call. but that limits you greatly, one reason I would use cfmodule is to be able to set variables and attributes such as title easier which is essential for search engines. ~Dave the disruptor~ I forgot what I was gunna put here, Will woulda stole it anyways! From: [EMAIL PROTECTED] (Michael Dinowitz) Sent: Sunday, February 12, 2006 5:46 PM To: CF-Talk cf-talk@houseoffusion.com Subject: Re: page layout: cfmodule vs customtags Personally, I use CFINCLUDEs for most of my layout. Less overhead, though less of that nice clean variable passing that custom tags/cfmodules have. I've even started using CFCs to hold some 'pods' of content that I use in various places. This idea'll start a firestorm from those who say CFCs should never output, but they're wrong anyway. :) I been using cfmodule for my page layouts but am making my current project with customtags am curious what your opinions are on each and why you'd pick one over the other. ~Dave the disruptor~ I forgot what I was gunna put here, Will woulda stole it anyways! ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:232076 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
Re: page layout: cfmodule vs customtags
I do this in some cases and see nothing wrong with taking that approach. It usually is in its own separate CFC just for layout purposes but not always. On 2/12/06, Michael Dinowitz [EMAIL PROTECTED] wrote: I've even started using CFCs to hold some 'pods' of content that I use in various places. This idea'll start a firestorm from those who say CFCs should never output, but they're wrong anyway. :) ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:232078 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
Re: page layout: cfmodule vs customtags
cfimport is quicker I believe than cfmodule from a processing point of view. On 2/12/06, dave [EMAIL PROTECTED] wrote: you know what i mean ray. ok lets rephrase thats cfmodule vs cfimport ~Dave the disruptor~ ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:232079 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
Re: page layout: cfmodule vs customtags
I been using cfmodule for my page layouts but am making my current project with customtags am curious what your opinions are on each and why you'd pick one over the other. Layout.cfc - showHeader(), showLeftMenu(), showFooter() Works sweet! Screw custom tags! :) Will ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:232081 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
Re: page layout: cfmodule vs customtags
You are aware, I hope, that when you use cfmodule, you are using custom tags. Ray, I seriously doubt it! LOL!! Will ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:232082 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
Re: page layout: cfmodule vs customtags
Yeah Will and I have seen your layout.cfc and why use a cool tool like coldfusion to make a template that looks like it was made by a deaf, dumb blind kid using frontpage 97... And you wonder why you can't get any new clients... ~Dave the disruptor~ I forgot what I was gunna put here, Will woulda stole it anyways! From: Will Tomlinson [EMAIL PROTECTED] Sent: Sunday, February 12, 2006 8:15 PM To: CF-Talk cf-talk@houseoffusion.com Subject: Re: page layout: cfmodule vs customtags I been using cfmodule for my page layouts but am making my current project with customtags am curious what your opinions are on each and why you'd pick one over the other. Layout.cfc - showHeader(), showLeftMenu(), showFooter() Works sweet! Screw custom tags! :) Will ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:232083 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
Re: page layout: cfmodule vs customtags
Will, you don't even know what a custom tag is let not to mention when u saw some code i had about a month ago with cfmodule, you didnt even know what cfmodule was. And that was after you said wow, i really am an advanced coldfusion developer arent i after you did your very first cfset without looking at cfwack. ~Dave the disruptor~ I forgot what I was gunna put here, Will woulda stole it anyways! From: Will Tomlinson [EMAIL PROTECTED] Sent: Sunday, February 12, 2006 8:17 PM To: CF-Talk cf-talk@houseoffusion.com Subject: Re: page layout: cfmodule vs customtags You are aware, I hope, that when you use cfmodule, you are using custom tags. Ray, I seriously doubt it! LOL!! Will ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:232084 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
RE: page layout: cfmodule vs customtags
Why you must constantly subject us to your personal issues against Will? If you have a problem with Will, put it on your blog and keep this list related to CF topics, please. -Original Message- From: dave [mailto:[EMAIL PROTECTED] Sent: Sunday, February 12, 2006 7:31 PM To: CF-Talk Subject: Re: page layout: cfmodule vs customtags Will, you don't even know what a custom tag is let not to mention when u saw some code i had about a month ago with cfmodule, you didnt even know what cfmodule was. And that was after you said wow, i really am an advanced coldfusion developer arent i after you did your very first cfset without looking at cfwack. ~Dave the disruptor~ I forgot what I was gunna put here, Will woulda stole it anyways! ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:232086 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
Re: page layout: cfmodule vs customtags
Actually, I didn't. ;) I'm not sure you would see much difference. I know some folks consider custom tags to be a bit slower than normal includes, and yes, they are, but I've rarely seen that make a difference. About the only time i saw an impact w/ custom tags is with Spectra, which executed about 200 tags or so per request. On 2/12/06, dave [EMAIL PROTECTED] wrote: you know what i mean ray. ok lets rephrase thats cfmodule vs cfimport ~Dave the disruptor~ I forgot what I was gunna put here, Will woulda stole it anyways! From: Raymond Camden [EMAIL PROTECTED] Sent: Sunday, February 12, 2006 5:25 PM To: CF-Talk cf-talk@houseoffusion.com Subject: Re: page layout: cfmodule vs customtags You are aware, I hope, that when you use cfmodule, you are using custom tags. On 2/12/06, dave wrote: I been using cfmodule for my page layouts but am making my current project with customtags am curious what your opinions are on each and why you'd pick one over the other. ~Dave the disruptor~ I forgot what I was gunna put here, Will woulda stole it anyways! ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:232087 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
RE: page layout: cfmodule vs customtags
Well if he does it, i will respond back, is that so hard for you to understand? Why don't you go bitch at him for having to say something to start it. In case you didn't notice that doesn't happen till he tries one oh his like remarks. oh and I do.. ;) ~Dave the disruptor~ I forgot what I was gunna put here, Will woulda stole it anyways! From: Dawson, Michael [EMAIL PROTECTED] Sent: Sunday, February 12, 2006 8:52 PM To: CF-Talk cf-talk@houseoffusion.com Subject: RE: page layout: cfmodule vs customtags Why you must constantly subject us to your personal issues against Will? If you have a problem with Will, put it on your blog and keep this list related to CF topics, please. ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:232088 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
Re: page layout: cfmodule vs customtags
See now thats different then what I have heard but the speed issue is really a non issue because its probably a difference the naked eye can't even detect. It seems though as if using cfimport method actually might make it a bit more difficult to use or display results from logic or processing and display back. Maybe it's just time to jump into model-glue. ~Dave the disruptor~ I forgot what I was gunna put here, Will woulda stole it anyways! From: Raymond Camden [EMAIL PROTECTED] Sent: Sunday, February 12, 2006 8:58 PM To: CF-Talk cf-talk@houseoffusion.com Subject: Re: page layout: cfmodule vs customtags Actually, I didn't. ;) I'm not sure you would see much difference. I know some folks consider custom tags to be a bit slower than normal includes, and yes, they are, but I've rarely seen that make a difference. About the only time i saw an impact w/ custom tags is with Spectra, which executed about 200 tags or so per request. ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:232089 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
Re: page layout: cfmodule vs customtags
How about you both bitch to me privatly rather than disrupting the list with with is basically off topic BS. Now you know what I feel about OT. If it has nothing to do with the discussion at hand, take it to another list or to personal email. I can and will write a moderation module that targets only you two if I have too. Lets keep it civil AND ON TOPIC FOR THIS TECHNICAL ONLY MAILING LIST. Thank you Well if he does it, i will respond back, is that so hard for you to understand? Why don't you go bitch at him for having to say something to start it. In case you didn't notice that doesn't happen till he tries one oh his like remarks. oh and I do.. ;) ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:232090 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
RE: page layout: cfmodule vs customtags
Now children...hehehe Eric -Original Message- From: dave [mailto:[EMAIL PROTECTED] Sent: Sunday, 12 February 2006 19:34 To: CF-Talk Subject: Re: page layout: cfmodule vs customtags Yeah Will and I have seen your layout.cfc and why use a cool tool like coldfusion to make a template that looks like it was made by a deaf, dumb blind kid using frontpage 97... And you wonder why you can't get any new clients... ~Dave the disruptor~ I forgot what I was gunna put here, Will woulda stole it anyways! From: Will Tomlinson [EMAIL PROTECTED] Sent: Sunday, February 12, 2006 8:15 PM To: CF-Talk cf-talk@houseoffusion.com Subject: Re: page layout: cfmodule vs customtags I been using cfmodule for my page layouts but am making my current project with customtags am curious what your opinions are on each and why you'd pick one over the other. Layout.cfc - showHeader(), showLeftMenu(), showFooter() Works sweet! Screw custom tags! :) Will ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:232093 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
Re: page layout: cfmodule vs customtags
I like using using components for layouts as well. Even wrote an article about it. ;-) http://coldfusion.sys-con.com/read/154231.htm Steve I do this in some cases and see nothing wrong with taking that approach. It usually is in its own separate CFC just for layout purposes but not always. On 2/12/06, Michael Dinowitz [EMAIL PROTECTED] wrote: I've even started using CFCs to hold some 'pods' of content that I use in various places. This idea'll start a firestorm from those who say CFCs should never output, but they're wrong anyway. :) ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:232094 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
calling UDF's from CustomTags.
Hi ppl.- I have a weird issue here, hope someone can help me a bit i have a CustomTag who needs to call some UDF's if i put the cfscript into the CustomTag i receive this error. The routine myfunction has been declared twice in different templates. The error occurred while processing an element with a general identifier of (), occupying document position (1:1) to (1:1) in the template file but i have this function only in this file. i tried put the UDF's in another file and then using cfmodule adding the UDF files, this include the files (i can see parsed cfoutputs in there )but can see the functions.- The Machine : Coldfusion 5 Professional : windows 2000 : using fusebox any tips... :-) ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:204760 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
RE: calling UDF's from CustomTags.
Hi ppl.- I have a weird issue here, hope someone can help me a bit i have a CustomTag who needs to call some UDF's if i put the cfscript into the CustomTag i receive this error. The routine myfunction has been declared twice in different templates. The error occurred while processing an element with a general identifier of (), occupying document position (1:1) to (1:1) in the template file but i have this function only in this file. If you want to embed a function within a custom tag, you need to ensure it is only declared once. If, for example, you have a custom tag foo.cfm, and you do something like this: cf_foo.../cf_foo it will run twice. I can't remember ever wanting to embed a function within a custom tag, but I would expect that you could use ThisTag.ExecutionMode to figure out whether to declare it: cfif ThisTag.ExecutionMode is start cffunction .../cffunction /cfif Alternatively, you could simply put the functions in a CFC or in a persistent scope to get to them from within your custom tag. i tried put the UDF's in another file and then using cfmodule adding the UDF files, this include the files (i can see parsed cfoutputs in there )but can see the functions.- The CFMODULE tag doesn't just include code like CFINCLUDE does. If you place functions within another custom tag, those functions will not be available in your custom tag just because you call the other custom tag. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig Leaf Software provides the highest caliber vendor-authorized instruction at our training centers in Washington DC, Atlanta, Chicago, Baltimore, Northern Virginia, or on-site at your location. Visit http://training.figleaf.com/ for more information! ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:204781 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
RE: calling UDF's from CustomTags.
it will run twice. I can't remember ever wanting to embed a function within a custom tag, but I would expect that you could use ThisTag.ExecutionMode to figure out whether to declare it: cfif ThisTag.ExecutionMode is start cffunction .../cffunction /cfif That works with MX. I don't use them either... not that way anyhow. But I tested it some when there was a thread about it here a while back. Alternatively, you could simply put the functions in a CFC or in a persistent scope to get to them from within your custom tag. Nah, he said he's using CF5. s. isaac dealey 954.522.6080 new epoch : isn't it time for a change? add features without fixtures with the onTap open source framework http://macromedia.breezecentral.com/p49777853/ http://www.sys-con.com/author/?id=4806 http://www.fusiontap.com ~| Discover CFTicket - The leading ColdFusion Help Desk and Trouble Ticket application http://www.houseoffusion.com/banners/view.cfm?bannerid=48 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:204796 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
Re: calling UDF's from CustomTags.
Hi David, On CFMX you can avoid this error by putting the function declaration in cfif thistag.executinomode is start...function.../cfif -- on CF5 you can only put the function declaration in the same template if the tag will never be used with end-tag syntax. If you need end-tag syntax with CF5, you have to either declare the function outside the tag and place it in the request scope where the tag can access it, or place the function delcaration in a separate template and use cfif thistag.executionmode is startcfinclude template=functionfile.cfm/cfif hth Hi ppl.- I have a weird issue here, hope someone can help me a bit i have a CustomTag who needs to call some UDF's if i put the cfscript into the CustomTag i receive this error. The routine myfunction has been declared twice in different templates. The error occurred while processing an element with a general identifier of (), occupying document position (1:1) to (1:1) in the template file but i have this function only in this file. i tried put the UDF's in another file and then using cfmodule adding the UDF files, this include the files (i can see parsed cfoutputs in there )but can see the functions.- The Machine : Coldfusion 5 Professional : windows 2000 : using fusebox any tips... :-) s. isaac dealey 954.522.6080 new epoch : isn't it time for a change? add features without fixtures with the onTap open source framework http://macromedia.breezecentral.com/p49777853/ http://www.sys-con.com/author/?id=4806 http://www.fusiontap.com ~| Find out how CFTicket can increase your company's customer support efficiency by 100% http://www.houseoffusion.com/banners/view.cfm?bannerid=49 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:204794 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
RE: calling UDF's from CustomTags.
Alternatively, you could simply put the functions in a CFC or in a persistent scope to get to them from within your custom tag. Nah, he said he's using CF5. You can't use CFCs in CF 5 obviously, but I'm pretty sure you can store functions in persistent scopes in CF 5. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig Leaf Software provides the highest caliber vendor-authorized instruction at our training centers in Washington DC, Atlanta, Chicago, Baltimore, Northern Virginia, or on-site at your location. Visit http://training.figleaf.com/ for more information! ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:204803 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
RE: Moving CustomTags Directory
Another possibility is to create a junction (hard link to a directory) under windows, then you'd be able to use both the default location, and any custom location. I think sysinternals.com has a junction.exe for download. ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting.
RE: Moving CustomTags Directory
-- better yet, use CF Administrator (ie: /cfide/administrator/ -- extensions -- customtag paths) and don't play with the registry. A fine option if you're using CF5. You need to dig into the registry for CF4.5 or below. ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting.
Moving CustomTags Directory
Has anyone moved the CustomTags directory from its default location under cfusion? Are there any reasons not to or issues involved with doing it? I'm thinking of moving mine to sit under inetpub, which would give me a single point of entry for all web related files. Steve Thompson ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting.
Re: Moving CustomTags Directory
Hi Steve, Has anyone moved the CustomTags directory from its default location under cfusion? Are there any reasons not to or issues involved with doing it? -- Haven't moved the default personally, but every app I built gets it's own customtags folder... so my servers typically look like this: c:\cfusionmx\customtags\ -- I don't use this... e:\hosts\myhost.com\customtags\ -- put all the customtags related to this site in this folder.. and then call them with cfmodule. That help at all? AJ -- Aaron Johnson http://cephas.net/blog/ [EMAIL PROTECTED] ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm
RE: Moving CustomTags Directory
This is pretty common, you can create your own Custom Tag directory and just add it's path to the registry: HKLM/Software/Allaire/ColdFusion/CurrentVersion/CustomTags, For example: C:\CFUSION\CustomTags, C:\inetpub\wwwroot\myappp\mycustomtags. Then stop and start the CF Services and you're good to go. Christine Lawson Macromedia -Original Message- From: Subscription Account [mailto:[EMAIL PROTECTED]] Sent: Tuesday, December 10, 2002 4:56 PM To: CF-Talk Subject: Moving CustomTags Directory Has anyone moved the CustomTags directory from its default location under cfusion? Are there any reasons not to or issues involved with doing it? I'm thinking of moving mine to sit under inetpub, which would give me a single point of entry for all web related files. Steve Thompson ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting.
RE: Moving CustomTags Directory
This is pretty common, you can create your own Custom Tag directory and just add it's path to the registry: HKLM/Software/Allaire/ColdFusion/CurrentVersion/CustomTags, For example: C:\CFUSION\CustomTags, C:\inetpub\wwwroot\myappp\mycustomtags. Then stop and start the CF Services and you're good to go. -- better yet, use CF Administrator (ie: /cfide/administrator/ -- extensions -- customtag paths) and don't play with the registry. AJ -- Aaron Johnson http://cephas.net/blog/ [EMAIL PROTECTED] ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Get the mailserver that powers this list at http://www.coolfusion.com
Lower case file names - Was: MX and CustomTags again
Turns out there is a known problem with this and it is fixed in the next release. What started me down this path was MX not being able to see my custom tags. Now it appears that I have to lowercase all of the files on the Linux server for them to be seen. Anybody else run into this? Shawn McKee -Original Message- From: Shawn McKee [mailto:[EMAIL PROTECTED]] Sent: Wednesday, May 01, 2002 11:04 AM To: CF-Talk Subject: RE: MX and CustomTags again Well I tried but the bug submittal blew up. I sent them an e-mail about that and will try later. -Original Message- From: Matt Liotta [mailto:[EMAIL PROTECTED]] Sent: Wednesday, May 01, 2002 9:48 AM To: CF-Talk Subject: RE: MX and CustomTags again It must be a bug then because I am running the same version without issue. I would submit the bug and then possible reinstall beta 3 to get the custom tag path back. If you don't want to reinstall beta 3, rc 1 should be available soon. -Matt -Original Message- From: Shawn McKee [mailto:[EMAIL PROTECTED]] Sent: Wednesday, May 01, 2002 6:10 AM To: CF-Talk Subject: RE: MX and CustomTags again Server Details Server Product Neo Version 6,0,0,42977 Edition Enterprise Serial Number Operating System UNIX OS Version 2.4.9-21 -Original Message- From: Matt Liotta [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 30, 2002 5:25 PM To: CF-Talk Subject: RE: MX and CustomTags again What version of CFMX are you running? -Matt -Original Message- From: Shawn McKee [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 30, 2002 3:11 PM To: CF-Talk Subject: MX and CustomTags again At install the server was set to /home/cfadm/neo/CustomTags but applications couldn't find the custom tags. I checked case and location and all was correct. I deleted that path from the server and went to add it back in and now I get this error message: Unable to add custom tag path /sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin. Even though the path I added was as above. I have typed it by hand and used the browse server function. I am at a loss. Shawn McKee Manager, Web Development NewsStand, Inc. 8620 Burnet Rd., Suite 100 Austin, TX 78757 USA 512-334-5100 Read newspapers and magazines from around the world in a whole new way. NewsStand delivers them to your PC without paper and without delay! Try: http://www.newsstand.com?NSEMC=EMNSI01 __ This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: MX and CustomTags again
Server Details Server Product Neo Version 6,0,0,42977 Edition Enterprise Serial Number Operating System UNIX OS Version 2.4.9-21 -Original Message- From: Matt Liotta [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 30, 2002 5:25 PM To: CF-Talk Subject: RE: MX and CustomTags again What version of CFMX are you running? -Matt -Original Message- From: Shawn McKee [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 30, 2002 3:11 PM To: CF-Talk Subject: MX and CustomTags again At install the server was set to /home/cfadm/neo/CustomTags but applications couldn't find the custom tags. I checked case and location and all was correct. I deleted that path from the server and went to add it back in and now I get this error message: Unable to add custom tag path /sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin. Even though the path I added was as above. I have typed it by hand and used the browse server function. I am at a loss. Shawn McKee Manager, Web Development NewsStand, Inc. 8620 Burnet Rd., Suite 100 Austin, TX 78757 USA 512-334-5100 Read newspapers and magazines from around the world in a whole new way. NewsStand delivers them to your PC without paper and without delay! Try: http://www.newsstand.com?NSEMC=EMNSI01 __ Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: MX and CustomTags again
It must be a bug then because I am running the same version without issue. I would submit the bug and then possible reinstall beta 3 to get the custom tag path back. If you don't want to reinstall beta 3, rc 1 should be available soon. -Matt -Original Message- From: Shawn McKee [mailto:[EMAIL PROTECTED]] Sent: Wednesday, May 01, 2002 6:10 AM To: CF-Talk Subject: RE: MX and CustomTags again Server Details Server Product Neo Version 6,0,0,42977 Edition Enterprise Serial Number Operating System UNIX OS Version 2.4.9-21 -Original Message- From: Matt Liotta [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 30, 2002 5:25 PM To: CF-Talk Subject: RE: MX and CustomTags again What version of CFMX are you running? -Matt -Original Message- From: Shawn McKee [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 30, 2002 3:11 PM To: CF-Talk Subject: MX and CustomTags again At install the server was set to /home/cfadm/neo/CustomTags but applications couldn't find the custom tags. I checked case and location and all was correct. I deleted that path from the server and went to add it back in and now I get this error message: Unable to add custom tag path /sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin. Even though the path I added was as above. I have typed it by hand and used the browse server function. I am at a loss. Shawn McKee Manager, Web Development NewsStand, Inc. 8620 Burnet Rd., Suite 100 Austin, TX 78757 USA 512-334-5100 Read newspapers and magazines from around the world in a whole new way. NewsStand delivers them to your PC without paper and without delay! Try: http://www.newsstand.com?NSEMC=EMNSI01 __ Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: MX and CustomTags again
Well I tried but the bug submittal blew up. I sent them an e-mail about that and will try later. -Original Message- From: Matt Liotta [mailto:[EMAIL PROTECTED]] Sent: Wednesday, May 01, 2002 9:48 AM To: CF-Talk Subject: RE: MX and CustomTags again It must be a bug then because I am running the same version without issue. I would submit the bug and then possible reinstall beta 3 to get the custom tag path back. If you don't want to reinstall beta 3, rc 1 should be available soon. -Matt -Original Message- From: Shawn McKee [mailto:[EMAIL PROTECTED]] Sent: Wednesday, May 01, 2002 6:10 AM To: CF-Talk Subject: RE: MX and CustomTags again Server Details Server Product Neo Version 6,0,0,42977 Edition Enterprise Serial Number Operating System UNIX OS Version 2.4.9-21 -Original Message- From: Matt Liotta [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 30, 2002 5:25 PM To: CF-Talk Subject: RE: MX and CustomTags again What version of CFMX are you running? -Matt -Original Message- From: Shawn McKee [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 30, 2002 3:11 PM To: CF-Talk Subject: MX and CustomTags again At install the server was set to /home/cfadm/neo/CustomTags but applications couldn't find the custom tags. I checked case and location and all was correct. I deleted that path from the server and went to add it back in and now I get this error message: Unable to add custom tag path /sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin. Even though the path I added was as above. I have typed it by hand and used the browse server function. I am at a loss. Shawn McKee Manager, Web Development NewsStand, Inc. 8620 Burnet Rd., Suite 100 Austin, TX 78757 USA 512-334-5100 Read newspapers and magazines from around the world in a whole new way. NewsStand delivers them to your PC without paper and without delay! Try: http://www.newsstand.com?NSEMC=EMNSI01 __ Get the mailserver that powers this list at http://www.coolfusion.com FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
MX and CustomTags again
At install the server was set to /home/cfadm/neo/CustomTags but applications couldn't find the custom tags. I checked case and location and all was correct. I deleted that path from the server and went to add it back in and now I get this error message: Unable to add custom tag path /sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin. Even though the path I added was as above. I have typed it by hand and used the browse server function. I am at a loss. Shawn McKee Manager, Web Development NewsStand, Inc. 8620 Burnet Rd., Suite 100 Austin, TX 78757 USA 512-334-5100 Read newspapers and magazines from around the world in a whole new way. NewsStand delivers them to your PC without paper and without delay! Try: http://www.newsstand.com?NSEMC=EMNSI01 __ Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: MX and CustomTags again
What version of CFMX are you running? -Matt -Original Message- From: Shawn McKee [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 30, 2002 3:11 PM To: CF-Talk Subject: MX and CustomTags again At install the server was set to /home/cfadm/neo/CustomTags but applications couldn't find the custom tags. I checked case and location and all was correct. I deleted that path from the server and went to add it back in and now I get this error message: Unable to add custom tag path /sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin. Even though the path I added was as above. I have typed it by hand and used the browse server function. I am at a loss. Shawn McKee Manager, Web Development NewsStand, Inc. 8620 Burnet Rd., Suite 100 Austin, TX 78757 USA 512-334-5100 Read newspapers and magazines from around the world in a whole new way. NewsStand delivers them to your PC without paper and without delay! Try: http://www.newsstand.com?NSEMC=EMNSI01 __ Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
MX and CustomTags
Why can't it find my custom tags? Running on Linux, everything looks fine in the administrator but when I try to use a custom tag I get an error: Detail ColdFusion attempted looking in the tree of installed custom tags but did not find a custom tag with this name. Message Cannot find CFML template for custom tag ... The server has been stopped and started several times, the directories are where they belong. Ideas? Shawn McKee Manager, Web Development NewsStand, Inc. 8620 Burnet Rd., Suite 100 Austin, TX 78757 USA 512-334-5100 Read newspapers and magazines from around the world in a whole new way. NewsStand delivers them to your PC without paper and without delay! Try: http://www.newsstand.com?NSEMC=EMNSI01 __ This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: MX and CustomTags
Did you set the custom tag path in the administrator? -Matt -Original Message- From: Shawn McKee [mailto:[EMAIL PROTECTED]] Sent: Monday, April 29, 2002 2:31 PM To: CF-Talk Subject: MX and CustomTags Why can't it find my custom tags? Running on Linux, everything looks fine in the administrator but when I try to use a custom tag I get an error: Detail ColdFusion attempted looking in the tree of installed custom tags but did not find a custom tag with this name. Message Cannot find CFML template for custom tag ... The server has been stopped and started several times, the directories are where they belong. Ideas? Shawn McKee Manager, Web Development NewsStand, Inc. 8620 Burnet Rd., Suite 100 Austin, TX 78757 USA 512-334-5100 Read newspapers and magazines from around the world in a whole new way. NewsStand delivers them to your PC without paper and without delay! Try: http://www.newsstand.com?NSEMC=EMNSI01 __ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: MX and CustomTags
Yes. I believe our IT folks set it up as an alias of some sort. Might that be confusing things? Shawn -Original Message- From: Matt Liotta [mailto:[EMAIL PROTECTED]] Sent: Monday, April 29, 2002 5:01 PM To: CF-Talk Subject: RE: MX and CustomTags Did you set the custom tag path in the administrator? -Matt -Original Message- From: Shawn McKee [mailto:[EMAIL PROTECTED]] Sent: Monday, April 29, 2002 2:31 PM To: CF-Talk Subject: MX and CustomTags Why can't it find my custom tags? Running on Linux, everything looks fine in the administrator but when I try to use a custom tag I get an error: Detail ColdFusion attempted looking in the tree of installed custom tags but did not find a custom tag with this name. Message Cannot find CFML template for custom tag ... The server has been stopped and started several times, the directories are where they belong. Ideas? Shawn McKee Manager, Web Development NewsStand, Inc. 8620 Burnet Rd., Suite 100 Austin, TX 78757 USA 512-334-5100 Read newspapers and magazines from around the world in a whole new way. NewsStand delivers them to your PC without paper and without delay! Try: http://www.newsstand.com?NSEMC=EMNSI01 __ This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: MX and CustomTags
It might. I had trouble with CFCs until I set the custom tag path. Do CFCs rely on custom tag paths? I also had trouble with using mappings outside of the web root. Never spent anytime to track it down, so I didn't bother to submit a bug report. -Matt -Original Message- From: Shawn McKee [mailto:[EMAIL PROTECTED]] Sent: Monday, April 29, 2002 3:25 PM To: CF-Talk Subject: RE: MX and CustomTags Yes. I believe our IT folks set it up as an alias of some sort. Might that be confusing things? Shawn -Original Message- From: Matt Liotta [mailto:[EMAIL PROTECTED]] Sent: Monday, April 29, 2002 5:01 PM To: CF-Talk Subject: RE: MX and CustomTags Did you set the custom tag path in the administrator? -Matt -Original Message- From: Shawn McKee [mailto:[EMAIL PROTECTED]] Sent: Monday, April 29, 2002 2:31 PM To: CF-Talk Subject: MX and CustomTags Why can't it find my custom tags? Running on Linux, everything looks fine in the administrator but when I try to use a custom tag I get an error: Detail ColdFusion attempted looking in the tree of installed custom tags but did not find a custom tag with this name. Message Cannot find CFML template for custom tag ... The server has been stopped and started several times, the directories are where they belong. Ideas? Shawn McKee Manager, Web Development NewsStand, Inc. 8620 Burnet Rd., Suite 100 Austin, TX 78757 USA 512-334-5100 Read newspapers and magazines from around the world in a whole new way. NewsStand delivers them to your PC without paper and without delay! Try: http://www.newsstand.com?NSEMC=EMNSI01 __ Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: Customtags custom directory
I don't think it will; it'll recurse through them in the order in which they're defined on the server, if I recall correctly. If you need to refer to specific custom tags, use CFMODULE. That's what I was afraid of. I remember that there was a reason for using CFModule, I just couldn't remember what it was...now I remember. I'm off to update some code. ::: sigh ::: Sharon DiOrio __ Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Customtags custom directory
I see in CF 5.0 you can set the custom tags directory in the cfadmin, rather than the old registry hack we used to have to do. This is a good thing. But I was curious about custom tags with the same names. How does CF figure out which custom tag to use? For instance, we will have multiple versions of the same application running on the same server. All tags will be in a sub-directory called customtags under the root of the application. How will CF know which custom tags belong to which version? Sharon DiOrio (Who just recently re-subscribed after being bumped from the list) __ This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: Customtags custom directory
I see in CF 5.0 you can set the custom tags directory in the cfadmin, rather than the old registry hack we used to have to do. This is a good thing. But I was curious about custom tags with the same names. How does CF figure out which custom tag to use? For instance, we will have multiple versions of the same application running on the same server. All tags will be in a sub-directory called customtags under the root of the application. How will CF know which custom tags belong to which version? I don't think it will; it'll recurse through them in the order in which they're defined on the server, if I recall correctly. If you need to refer to specific custom tags, use CFMODULE. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ voice: (202) 797-5496 fax: (202) 797-5444 __ This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: CustomTags?
Here is what they sent me. - Original Message - From: laszlo [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Wednesday, March 13, 2002 8:33 PM Subject: Re: CustomTags? Same problem here, any post will be appreciated laszlo Randy Adkins wrote: Does anyone have a copy of the ThreeSelectsRelated Customtag? It is no longer in the Macromedia site. TIA! __ Dedicated Windows 2000 Server PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER Instant Activation · $99/Month · Free Setup http://www.pennyhost.com/redirect.cfm?adcode=coldfusiona FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
CustomTags?
Does anyone have a copy of the ThreeSelectsRelated Customtag? It is no longer in the Macromedia site. TIA! __ Why Share? Dedicated Win 2000 Server · PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER Instant Activation · $99/Month · Free Setup http://www.pennyhost.com/redirect.cfm?adcode=coldfusionc FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: CustomTags?
Same problem here, any post will be appreciated laszlo Randy Adkins wrote: Does anyone have a copy of the ThreeSelectsRelated Customtag? It is no longer in the Macromedia site. TIA! __ Get Your Own Dedicated Windows 2000 Server PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER Instant Activation · $99/Month · Free Setup http://www.pennyhost.com/redirect.cfm?adcode=coldfusionb FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: Subdirectories in CustomTags directory?
Coldfusion will use sub directories under the customtags directory, the problem is if I see what you doing correctly is having the same name in some cases. You can't have 2 tags named the same as the one that was found first will be called... -Original Message- From: Jamie Jackson [mailto:[EMAIL PROTECTED]] Sent: Saturday, 31 March 2001 12:31 AM To: CF-Talk Subject: Subdirectories in CustomTags directory? Hello, Is there a way to call a custom tag that's in a subdirectory of ... \CFUSION\CustomTags ? In other words, I want to organize some custom tags into subdirectories: \CFUSION\CustomTags\Site1\CT1.cfm (+ CT1a.cfm , CT1b,cfm, ...) \CFUSION\CustomTags\Site2\CT2.cfm (+ CT2a.cfm, CT2b.cfm, ...) I have tried this, but apparently, CF won't look in subdirectories of the "CustomTags" directory. Is there a way to get CF to look in them? Alternatively, is there another way to manage custom tags? Thanks, Jamie ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Subdirectories in CustomTags directory?
Hello, Is there a way to call a custom tag that's in a subdirectory of ... \CFUSION\CustomTags ? In other words, I want to organize some custom tags into subdirectories: \CFUSION\CustomTags\Site1\CT1.cfm (+ CT1a.cfm , CT1b,cfm, ...) \CFUSION\CustomTags\Site2\CT2.cfm (+ CT2a.cfm, CT2b.cfm, ...) I have tried this, but apparently, CF won't look in subdirectories of the "CustomTags" directory. Is there a way to get CF to look in them? Alternatively, is there another way to manage custom tags? Thanks, Jamie ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: Subdirectories in CustomTags directory?
Is there a way to call a custom tag that's in a subdirectory of ... \CFUSION\CustomTags ? In other words, I want to organize some custom tags into subdirectories: \CFUSION\CustomTags\Site1\CT1.cfm (+ CT1a.cfm , CT1b,cfm, ...) \CFUSION\CustomTags\Site2\CT2.cfm (+ CT2a.cfm, CT2b.cfm, ...) I have tried this, but apparently, CF won't look in subdirectories of the "CustomTags" directory. Is there a way to get CF to look in them? Alternatively, is there another way to manage custom tags? If you've got a file "ct1.cfm" in \cfusion\customtags\site1\, and nowhere else, this syntax should work: cf_ct1 However, if you've got multiple files "ct1.cfm" in multiple subdirectories of \cfusion\customtags\, you'll need to use CFMODULE to execute the specific one you want: cfmodule name="site1.ct1" Note the dot syntax - the above name would correspond to \cfusion\customtags\site1\ct1.cfm. If you want to call custom tags in directories either relative from the current location of the calling page, or mapped in the CF Administrator, you can use the TEMPLATE attribute of CFMODULE: cfmodule template="FileInSameDirectory.cfm" cfmodule template="../FileInDirectoryOneLevelUp.cfm" cfmodule template="/FileInDirectoryMappedToSlashInCFAdmin.cfm" Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ voice: (202) 797-5496 fax: (202) 797-5444 ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: Subdirectories in CustomTags directory?
On Fri, 30 Mar 2001 09:42:25 -0500, Dave Watts [EMAIL PROTECTED] wrote: If you've got a file "ct1.cfm" in \cfusion\customtags\site1\, and nowhere else, this syntax should work: cf_ct1 Yeah, this is what I tried before, and I got an error saying CF couldn't find the template. (Custom tag location: c:\CFUSION\CustomTags\SNN\SNN.cfm) ___ Error Diagnostic Information Cannot open CFML file The requested file "C:\CFUSION\CustomTags\SNN.cfm" cannot be found. The specific sequence of files included or processed is: D:\WEBSITES\MFRC\SNN\EFMPAC\INDEX.CFM C:\CFUSION\CustomTags\SNN.cfm Custom Tag The error occurred while processing an element with a general identifier of (CF_SNN), occupying document position (3:1) to (6:2) in the template file D:\websites\Mfrc\snn\efmpac\index.cfm. ___ Is there a setting I'm missing? I'm running CF Version 4, 5, 1, SP2 Thanks for your response, Jamie However, if you've got multiple files "ct1.cfm" in multiple subdirectories of \cfusion\customtags\, you'll need to use CFMODULE to execute the specific one you want: cfmodule name="site1.ct1" Note the dot syntax - the above name would correspond to \cfusion\customtags\site1\ct1.cfm. If you want to call custom tags in directories either relative from the current location of the calling page, or mapped in the CF Administrator, you can use the TEMPLATE attribute of CFMODULE: cfmodule template="FileInSameDirectory.cfm" cfmodule template="../FileInDirectoryOneLevelUp.cfm" cfmodule template="/FileInDirectoryMappedToSlashInCFAdmin.cfm" Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ voice: (202) 797-5496 fax: (202) 797-5444 ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: Subdirectories in CustomTags directory?
You can put them in subdirectories, but I believe if you move an existing custom tag from it's current path, CF won't find it until you restart. Try creating a new custom tag in a subdirectory and calling it. -Original Message- From: Jamie Jackson [mailto:[EMAIL PROTECTED]] Sent: Friday, March 30, 2001 8:31 AM To: CF-Talk Subject: Subdirectories in CustomTags directory? Hello, Is there a way to call a custom tag that's in a subdirectory of ... \CFUSION\CustomTags ? In other words, I want to organize some custom tags into subdirectories: \CFUSION\CustomTags\Site1\CT1.cfm (+ CT1a.cfm , CT1b,cfm, ...) \CFUSION\CustomTags\Site2\CT2.cfm (+ CT2a.cfm, CT2b.cfm, ...) I have tried this, but apparently, CF won't look in subdirectories of the "CustomTags" directory. Is there a way to get CF to look in them? Alternatively, is there another way to manage custom tags? Thanks, Jamie ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: Subdirectories in CustomTags directory?
Can't bring the server right now to verify it, but that would explain it. Thanks, Jamie On Fri, 30 Mar 2001 09:36:03 -0600, in cf-talk you wrote: You can put them in subdirectories, but I believe if you move an existing custom tag from it's current path, CF won't find it until you restart. Try creating a new custom tag in a subdirectory and calling it. -Original Message- From: Jamie Jackson [mailto:[EMAIL PROTECTED]] Sent: Friday, March 30, 2001 8:31 AM To: CF-Talk Subject: Subdirectories in CustomTags directory? Hello, Is there a way to call a custom tag that's in a subdirectory of ... \CFUSION\CustomTags ? In other words, I want to organize some custom tags into subdirectories: \CFUSION\CustomTags\Site1\CT1.cfm (+ CT1a.cfm , CT1b,cfm, ...) \CFUSION\CustomTags\Site2\CT2.cfm (+ CT2a.cfm, CT2b.cfm, ...) I have tried this, but apparently, CF won't look in subdirectories of the "CustomTags" directory. Is there a way to get CF to look in them? Alternatively, is there another way to manage custom tags? Thanks, Jamie ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
customtags complaining that required parameters are not set, but they are.
Occasionally I have a problem where a customtag will complain that a required parameter isn't set. I have double checked and the parameter is spelled right and is being passed to the customtag. Is there any other reason CF would throw this error even though it's there? Perhaps a umatched comment tag? Any info would be helpful Mary ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: customtags complaining that required parameters are not set, but they are.
I believe that error is thrown whenever a CFPARAM tag doesn't have a default and the variable has not yet been created. You may want to check the custom tag for the relevant CFPARAM -brendan avery / [EMAIL PROTECTED] At 08:36 AM 1/10/2001 -0500, you wrote: Occasionally I have a problem where a customtag will complain that a required parameter isn't set. I have double checked and the parameter is spelled right and is being passed to the customtag. Is there any other reason CF would throw this error even though it's there? Perhaps a umatched comment tag? Any info would be helpful Mary ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: customtags complaining that required parameters are not set, but they are.
I answered my own question. It helps not to look at the same code for extended periods of time, you miss that you are forgetting the word "attributes."! Mary Mary Baotic/na/HyperioTo: CF-Talk [EMAIL PROTECTED] n@Hyperion cc: Subject: customtags complaining that required parameters are not set, 01/10/01 08:36 AMbut they are. Please respond to cf-talk Occasionally I have a problem where a customtag will complain that a required parameter isn't set. I have double checked and the parameter is spelled right and is being passed to the customtag. Is there any other reason CF would throw this error even though it's there? Perhaps a umatched comment tag? Any info would be helpful Mary ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists