I believe in your custom tag, you need to set the variables in the 'caller' scope (e.g. caller.mytitle) to be accessed in the calling template scope. If I recall correctly...
Brook -----Original Message----- From: Joel Black [mailto:j...@blackbeardesign.com] Sent: November-18-10 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 custom tag and pull that out...but no success there either. What if i set an application variable? Im gonna try it. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:339388 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm