Re: Variable before query, rereplace or javascript to change title

2010-11-19 Thread Michael Grant
...until you need to hire five new developers in any place that isn't California. :( On Fri, Nov 19, 2010 at 11:04 AM, Gerald Guido wrote: > > >> I simply added this to my custom tag and it does just what its supposed > to! > > Yep. Reason 32,657 why CF Roxorz. > > G! > > On Fri, Nov 19, 2010 a

Re: Variable before query, rereplace or javascript to change title

2010-11-19 Thread Gerald Guido
>> I simply added this to my custom tag and it does just what its supposed to! Yep. Reason 32,657 why CF Roxorz. G! On Fri, Nov 19, 2010 at 10:24 AM, Joel Black wrote: > > Gerald, was the key. I didnt even have to savecontent > or anything else. I simply added this to my custom tag and it

Re: Variable before query, rereplace or javascript to change title

2010-11-19 Thread Michael Grant
Slightly OT, but I suspect this indicates that your app would benefit from a separation of display logic and business logic. On Fri, Nov 19, 2010 at 10:24 AM, Joel Black wrote: > > Gerald, was the key. I didnt even have to savecontent > or anything else. I simply added this to my custom tag

Re: Variable before query, rereplace or javascript to change title

2010-11-19 Thread Joel Black
Gerald, was the key. I didnt even have to savecontent or anything else. I simply added this to my custom tag and it does just what its supposed to! Never even knew this tag existed, thanks a million! ~| Order the Adobe Col

Re: Variable before query, rereplace or javascript to change title

2010-11-19 Thread Joel Black
>Your title - >#Yourvaraible# > > >This will put #pageTitle# in the head of the document. > > > >On Thu, Nov 18, 2010 at 4:05 PM, Joel Black wrote: > >> ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe

RE: Variable before query, rereplace or javascript to change title

2010-11-18 Thread Brook Davies
1:05 PM To: cf-talk Subject: Re: Variable before query, rereplace or javascript to change title Wrap the custom tag in a cfsavecontent tag at the top of the page: I tried to do this, but the query.title doesnt read the query within the save content. I also tried to set a variable within the cust

Re: Variable before query, rereplace or javascript to change title

2010-11-18 Thread Gerald Guido
Your title - #Yourvaraible# This will put #pageTitle# in the head of the document. On Thu, Nov 18, 2010 at 4:05 PM, Joel Black wrote: > > Wrap the custom tag in a cfsavecontent tag at the top of the page: > > > I tried to do this, but the query.title doesnt read the query within the > sav

Re: Variable before query, rereplace or javascript to change title

2010-11-18 Thread Joel Black
Wrap the custom tag in a cfsavecontent tag at the top of the page: I tried to do this, but the query.title doesnt read the query within the save content. I also tried to set a variable within the custom tag and pull that out...but no success there either. What if i set an application variabl

Re: Variable before query, rereplace or javascript to change title

2010-11-18 Thread Joel Black
>Wrap the custom tag in a cfsavecontent tag at the top of the page: > I gave this a try, but when I wrap it in the savecontent, its not reading the query when I put it in the title ~| Order the Adobe Coldfusion Anthology now! h

RE: Variable before query, rereplace or javascript to change title

2010-11-18 Thread Brook Davies
query, rereplace or javascript to change title I created a custom tag I can reuse, which runs a news manager. I would like to optimize it for search engines, but here is my issue: 1. The query and output are in the custom tag, which goes in the main content of the page 2. I want the news title

Re: Variable before query, rereplace or javascript to change title

2010-11-18 Thread Claude Schnéegans
>>2. I want the news title to be in the page title, but I cant put an output >>before a query that I know of No, but you can run the query before any HTML, ie : SELECT title, ... #myQuery.title# ~| Order the Adobe

Variable before query, rereplace or javascript to change title

2010-11-18 Thread Joel Black
I created a custom tag I can reuse, which runs a news manager. I would like to optimize it for search engines, but here is my issue: 1. The query and output are in the custom tag, which goes in the main content of the page 2. I want the news title to be in the page title, but I cant put an out