You can replace url's on the fly, or resave it to the database with the
following...
You can also put a around the whole thing and do it for every
record in the database
SELECT PageDataField FROM tbl_gallery
WHERE ID =
http://"; , "http://phat-links.com/page.cfm?goto=","ALL";)#>
#newPag
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
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).
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
Confid
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 all
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 made
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 "
tags.
Let's say your user put in "http://blah.com?name=joe J. Smith">Joe
J. Smith. What you want to appear is actually
http://blah.cfm?nameJoe%2
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,
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 urlencodedform
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
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
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 t
Ok, this is what you want to do. I ran this test code and I get all your
second level url variables.
http://go.reuters.com/newsArticle.jhtml?type=healthNews&storyID=12037965&src=eDialog/GetContent')#">Test
--
Ian Skinner
Web Programmer
BloodSource
www.BloodSource.org
Sacramento,
Hi Tuan
Maybe something like this would help,
#i#
#i2#
This is only rough but im sure you get the jist, obviously you would need to
pretty it up and the var set would be your query string instead, i mean
there are numerous paths you could take, this was the route I initially
tho
My page would actually have this as the link
http://someurlhere.com/disclaimer.cfm?destination=http://go.reuters.com/newsArticle.jhtml?type=healthNews&storyID=12037965&src=eDialog/GetContent
The suspect the trouble is the second '?' character. It should not be allowed.
The simplest solution, b
es you've explicitly set (such as with cfparam) or
>removed won't be accounted for.
>- You need to care for instances when there is a key but no value.
>"key1=&key2=a"
>
>Why do you need to see your URL variables in their original case?
>
>
>
>
&
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?
>
>
>
~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:23962
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
= #url[urlVar]#
>
> 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, reall
#urlVar# = #url[urlVar]#
>
>
> 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?
>
>
>
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=blahblah&storyID=1234
Now if I do the following
e 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?
~
name#')#
From: "Bryan Stevenson" <[EMAIL PROTECTED]>
Reply-To: [EMAIL 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??
.com
-
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, 200
#i#
-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 to loop over
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
26 matches
Mail list logo