Just finished a huge migration to CF11 and there were multiple locations
where cfhtmlhead are used... and a new one added during migration. No
problems with that. Perhaps more details?
On Thu, Oct 16, 2014 at 9:34 AM, Dave Sueltenfuss
wrote:
>
> I'm working on a migration from C
I'm working on a migration from CF9 to CF 11, and for some reason CFHTMLHEAD is
not working for me. Has anyone else run into this?
~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anth
>They will. Before search engine "sees" your pages, CF processes
>the cfhtmlhead and inserts the meta tag into the head of the page. Same as
>with an end-user.
>
>On Tue, Aug 21, 2012 at 3:09 PM, fun and learning
>wrote:
>
>>
Thanks a lot
stin-williams.com
Blog: http://www.austin-williams.com/blog
Twitter: http://www.twitter.com/austin_williams
-Original Message-
From: fun and learning [mailto:funandlrnn...@gmail.com]
Sent: Tuesday, August 21, 2012 4:09 PM
To: cf-talk
Subject: question on cfhtmlhead
Hi -
I wan
They will. Before search engine "sees" your pages, CF processes
the cfhtmlhead and inserts the meta tag into the head of the page. Same as
with an end-user.
On Tue, Aug 21, 2012 at 3:09 PM, fun and learning
wrote:
>
> Hi -
>
> I want to exclude one of the page from search
> Also I am inserting the above tag through cfhtmlhead. My question is
> if search engine would recognize this meta tag that is inserted into head
> later in the page.
Hi there, the CFHTMLHEAD tag will inject the content into the HEAD
section of the HTML before any of it is flushed o
Hi -
I want to exclude one of the page from search engine crawling. I am using the
following tag
Also I am inserting the above tag through cfhtmlhead. My question is if search
engine would recognize this meta tag that is inserted into head later in the
page.
I hope I made myself clear
Woot. Glad you got it.
On Wed, May 23, 2012 at 8:08 AM, Rick Faircloth
wrote:
>
>> Perhaps I should try
>
>>
>>
>
>> and see if that works.
>
> That seems to have worked, on the initial test. The JSON response
> doesn't include the js script tags and content as it did when I
> used "employment
ailto:r...@whitestonemedia.com]
Sent: Wednesday, May 23, 2012 8:55 AM
To: cf-talk
Subject: RE: How to prevent cfhtmlhead content from being inserted into
cfmail...
> If the file, employment-application.cfm, includes a tag that
points to a CFM...
It doesn't. Here are the files
cript code.
Perhaps I should try
and see if that works.
I'll give that a try.
Does any of this make sense?
Rick
-Original Message-
From: Raymond Camden [mailto:raymondcam...@gmail.com]
Sent: Wednesday, May 23, 2012 7:52 AM
To: cf-talk
Subject: Re: How to prevent cfhtmlhead c
You are confusing requests here.
If the file, employment-application.cfm, includes a
serted into the
JSON produced by an AJAX call from employment-application.cfm.
-Original Message-
From: Raymond Camden [mailto:raymondcam...@gmail.com]
Sent: Wednesday, May 23, 2012 7:25 AM
To: cf-talk
Subject: Re: How to prevent cfhtmlhead content from being inserted into
cfmail...
On Tu
On Tue, May 22, 2012 at 10:50 PM, Rick Faircloth
wrote:
> Well, apparently, I can conditionally comment out any of the
> CF based on the requesting file. However, the JS isn't affected
> by the conditional comments and still shows up in the JSON, causing
> the JS to stop processing. Once I remov
From: Raymond Camden [mailto:raymondcam...@gmail.com]
Sent: Tuesday, May 22, 2012 10:26 PM
To: cf-talk
Subject: Re: How to prevent cfhtmlhead content from being inserted into
cfmail...
On Tue, May 22, 2012 at 6:14 PM, Rick Faircloth
wrote:
>
> Ray, can you (or any of your other guys) give
On Tue, May 22, 2012 at 6:14 PM, Rick Faircloth
wrote:
>
> Ray, can you (or any of your other guys) give me an example
> of how to code to "check the requested file" ???
onRequestStart is passed one attribute, the name of the file being
requested. You can use list functions on it if you want -
ot familiar with the options you're referring to.
-Original Message-
From: Matt Quackenbush [mailto:quackfu...@gmail.com]
Sent: Tuesday, May 22, 2012 6:56 PM
To: cf-talk
Subject: Re: How to prevent cfhtmlhead content from being inserted into
cfmail...
There are lots of ways to cr
to a .js, then to a .cfc, back
to a .js and them back to the original .cfm.
Is there some way just to check and see if the original .cfm is named
"employment-application.cfm" and then, if so, use a condition cfif
to stop the cfhtmlhead from being used in the onRequestStart in the
appli
-Original Message-
> From: Matt Quackenbush [mailto:quackfu...@gmail.com]
> Sent: Tuesday, May 22, 2012 6:37 PM
> To: cf-talk
> Subject: Re: How to prevent cfhtmlhead content from being inserted into
> cfmail...
>
>
> It would be much better to use an include
n *not* to set the variables in onRequestStart so that
> they won't interfere with just such situations as mine? Or are there
> other reasons where it causes problems?
>
>
> -Original Message-
> From: Matt Quackenbush [mailto:quackfu...@gmail.com]
> Sent: Tuesday,
inal Message-
From: Matt Quackenbush [mailto:quackfu...@gmail.com]
Sent: Tuesday, May 22, 2012 6:37 PM
To: cf-talk
Subject: Re: How to prevent cfhtmlhead content from being inserted into
cfmail...
It would be much better to use an include for your HTML (in your
layout template) than to use cfhtm
:quackfu...@gmail.com]
Sent: Tuesday, May 22, 2012 6:37 PM
To: cf-talk
Subject: Re: How to prevent cfhtmlhead content from being inserted into
cfmail...
It would be much better to use an include for your HTML (in your
layout template) than to use cfhtmlhead in the app CFC. Also, there is no
It would be much better to use an include for your HTML (in your
layout template) than to use cfhtmlhead in the app CFC. Also, there is no
reason to set all of those 'js_whatever' variables. Just output
#application.whatever# in the js. Your include file might look somethi
sn='#js_client_dsn#';
Why would putting this code directly in the head of each page
be better than using cfhtmlhead?
-Original Message-
From: Andrew Scott [mailto:andr...@andys
r the CFHTMLHEAD, but on the other
side of your question you can use cfsavecontent to create a variable and
use that with CFHTMLHEAD.
--
Regards,
Andrew Scott
WebSite: http://www.andyscott.id.au/
Google+: http://plus.google.com/108193156965451149543
On Wed, May 23, 2012 at 4:26 AM, Rick Faircloth
I figured it would be something straight-forward like that. :o)
Thanks, Ray!
Rick
-Original Message-
From: Raymond Camden [mailto:raymondcam...@gmail.com]
Sent: Tuesday, May 22, 2012 3:09 PM
To: cf-talk
Subject: Re: How to prevent cfhtmlhead content from being inserted into
cfmail
On Tue, May 22, 2012 at 1:26 PM, Rick Faircloth
wrote:
>
> Is there any way to prevent the JS being output using cfsavecontent and a
> variable
> in the CFC from ending up in the JSON data return?
Sure. In your onRequestStart, simply check the requested file. If it
ends in .cfc, stop doing that
Hi, all...
I've got a cfhtmlhead tag set up in my application CFC that
defines some JS variables for CF use and vice-versa. They're inserted into
the
head of every page.
I noticed, when running an sequence involving an HTML form - jQuery ajax
call -
CFC method - and JSON data return
..
>
> Rick
>
> -Original Message-
> From: Steve 'Cutter' Blades [mailto:cold.fus...@cutterscrossing.com]
> Sent: Saturday, September 24, 2011 8:41 AM
> To: cf-talk
> Subject: Re: Code from cfhtmlhead showing up in jQuery AJAX JSON data
>
>
> Yo
8:41 AM
To: cf-talk
Subject: Re: Code from cfhtmlhead showing up in jQuery AJAX JSON data
You wouldn't put it in onApplicationStart, but onRequest (cf9+).
onRequest is only triggered on cfm requests, whereas a cfc would trigger
onCFCRequest. (I am assuming your Ajax requests are going to a CFC
> Ok... something to talk about besides $20/hr (which may look
> really good, depending on how hungry you are...)
>
> I recently started using cfhtmlhead in onApplicationStart to put
> the following CF/JS in the head of each page to translate my CF
> site variables to JS:
>
>
; Sent: Saturday, September 24, 2011 8:00 AM
> To: cf-talk
> Subject: Re: Code from cfhtmlhead showing up in jQuery AJAX JSON data
>
>
> it is only happening onApplicationstart or is it being inserted into
> every request ?
>
> Russ
>
> On Sat, Sep 24, 2011 at 12:31 PM, Rick
ot;request" for data?
-Original Message-
From: Russ Michaels [mailto:r...@michaels.me.uk]
Sent: Saturday, September 24, 2011 8:00 AM
To: cf-talk
Subject: Re: Code from cfhtmlhead showing up in jQuery AJAX JSON data
it is only happening onApplicationstart or is it being inserted into
every reques
y started using cfhtmlhead in onApplicationStart to put
> the following CF/JS in the head of each page to translate my CF
> site variables to JS:
>
>
>
>
>
>
>
>
>
>
> var js_sitename = '#js_siteName#';
>
Ok... something to talk about besides $20/hr (which may look
really good, depending on how hungry you are...)
I recently started using cfhtmlhead in onApplicationStart to put
the following CF/JS in the head of each page to translate my CF
site variables to JS:
var
too. My coworker is planning to jump into the AjaxCFC code and fix this,
but has yet to find the time.
*
Ken Ferguson
214.636.6126
*
Brad Wood wrote:
> Ok, so I've got ajaxcfc running pretty smoothly, but I still need some
> help with my
Brad Wood wrote:
> Ok, so I've got ajaxcfc running pretty smoothly, but I still need some
> help with my major catching point-cfhtmlhead.
Don't use CFHTMLHEAD in your application.cfm or whatever then. Or, if
you do, wrap code around it that causes it *NOT* to happ
Ok, so I've got ajaxcfc running pretty smoothly, but I still need some
help with my major catching point-cfhtmlhead.
As part of my CFC, I cfsavecontent a page from our application and
return the html to stick in an the innerHTML of a div on the ajax page.
Our application uses cfhtmlhead
Firstly,
I'd like to apologize if I end up sending 10 duplicate copies of this
response. It didn't seem to work via the website.
Anyway.
To answer your question, Jochem.
The CFHTMLHead is called before the CFLocation.
However, the javascript that is inclu
n I get that to not display on the page?
Is your cfhtmlhead before or after your cflocation?
Jochem
~|
Find out how CFTicket can increase your company's customer support
efficiency by 100%
http://www.houseof
ript snippet on the caller page:
If I just include the PluginCheck.cfm as-is, the javascript doesn't execute, if
I put HTML and Head tags in PluginCheck.cfm, the javascript doesn't execute.
The only way I could get it to work was by using the cfhtmlhead tag. But the
> -Original Message-
> From: Figy, Kam [mailto:[EMAIL PROTECTED]
> Sent: Thursday, January 27, 2005 2:21 PM
> To: CF-Talk
> Subject: RE: OT: PHP equivalent of cfhtmlhead
>
> You could hack around something like that with ...
Not really - this solution only works
: Jim Davis [mailto:[EMAIL PROTECTED]
Sent: Tuesday, January 25, 2005 1:57 PM
To: CF-Talk
Subject: RE: OT: PHP equivalent of cfhtmlhead
> -Original Message-
> From: Figy, Kam [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, January 25, 2005 4:48 PM
> To: CF-Talk
> Subject: RE: OT:
Rick Root wrote:
> George Abraham wrote:
>
>>Well for the time being, this is what I found as an
>>acceptable/workable alternative:
>>
>>http://www.zend.com/zend/art/buffering.php
>
>
> Ah yes, I've used ob_start() before... but isn't that pretty much only
> for http headers?
God no! It's for
e head, if that's
> a concern.
>
> - Original Message -
> From: "Rick Root" <[EMAIL PROTECTED]>
> To: "CF-Talk"
> Sent: Tuesday, January 25, 2005 11:15 AM
> Subject: Re: OT: PHP equivalent of cfhtmlhead
>
> > Deanna Schneider wrote:
>
Could be. I haven't actually implemented anything yet. Maybe it is
just the equivalent of cfheader.
George
~|
Logware (www.logware.us): a new and convenient web-based time tracking
application. Start tracking and documenting hou
George Abraham wrote:
> Well for the time being, this is what I found as an
> acceptable/workable alternative:
>
> http://www.zend.com/zend/art/buffering.php
Ah yes, I've used ob_start() before... but isn't that pretty much only
for http headers?
- Rick
--
No virus found in this outgoing m
Well for the time being, this is what I found as an
acceptable/workable alternative:
http://www.zend.com/zend/art/buffering.php
George
~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble
Ticket application
http
> -Original Message-
> From: Figy, Kam [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, January 25, 2005 4:48 PM
> To: CF-Talk
> Subject: RE: OT: PHP equivalent of cfhtmlhead
>
> It's also convenient if you want to have a global header include but
> have page title
It's also convenient if you want to have a global header include but
have page titles on a per-page basis.
kam
-Original Message-
From: George Abraham [mailto:[EMAIL PROTECTED]
Sent: Tuesday, January 25, 2005 11:17 AM
To: CF-Talk
Subject: Re: OT: PHP equivalent of cfhtmlhead
Using cfhtmlhead, you can dynamically add references to other
stylesheets or scripts that you don't normally want to clutter your
page with. Since it does the addition of these references to the head
section of the html before the html page is sent to the browser, it is
of great help.
G
Well, I don't think they'll validate, if they're outside the head, if that's
a concern.
- Original Message -
From: "Rick Root" <[EMAIL PROTECTED]>
To: "CF-Talk"
Sent: Tuesday, January 25, 2005 11:15 AM
Subject: Re: OT: PHP equivalent of c
Deanna Schneider wrote:
> I use it a lot for things like adding local styles to the head of a page. Or
> a local js function or something.
Are there any browsers out there that ignore javascript and stylesheet
information placed outside the head section?
I guess i've never felt any pressing nee
I use it a lot for things like adding local styles to the head of a page. Or
a local js function or something.
> There is no equivalent that I can think of. I've never used
> either... seems like a pretty useless tag to me.
>
> - Rick
>
~
George Abraham wrote:
> OK,
> This is the only place I know where I might get an answer to this
> question. What is the PHP equivalent of using cfhtmlhead to insert
> stylesheet or javascript information before an HTML file is sent to
> the browser?
There is no equivalent that
I dont think there is one, only includes and what have you
Regards
Mark Drew
On Tue, 25 Jan 2005 11:29:39 -0500, George Abraham
<[EMAIL PROTECTED]> wrote:
> OK,
> This is the only place I know where I might get an answer to this
> question. What is the PHP equivalent of usin
OK,
This is the only place I know where I might get an answer to this
question. What is the PHP equivalent of using cfhtmlhead to insert
stylesheet or javascript information before an HTML file is sent to
the browser?
Thanks,
George
riable
and then flushing it with a single call to cfhtmlhead in onrequestend.cfm.
Shouldn't the data be available as a named variable while CF is generating
the page output?
- Original Message -
From: "Tim Blair" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL
I can get hold of the data currently in the
> CFHTMLHEAD buffer that will be output as the page is rendered/delivered?
>
> Tim.
>
[Todays Threads]
[This Message]
[Subscription]
[Fast Unsubscribe]
[User Settings]
Morning...
Is there any way that I can get hold of the data currently in the
CFHTMLHEAD buffer that will be output as the page is rendered/delivered?
Tim.
--
---
Maze Solver - http://tech.badpen.com/cfcontest
I'm not at all positive, but I think that it's probably more optimized than
that.
My guess would be that during syntax/format checking CF notes tags like
HEAD, CFHTMLHEAD, CFFLUSH, etc. Then during the runtime it's got a little
head start.
I'm not sure about this - bu
I was wondering what the implications might be of using cfhtmlhead on every
page of a busy web site. It seems that to implement cfhtmlhead, CF has to
generate its page and when it encounters it places that html
header text within a variable that it keeps. Then when CF has finished
generating
wrap your current cfmodule call within a cfsavecontent block. then use that variable in cfhtmlhead.
-Adam
> -Original Message-
> From: Steve Nelson [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, February 25, 2004 07:26 PM
> To: 'CF-Talk'
> Subject: Re: CFMODULE
Thanks barney, I'll give it a whirl.
-Original Message-
From: Barney Boisvert [mailto:[EMAIL PROTECTED]
Sent: 25 February 2004 7:27 pm
To: CF-Talk
Subject: RE: Include a CFMODULE with CFHTMLHEAD?
Cheers,
barneyb
> -Original Message-
> From: [EMAIL PROTECT
One way to do it is to make cfhtmlhead work the way it should have been
originally defined... with an end tag. Here's a work around; copy this
code into a file called htmlhead.cfm in your customtags directory:
Then do this:
// js code here
// cfmodule code here
//etc
Cheers,
barneyb
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, February 25, 2004 9:06 AM
> To: CF-Talk
> Subject: Include a CFMODULE with CFHTMLHEAD?
>
> Hi everyone,
>
> I'd like to include a
Hi everyone,
I'd like to include a _javascript_ validation bunch of functions in the header using CFHTMLHEAD. Problem is, this _javascript_ is called normally using CFMODULE (Attributes have to set certain JS variables). Is there a way to include the returned contents of the CFMODULE
[Apologies if this occurs twice; I've sent it an hour ago but hasn't appeared on the list so I'm presuming it's gone down the blackhole route.]
Hi everyone,
I'd like to include a _javascript_ validation bunch of functions in the header using CFHTMLHEAD. Problem is, th
Many thanks, James, your reply will be a useful reference for the future!
Gyrus
[EMAIL PROTECTED]
work: http://www.tengai.co.uk
play: http://www.norlonto.net
PGP key available
~|
Archives: http://www.houseoffusion.com/cf_lists/in
Ah. I remember this. I wrote an internal paper for MedSeek regarding
this bug. :P
This only happens under these conditions:
1) MS Internet Explorer as the browser.
2) CFLOCATION is called AFTER CFHTMLHEAD has been called. To be really
sure, I think CFHTMLHead should not be in the same CFM
vascript">
[ ... full JS script ... ]
HTTP/1.1 200 OK
Server: Microsoft-IIS/4.0
Date: Mon, 14 Oct 2002 16:42:38 GMT
Connection: close
Content-type: text/html
*Then* the page code proper starts, with and so on. The JS code that
gets mangled and inserted at the top of the page is i
You have to double quote instead of single quote
- Original Message -
From: "Brian Thornton" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Tuesday, March 27, 2001 12:22 PM
Subject: CFHTMLHEAD
> }
> // --End Hiding Here --&
rom: "Brian Thornton" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Tuesday, March 27, 2001 1:22 PM
Subject: CFHTMLHEAD
> }
> // --End Hiding Here -->
>
> ">
>
> I get the error "Just in time compilation er
Change your double quotes to a single quote (the ones that open and close
your heading text)
- Original Message -
From: "Brian Thornton" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Tuesday, March 27, 2001 3:22 PM
Subject: CFHTMLHEAD
&
Try single quotes around your alert message.
Dan
-Original Message-
From: Brian Thornton [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, March 27, 2001 3:22 PM
To: CF-Talk
Subject: CFHTMLHEAD
">
I get the error "Just in time compilation error
An unknown attribute
Did you try a single quote?
-Original Message-
From: Brian Thornton [mailto:[EMAIL PROTECTED]]
Sent: March 27, 2001 3:22 PM
To: CF-Talk
Subject: CFHTMLHEAD
">
I get the error "Just in time compilation error
An unknown attribute 'Your' has been encounter
n" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Tuesday, March 27, 2001 15:22
Subject: CFHTMLHEAD
> }
> // --End Hiding Here -->
>
> ">
>
> I get the error "Just in time compilation error
>
> An unknow
Use single quotes in the alert() or use a custom tag to implement CFHTMLHEAD the way
it should have been done:
Save this in a file called htmlhead.cfm and change your code to:
<!-- Hide the script from old browsers --
function loadal
">
I get the error "Just in time compilation error
An unknown attribute 'Your' has been encountered at document position
(22:15) to (22:18) while processing tag CFHTMLHEAD. This tag can only take
the following attributes:
TEXT
The last successfully pars
One of the servers at my host, sentris.com, no longer seems to be parsing
CFHTMLHEAD tags.
They're running CF 4.0.0 on NT with I dunno what service packs.
I'm sure this would be solved by moving to a CF 4.5.0 box, but I don't have
confidance in my host's ability to move m
Is there an ASP equivalent to cfhtmlhead or cf_htmlhead??
Eric
~~
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
> In Application.cfm I call CFHTMLHEAD to link in my style sheet.
> I have a page which uses CFCONTENT and CFHEADER to write a CSV file.
> The problem is that the tag gets written to this CSV file.
> Obviously I only want it written to HTML pages.
You'll have to put your CF
In Application.cfm I call CFHTMLHEAD to link in my style sheet.
I have a page which uses CFCONTENT and CFHEADER to write a CSV file.
The problem is that the tag gets written to this CSV file.
Obviously I only want it written to HTML pages.
Anyone know how I can avoid this?
Thanks.
-David
82 matches
Mail list logo