I'm sure someone must have tried this before me - I can't figure out a way
to do it.
I have a facility on my forum which allows people to select a poem from the
library, and insert a link to it into the message text. So when someone
reads the message, they can click on the link and be taken directly to that
poem's page.
The problem with this is that obviously all links need to have urltoken
appended to them. However I can't find a way to insert the variable name
into the url that gets saved in the message text, then get CF to actually
EVALUATE it when the message is read.
This is what the links look like when they get embedded:
<a href="#self#?fuseaction=lib.selection&poem_id=914&#urltoken#">
obviously I'm escaping the hashes - so it saves exactly the above text into
the database. But when I display it is displays exactly like that too -
keeping the hashes in the url, so the link is treated as an anchor!!!
I need it to read these variables when the message is displayed becsause
obviously the variable values wil change from person to person.
Any ideas?
Toby Tremayne
Code Poet and Zen Master of the Heavy Sleep
Show Ads Interactive
359 Plummer St
Port Melbourne
VIC 3207
P +61 3 9245 1247
F +61 3 9646 9814
ICQ UIN 13107913
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists