Mark Stosberg wrote:
Robert Hicks wrote:Mark Stosberg wrote:Christopher Little wrote:Your syntax for the filter is correct and your sub doc_filter should work. Can you provide a little more code and the error message you're getting?I agree with Christopher. Find the spot in the load_tmpl() you are using where it calls HTML::Template. Compare the args it passes to HTML::Template to calling it directly, and go from there.It sounds like most don't use the filters options. Would that be correct? I had not thought about it until the perl.com articles myself.I have used H::T filters for every project for some years, for better Dreamweaver compatibility. I explain more, including the actual code I use, in this 2004 post: http://www.jsw4.net/info/listserv_archives/cgiapp/04-01/msg00055.html I've thought about publishing this as a little H::T Filter module, but it does seem awfully little to publish and store in it's own file. However, I realize that would make it easier for people to find and learn about, and it could be worthwhile for that reason. Mark
That tells me much actually but my question is since you are loading your filter into the load_tmpl "callback" doesn't that make it "global"? What if I want a filter to only apply to one or two of my runmodes?
Robert
---------------------------------------------------------------------
Web Archive: http://www.mail-archive.com/suppressed/
http://marc.theaimsgroup.com/?l=cgiapp&r=1&w=2
To unsubscribe, e-mail: suppressed
For additional commands, e-mail: suppressed
Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.