Re: URL Structure

2006-05-11 Thread Casey Dougall
You can replace url's on the fly, or resave it to the database with the following... You can also put a cfloop around the whole thing and do it for every record in the database !--- GET ALL PAGES WITH BAD URLS FROM DATABASE --- CFQUERY Name=SetURL datasource=#Application.Datasource# SELECT

Re: URL Structure

2006-05-10 Thread Tuan Tran
Yes, the user can view the source code which would take them out of WYSIWYG mode. Then they would have to sniff thru all the HTML to find the link and wrap it w/ coldfusion code before they save the document. This is precisely something I don't want them to do because they are not developers,

RE: URL Structure

2006-05-10 Thread Mark A Kruger
Tuan, I'm not sure what you are trying to do, but here's a trick that allows you to manipulate links after the facts, as long as they are inside of a/ tags. Let's say your user put in a href=http://blah.com?name=joe J. SmithJoe J. Smith/a. What you want to appear is actually a

RE: URL Structure

2006-05-10 Thread Ian Skinner
So I'm basically trying to find a way to have the disclaimer page extract the complete URL from the referring page (which is the page the content editor makes). Do you have this disclaimer page? Or are you asking how to substitute a disclaimer page when a user clicks on a link in content

RE: URL Structure

2006-05-10 Thread Snake
That is def v cool mark, I had never even thought of doing that :-) -Original Message- From: Mark A Kruger [mailto:[EMAIL PROTECTED] Sent: 10 May 2006 18:28 To: CF-Talk Subject: RE: URL Structure Tuan, I'm not sure what you are trying to do, but here's a trick that allows you

RE: URL Structure

2006-05-10 Thread Ian Skinner
Now that is rather interesting. I can see some use for that behavior. -- Ian Skinner Web Programmer BloodSource www.BloodSource.org Sacramento, CA - | 1 | | - Binary Soduko | | | - C code. C code run. Run code run. Please! - Cynthia Dunning

Re: URL Structure

2006-05-10 Thread Tuan Tran
I do already have a disclaimer page. Lets say I have a page called content.cfm and a page called disclaimer.cfm. The user will use a CMS tool to write the content for the content.cfm page. They have no control over the layout of the page (headers, navigation, footers, or anything like that).

RE: URL Structure

2006-05-10 Thread Mark A Kruger
Tuan, I believe the suggestion I made earlier would work for you. -mark -Original Message- From: Tuan Tran [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 10, 2006 2:15 PM To: CF-Talk Subject: Re: URL Structure I do already have a disclaimer page. Lets say I have a page called

Re: URL Structure

2006-05-09 Thread Tuan Tran
The users simply uses the CMS tool and clicks on the create hyperlink button and copys and paste the link in the field. The user never sees any html. The problem I have with this is I'm not the one putting these links on the page. There are users who uses a content management system that

RE: URL Structure

2006-05-09 Thread Ian Skinner
The users simply uses the CMS tool and clicks on the create hyperlink button and copys and paste the link in the field. The user never sees any html. What happens after the field is submitted? I would presume that there would be an opportunity to wrap the submitted field in an

Re: URL Structure

2006-05-08 Thread Tuan Tran
The problem I have with this is I'm not the one putting these links on the page. There are users who uses a content managment system that enters in the content for the website. I want to avoid making the users use Coldfusion code b/c they don't understand it and it will complicate things for

RE: URL Structure

2006-05-08 Thread Ian Skinner
The problem I have with this is I'm not the one putting these links on the page. There are users who uses a content management system that enters in the content for the website. I want to avoid making the users use ColdFusion code b/c they don't understand it and it will complicate things for

URL Structure

2006-05-05 Thread Tuan Tran
[urlVar]#/cfoutputbr / /cfloop My problem is the name element doesn't keep the same case as the actualy url variable name. Src and storyID gets displayed as SRC and STORYID in the output. How can I keep the case the same when I loop thru the URL structure

RE: URL Structure

2006-05-05 Thread Everett, Al \(NIH/NIGMS\) [C]
? -Original Message- From: Tuan Tran [mailto:[EMAIL PROTECTED] Sent: Friday, May 05, 2006 11:35 AM To: CF-Talk Subject: URL Structure Hi Everybody, I'm trying to get the name/value pair from url variables. Lets say I have a url like this: http://someurlhere.com?Src=blahblahstoryID=1234 Now if I do

Re: URL Structure

2006-05-05 Thread Raymond Camden
]#/cfoutputbr / /cfloop My problem is the name element doesn't keep the same case as the actualy url variable name. Src and storyID gets displayed as SRC and STORYID in the output. How can I keep the case the same when I loop thru the URL structure

RE: URL Structure

2006-05-05 Thread Dave Watts
]#/cfoutputbr / /cfloop My problem is the name element doesn't keep the same case as the actualy url variable name. Src and storyID gets displayed as SRC and STORYID in the output. How can I keep the case the same when I loop thru the URL structure? You can't, really. CF doesn't think

RE: URL Structure

2006-05-05 Thread Robertson-Ravo, Neil (RX)
I don't think you can - CF has always uppercased the Keys. -Original Message- From: Tuan Tran [mailto:[EMAIL PROTECTED] Sent: 05 May 2006 16:35 To: CF-Talk Subject: URL Structure Hi Everybody, I'm trying to get the name/value pair from url variables. Lets say I have a url like

Re: URL Structure

2006-05-05 Thread Nick Tong - TalkWebSolutions.co.uk
as SRC and STORYID in the output. How can I keep the case the same when I loop thru the URL structure? ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:239620 Archives: http://www.houseoffusion.com/cf_lists

Re: URL Structure

2006-05-05 Thread Tuan Tran
] Sent: Friday, May 05, 2006 11:35 AM To: CF-Talk Subject: URL Structure Hi Everybody, I'm trying to get the name/value pair from url variables. Lets say I have a url like this: http://someurlhere.com?Src=blahblahstoryID=1234 Now if I do the following I'll get the name/value pair of the URL vars

RE: URL Structure

2006-05-05 Thread Ian Skinner
My page would actually have this as the link http://someurlhere.com/disclaimer.cfm?destination=http://go.reuters.com/newsArticle.jhtml?type=healthNewsstoryID=12037965src=eDialog/GetContent The suspect the trouble is the second '?' character. It should not be allowed. The simplest solution,

Re: URL Structure

2006-05-05 Thread Jose Diaz
Hi Tuan Maybe something like this would help, cfset ourString = Src=blahblahstoryID=1234Yahoo=hello cfloop list=#ourString# index=i delimiters= cfset ourString2 = #i# cfoutput#i#/cfoutput/br cfloop list=#ourString2# index=i2 delimiters== cfoutput#i2#/cfoutput/br /cfloop hr /br /cfloop

RE: URL Structure

2006-05-05 Thread Ian Skinner
Ok, this is what you want to do. I ran this test code and I get all your second level url variables. cfdump var=#url# cfoutput a href=http:url.cfm?destination=#urlEncodedFormat('http://go.reuters.com/newsArticle.jhtml?type=healthNewsstoryID=12037965src=eDialog/GetContent')#Test/a /cfoutput

URL structure

2002-09-03 Thread Bryan Stevenson
Hey All, I'm having trouble finding a snippet to loop over the URL structure...any examples?? TIA Bryan Stevenson B.Comm. VP Director of E-Commerce Development Electric Edge Systems Group Inc. t. 250.920.8830 e. [EMAIL PROTECTED

RE: URL structure

2002-09-03 Thread Brad Roberts
cfoutput cfloop collection=#url# item=i #i# /cfloop /cfoutput -Brad -Original Message- From: Bryan Stevenson [mailto:[EMAIL PROTECTED]] Sent: Tuesday, September 03, 2002 4:16 PM To: CF-Talk Subject: URL structure Hey All, I'm having trouble finding a snippet

Re: URL structure

2002-09-03 Thread Bryan Stevenson
- Vancouver Island ColdFusion Users Group Founder Director www.cfug-vancouverisland.com - Original Message - From: Bryan Stevenson [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Tuesday, September 03, 2002 1:16 PM Subject: URL structure Hey All, I'm

Re: URL structure

2002-09-03 Thread Eric Dawson
PROTECTED] To: CF-Talk [EMAIL PROTECTED] Subject: URL structure Date: Tue, 3 Sep 2002 13:16:04 -0700 Hey All, I'm having trouble finding a snippet to loop over the URL structure...any examples?? TIA Bryan Stevenson B.Comm. VP Director of E-Commerce Development Electric Edge Systems Group Inc. t