we did this once with a project where anytime the client put into the editor
$$NOW$$ the token was replaced with a #now()#

Basically all you would need to do is use a  replace() around the stObj.body
in your display handler to replace the token.


replacenocase(stObj.body,"<name>",url.name,"ALL")

I would not use <>, but rather a symbol like $,%,@ and I tend to double them
up so they really stick out.

I guess it should be OK.  Anyone else?

-- 
Regards,
Michael J. Sammut
____________________________________________________________________
F O U R  E Y E S  P R O D U C T I O N S

think | plan | create :: web site design & development  :: NYC

E. [EMAIL PROTECTED]  |  T: 718.254.9557 ext. 101  |  F: 718.254.0399

W. http://www.foureyes.com
"Nick DeSteffen" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]

Hello,

I am wondering if it is possible to pass a parameter such as a user name to
FarCry so that it could be used within the body to display a different
message.  The URL could be something like this:
http://localhost/WBFarcry/index.cfm?objectid=7AE30306-7E97-95DF-52E9B5F1575038B0&Name=Nick

That way when the body message is displayed it would be something like this:

Hello Nick!
Welcome to our web site....etc.

In the editor it might look something like this:

Hello <Name>!
Welcome to our web site...etc.

Is this capability already built into FarCry or would it have to be
modified?  If it had to be modified how difficult would it be to do so?

Thank you very much!!

Nick DeSteffen
Wausau Benefits Web Development Group
[EMAIL PROTECTED]
(715) 841-6036

This communication is intended only for the recipient(s) named above; may be
confidential and/or legally privileged; and, must be treated as such in
accordance with state and federal laws. If you are not the intended
recipient, you are hereby notified that any use of this communication, or
any of its contents, is prohibited. If you have received this communication
in error, please return it to Nick DeSteffen and delete the message from
your computer system.



---
You are currently subscribed to farcry-dev as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]

MXDU2004 + Macromedia DevCon AsiaPac + Sydney, Australia
http://www.mxdu.com/ + 24-25 February, 2004

Reply via email to