Thats exactly right - I have a site which has 2 different urls but which have to be identical (bizarre I know, don't ask!). I would like to be able to globally set the file path and the url in the application page. Is it even possible?
Cheers simon ----- Original Message ----- From: "Gary Kraeger" <[EMAIL PROTECTED]> To: "CF-Talk" <[EMAIL PROTECTED]> Sent: Friday, October 26, 2001 2:43 PM Subject: Re: CF and Acitve edit > Simon: > > So what your saying is you don't want AE to do the full path you want to do > that on the front end. > > gary > cfdev.com > > ----- Original Message ----- > From: "Simon Whittaker" <[EMAIL PROTECTED]> > To: "CF-Talk" <[EMAIL PROTECTED]> > Sent: Friday, October 26, 2001 9:00 AM > Subject: Re: CF and Acitve edit > > > > Gary, > > > > Cheers for the reply - I should have explained myself more clearly - what > I > > am after is to be able to use it within the template ie. for images , > > instead of having a full path http://www.mysite.com/images/image.jpg > > > > I could do this: > > > > <cfset pathtoimages = "http://www.mysite.com/images"> > > > > And within the output of the page would be this. > > #pathtoimages#/image.jpg > > > > I hope I have made myself clearer. I guess what I am trying to ask is > > whether the pages that are creatdd in active edit are run through the CFML > > parser or straight through the web server to the browser > > > > > > Cheers > > > > Simon > > ----- Original Message ----- > > From: "Gary Kraeger" <[EMAIL PROTECTED]> > > To: "CF-Talk" <[EMAIL PROTECTED]> > > Sent: Friday, October 26, 2001 1:55 PM > > Subject: Re: CF and Acitve edit > > > > > > > Sure you can here is the code > > > > > > This is in my application.cfm > > > <cfset application.imgurl = > 'http://activemail.netdesign1.com/customers'> > > > <cfset application.imgpath = > > > 'd:\activemail.netdesign1.com\www\web\customers'> > > > > > > Then I pull the session.directory when they log in so every customer has > a > > > different directory > > > > > > <cf_activedit name="template" width="700" height="500" tabview="1" > > > inc="../activedit/inc/" upload="1" > > > imageurl="#application.imgurl#/#session.directory#" > > > imagepath="#application.imgpath#\#session.directory#" > > > > > > toolbar="cut,copy,paste,|,redo,undo,|,font,bold,italic,underline,|,outdent,i > > > > > > ndent,|,justifyleft,justifycenter,justifyright,bullets,|,table,image,hyperli > > > > > > nk,|,find,help,spellcheck,specialchars,||,quickformat,quickfontsize,quickfon > > > t,"> > > > <cfoutput>#data.template#</cfoutput></cf_activedit> > > > > > > > > > Gary > > > CFDEV.com > > > http://www.cfdev.com > > > > > > > > > ----- Original Message ----- > > > From: "Simon Whittaker" <[EMAIL PROTECTED]> > > > To: "CF-Talk" <[EMAIL PROTECTED]> > > > Sent: Friday, October 26, 2001 7:12 AM > > > Subject: CF and Acitve edit > > > > > > > > > > Hello there, > > > > > > > > Is it possible to use cf tags within active edit - I would like to be > > able > > > > to declare a variable within my application page (ie full path to > > > > file/image) which is then output into the page in the normal way. > > > > > > > > I hope you can help > > > > > > > > Simon > > > > > > > > > > > > > > > > > > > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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/[email protected]/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

