Mark Wheeler wrote:
This may be a very simple question, I have a site page on our site
that is visited daily by our users, and the link is on an email sent
out periodically, so that I do not have to put the objectid in the url
can I use the Nav Alias of the node to reference this page?
Last year I was discussing this same topic with the Marketing department
of one of my clients. They wanted to be able to print short marketable
links for print and TV ads). After looking at how Macromedia.com does
their's I came up with the solution to use "domain/go/alias".
With the help of Chris Kent we worked out the code to get it working in
Farcry (without making core code changes). Then with a slight
modification to FriendlyURLs (thanks to Spike) the code was complete.
The modification could easily be implimented into Farcry core. I sent
email requests and code samples to Geoff Bowers back in Feb 2005, but it
never turned anything up (he said he was interested, but that it'd have
to wait for build 240. I'm guessing thats not gonna happen :). Right
now they're a little overwhelmed with all of the Glamour changes where
new features like this likely need to be put on hold for a while).
An example can be seen here (http://www.midhosp.org/go/midHome). I have
it setup so that anytime the buildlink tag sees that the destination
navigation node has an alias, it uses this new method (otherwise it uses
domain/go/uuid). Of couse anything after that is considered variables
and variable answers (go/uuid/var1/ans1/var2/ans2) keeping the SES happy.
If you'd like the code I'd be happy to share it (email me off list).
Also, you'll need the new version of FriendlyURLs. I've asked Spike to
update his site with the newer version (which is backwards compatable).
Hopefully he'll get that all set soon.
-Jeff C.
P.S. Months later the marketing department is ecstatic. They can
simply take any page and give it an alias. Within seconds they have a
simple link that is ready for marketable material.
---
You are currently subscribed to farcry-dev as: [email protected]
To unsubscribe send a blank email to [EMAIL PROTECTED]
Aussie Macromedia Developers: http://lists.daemon.com.au/